Re: Apply 9451c79bc39e610882bdd12370f01af5004a3c4f to linux-5.4.y

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 30, 2023 at 08:33:42AM -0700, Nathan Chancellor wrote:
> Hi Greg and Sasha,
> 
> Please consider applying commit 9451c79bc39e ("powerpc/pmac/smp: Avoid
> unused-variable warnings") to 5.4, as it resolves a build failure that
> we see building ppc64_guest_defconfig with clang due to arch/powerpc
> compiling with -Werror by default:
> 
>   arch/powerpc/platforms/powermac/smp.c:664:26: error: unused variable 'core99_l2_cache' [-Werror,-Wunused-variable]
>     664 | volatile static long int core99_l2_cache;
>         |                          ^~~~~~~~~~~~~~~
>   arch/powerpc/platforms/powermac/smp.c:665:26: error: unused variable 'core99_l3_cache' [-Werror,-Wunused-variable]
>     665 | volatile static long int core99_l3_cache;
>         |                          ^~~~~~~~~~~~~~~
>   2 errors generated.
> 
> I have verified that it applies cleanly and does not appear to have any
> direct follow up fixes, although commit a4037d1f1fc4 ("powerpc/pmac/smp:
> Drop unnecessary volatile qualifier") was in the same area around the
> same time so maybe it makes sense to take that one as well but I don't
> think it has any functional impact.

Now queued up.

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux