diff mbox series

smccc/kvm_guest: Remove the accidental semicolon

Message ID 20250402134401.146156-1-shameerali.kolothum.thodi@huawei.com (mailing list archive)
State New
Headers show
Series smccc/kvm_guest: Remove the accidental semicolon | expand

Commit Message

Shameerali Kolothum Thodi April 2, 2025, 1:44 p.m. UTC
Fixes cocci reported warning:Unneeded semicolon

Fixes: 86edf6bdcf05 ("smccc/kvm_guest: Enable errata based on implementation CPUs")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202504020941.VEeL6nVJ-lkp@intel.com/
Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
---
 drivers/firmware/smccc/kvm_guest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Sudeep Holla April 2, 2025, 1:58 p.m. UTC | #1
On Wed, Apr 02, 2025 at 02:44:01PM +0100, Shameer Kolothum wrote:
> Fixes cocci reported warning:Unneeded semicolon
> 

There was similar patch on the list [1] few days ago.

> Fixes: 86edf6bdcf05 ("smccc/kvm_guest: Enable errata based on implementation CPUs")

^^^ Is this really necessary as they get backported as well ?

Since, KVM maintainers are in cc-ed, let me know if you guys want to pick
this ? Else I can send it as part of my firmware (ffa/scmi) fixes.
Shameerali Kolothum Thodi April 2, 2025, 2:14 p.m. UTC | #2
> -----Original Message-----
> From: Sudeep Holla <sudeep.holla@arm.com>
> Sent: Wednesday, April 2, 2025 2:58 PM
> To: Shameerali Kolothum Thodi <shameerali.kolothum.thodi@huawei.com>
> Cc: kvmarm@lists.linux.dev; linux-arm-kernel@lists.infradead.org;
> oliver.upton@linux.dev; maz@kernel.org; mark.rutland@arm.com;
> lpieralisi@kernel.org; catalin.marinas@arm.com; linux-
> kernel@vger.kernel.org
> Subject: Re: [PATCH] smccc/kvm_guest: Remove the accidental semicolon
> 
> On Wed, Apr 02, 2025 at 02:44:01PM +0100, Shameer Kolothum wrote:
> > Fixes cocci reported warning:Unneeded semicolon
> >
> 
> There was similar patch on the list [1] few days ago.

Ah.. I missed that. Please take that.
> 
> > Fixes: 86edf6bdcf05 ("smccc/kvm_guest: Enable errata based on
> > implementation CPUs")
> 
> ^^^ Is this really necessary as they get backported as well ?

Actually I was of two minds on this. Not sure.

> 
> Since, KVM maintainers are in cc-ed, let me know if you guys want to pick
> this ? Else I can send it as part of my firmware (ffa/scmi) fixes.

Thanks,
Shameer
Oliver Upton April 2, 2025, 4:43 p.m. UTC | #3
Hi Sudeep,

On Wed, Apr 02, 2025 at 02:58:06PM +0100, Sudeep Holla wrote:
> On Wed, Apr 02, 2025 at 02:44:01PM +0100, Shameer Kolothum wrote:
> > Fixes cocci reported warning:Unneeded semicolon
> > 
> 
> There was similar patch on the list [1] few days ago.
> 
> > Fixes: 86edf6bdcf05 ("smccc/kvm_guest: Enable errata based on implementation CPUs")
> 
> ^^^ Is this really necessary as they get backported as well ?

The blamed commit was introduced this release cycle so no concern about
backports.

> Since, KVM maintainers are in cc-ed, let me know if you guys want to pick
> this ? Else I can send it as part of my firmware (ffa/scmi) fixes.

I can grab the fix here in a moment, I've already got one queued up [*]
for the KVM guest driver anyway.

[*]: https://git.kernel.org/kvmarm/kvmarm/c/acfcaf90db1f

Thanks,
Oliver
Sudeep Holla April 3, 2025, 9:01 a.m. UTC | #4
On Wed, Apr 02, 2025 at 09:43:40AM -0700, Oliver Upton wrote:
> Hi Sudeep,
> 
> On Wed, Apr 02, 2025 at 02:58:06PM +0100, Sudeep Holla wrote:
> > On Wed, Apr 02, 2025 at 02:44:01PM +0100, Shameer Kolothum wrote:
> > > Fixes cocci reported warning:Unneeded semicolon
> > > 
> > 
> > There was similar patch on the list [1] few days ago.
> > 
> > > Fixes: 86edf6bdcf05 ("smccc/kvm_guest: Enable errata based on implementation CPUs")
> > 
> > ^^^ Is this really necessary as they get backported as well ?
> 
> The blamed commit was introduced this release cycle so no concern about
> backports.
> 

Ah OK, sorry didn't look at the details.

> > Since, KVM maintainers are in cc-ed, let me know if you guys want to pick
> > this ? Else I can send it as part of my firmware (ffa/scmi) fixes.
> 
> I can grab the fix here in a moment, I've already got one queued up [*]
> for the KVM guest driver anyway.
> 

Thanks!
diff mbox series

Patch

diff --git a/drivers/firmware/smccc/kvm_guest.c b/drivers/firmware/smccc/kvm_guest.c
index 5767aed25cdc..ffe9f3c013df 100644
--- a/drivers/firmware/smccc/kvm_guest.c
+++ b/drivers/firmware/smccc/kvm_guest.c
@@ -103,7 +103,7 @@  void  __init kvm_arm_target_impl_cpu_init(void)
 		target[i].midr = res.a1;
 		target[i].revidr = res.a2;
 		target[i].aidr = res.a3;
-	};
+	}
 
 	if (!cpu_errata_set_target_impl(max_cpus, target)) {
 		pr_warn("Failed to set target implementation CPUs\n");