Message ID | 20240119132032.106053-1-abbotti@mev.co.uk |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-31199-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2bc4:b0:101:a8e8:374 with SMTP id hx4csp1004975dyb; Fri, 19 Jan 2024 05:28:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IFmRLmgY37PBi/KqeDoaRiCoEr21BcYUXb734fEtPERk4oX2nLsOeZFbiTfJPwq5pBOih3l X-Received: by 2002:ac2:4f8c:0:b0:50e:5041:d852 with SMTP id z12-20020ac24f8c000000b0050e5041d852mr324166lfs.105.1705670910796; Fri, 19 Jan 2024 05:28:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705670910; cv=pass; d=google.com; s=arc-20160816; b=m8NnqmfYR7qrwTy2ywIieewvX/3s7qN+RMSuIN7pqqlcF1v6ZtdOKAy/+QyqWfPpbZ 2lcBcyi1lhCcQqF9APE5cJtl8caC172I1VtxGbgiLjDqzYQaV5yvF1UzZn9EGXMTFk/C 7lZeP3ySEbdeFLxHie6tIqlEhm1dsf03YLCN4pspl6JvKyCuxyipSydMaIHr2zFXIKBj KCMKHF5ptWSnI+TWNADg/2GYjMSF5r/AMU+RbXLUbkEbaHUo55v6Q/JoHbfgBTC3DYgl m3B/g1Evsv87vBNrd4WRw/hfkFy1SANI6RON5HFWsbzDqDvz+s+4Wzfy2VqETSXJLzNH EgeQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=ZDpvDeLI375nrlJcfld/pKmknWZhaoeegXOkNGQ8FCo=; fh=OpBHs7vkzjtwS5V6+I1dwJjtF/pWWsvqrEBIekBhsSY=; b=Lg8yU7PJy6w9TaWPlkiOeFmxh7I1Mb3QcqnMUiFI8j4t/MN7lFCZzTMGllo/YTL4eB BPgPZ3KUNITD+Wb7z9xZe0RDyN/B9EkiMvThmkCIqUtUJ2/xgRFzM4n1O9cl8PUmDlrW wW/osKtbzz1W6XXZHRXSPbYyjgCxWNyVklDdqijG5wjs+Szhm9BN+uEp7iy0QyLgG34j L8a5BYnGpS6N6EoUk4kbm+vIebHJLb/eJNtlfZ0GXNA9iAXPwx6zE9hn3k78ZAb/IwAy N74Qb4zn4iRwuspaIGABPNZEH5MTM+Cev6swPztKfm++auWnNBtVJf7x4R1pNUp6Bogv 0YHQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mev.co.uk header.s=20221208-6x11dpa4 header.b=FuSzIgl6; arc=pass (i=1 spf=pass spfdomain=mev.co.uk dkim=pass dkdomain=mev.co.uk dmarc=pass fromdomain=mev.co.uk); spf=pass (google.com: domain of linux-kernel+bounces-31199-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31199-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mev.co.uk Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id b18-20020a0564021f1200b0055a073120eesi1807943edb.435.2024.01.19.05.28.30 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jan 2024 05:28:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-31199-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@mev.co.uk header.s=20221208-6x11dpa4 header.b=FuSzIgl6; arc=pass (i=1 spf=pass spfdomain=mev.co.uk dkim=pass dkdomain=mev.co.uk dmarc=pass fromdomain=mev.co.uk); spf=pass (google.com: domain of linux-kernel+bounces-31199-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31199-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mev.co.uk Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 686A81F228CD for <ouuuleilei@gmail.com>; Fri, 19 Jan 2024 13:28:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 049B753814; Fri, 19 Jan 2024 13:26:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mev.co.uk header.i=@mev.co.uk header.b="FuSzIgl6" Received: from smtp118.iad3a.emailsrvr.com (smtp118.iad3a.emailsrvr.com [173.203.187.118]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C58CC52F7D for <linux-kernel@vger.kernel.org>; Fri, 19 Jan 2024 13:26:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=173.203.187.118 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705670816; cv=none; b=pf4x42IgPEqCdsynnB/V+TPfn4z5MdtNvwRBijvEHokSXxbB+Q/SjGazTXqkKMq8jGv3lxdfK9uSmPj3vCiy1QNwefmFuzB4TMU74AI4pYDRXsNDusCE/cL7RwpqD73SjhwAejWfLO/wdpRm93blmWagTwfcXjoIhapCfruaFtI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705670816; c=relaxed/simple; bh=jn/3OKrZKPHfNR0rB1W2kg5Sp1mhbhjQaG/9nKadyv0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=coU6p3ExiJ1j4oGmFU5zr22uCQw6qM8MmwDaSIxHWMXmEZKQgRlbSSuEf8DD+C/vifkibRlrkGj5n0yUwPH5Wu/Z7nUGAgnrKKgCFXXjfKWmQcHhIKvaUCzv0Ej34uEpT6WFP+k1eLB6AkwObk6l+1ihgcl6VR3X9v4x/MLIL1A= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mev.co.uk; spf=pass smtp.mailfrom=mev.co.uk; dkim=pass (1024-bit key) header.d=mev.co.uk header.i=@mev.co.uk header.b=FuSzIgl6; arc=none smtp.client-ip=173.203.187.118 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mev.co.uk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mev.co.uk DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mev.co.uk; s=20221208-6x11dpa4; t=1705670447; bh=jn/3OKrZKPHfNR0rB1W2kg5Sp1mhbhjQaG/9nKadyv0=; h=From:To:Subject:Date:From; b=FuSzIgl6UN+YVDJ2b6NGOug1Zemi2vCxvaUeodV0ab73b1FIMVDcQQ4P8PnDYE/os I06VTASl2uG6MsYb5q8dlkgTblbV5lVdY755482iEvy2TGS/Pd81LfIuj14NKSPs2r Dwg37rwXhZmmE66ca7CRhdzi8wfuJQkoDuPSdIqo= X-Auth-ID: abbotti@mev.co.uk Received: by smtp23.relay.iad3a.emailsrvr.com (Authenticated sender: abbotti-AT-mev.co.uk) with ESMTPSA id C2EFF24EDE; Fri, 19 Jan 2024 08:20:46 -0500 (EST) From: Ian Abbott <abbotti@mev.co.uk> To: Matt Hsiao <matt.hsiao@hpe.com> Cc: Arnd Bergmann <arnd@arndb.de>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] misc: hpilo: fix inconsistent device numbers Date: Fri, 19 Jan 2024 13:20:16 +0000 Message-ID: <20240119132032.106053-1-abbotti@mev.co.uk> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Classification-ID: 5ab2b5c7-4f68-4b27-8b47-1878e9f7d96c-1-1 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788525581084689242 X-GMAIL-MSGID: 1788525581084689242 |
Series |
misc: hpilo: fix inconsistent device numbers
|
|
Message
Ian Abbott
Jan. 19, 2024, 1:20 p.m. UTC
There is a logical bug in the use of device numbers in the hpilo driver. The bug does not actually occur because the maximum number of supported iLO devices is currently fixed at 1. Therefore, it's probably not worth fixing in the "stable" kernel series. Patch 1 fixes the bug. Patch 2 just renames a variable for clarity. 1) misc: hpilo: fix inconsistent device numbers 2) misc: hpilo: rename device creation loop variable drivers/misc/hpilo.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)