* [PATCH] platform/x86/intel/vsec: Use bool for run_once
@ 2026-08-15 9:21 Thorsten Blum
2026-09-17 15:03 ` Ilpo Järvinen
0 siblings, 1 reply; 2+ messages in thread
From: Thorsten Blum @ 2026-08-15 9:21 UTC (permalink / raw)
To: David E. Box, Hans de Goede, Ilpo Järvinen
Cc: Thorsten Blum, platform-driver-x86, linux-kernel
Use bool for run_once in intel_vsec_pci_init().
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
---
drivers/platform/x86/intel/vsec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/platform/x86/intel/vsec.c b/drivers/platform/x86/intel/vsec.c
index 5ab2215fdd7f..f78438d5c936 100644
--- a/drivers/platform/x86/intel/vsec.c
+++ b/drivers/platform/x86/intel/vsec.c
@@ -669,7 +669,7 @@ static int intel_vsec_pci_init(struct pci_dev *pdev)
{
struct vsec_priv *priv = pci_get_drvdata(pdev);
const struct intel_vsec_platform_info *info = priv->info;
- int run_once = 0;
+ bool run_once = false;
bool found_any = false;
int num_caps;
@@ -682,7 +682,7 @@ static int intel_vsec_pci_init(struct pci_dev *pdev)
if (!run_once) {
intel_vsec_skip_missing_dependencies(pdev);
- run_once = 1;
+ run_once = true;
}
}
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] platform/x86/intel/vsec: Use bool for run_once
2026-08-15 9:21 [PATCH] platform/x86/intel/vsec: Use bool for run_once Thorsten Blum
@ 2026-09-17 15:03 ` Ilpo Järvinen
0 siblings, 0 replies; 2+ messages in thread
From: Ilpo Järvinen @ 2026-09-17 15:03 UTC (permalink / raw)
To: David E. Box, Hans de Goede, Thorsten Blum
Cc: platform-driver-x86, linux-kernel
On Sat, 15 Aug 2026 11:21:39 +0200, Thorsten Blum wrote:
> Use bool for run_once in intel_vsec_pci_init().
Thank you for your contribution, it has been applied to my local
review-ilpo-next branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-next branch only once I've pushed my
local branch there, which might take a while.
FYI [if applicable to your patch], as per Linus' policy change, also
fixes are mostly routed through for-next unless the fix is for a
commit introduced in the most recent cycle or is clearly a regression
fix.
The list of commits applied:
[1/1] platform/x86/intel/vsec: Use bool for run_once
commit: 1ce2e8ee4ca47c0d4b788fbc791cdf82fcc98ef5
--
i.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-09-17 15:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-15 9:21 [PATCH] platform/x86/intel/vsec: Use bool for run_once Thorsten Blum
2026-09-17 15:03 ` Ilpo Järvinen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®