[soc:arm/multiplatform-late 13/18] arch/arm/mach-s3c/s3c24xx.c:683:9: warning: The platform is deprecated and scheduled for removal. Please reach to the maintainers of the platform and linux-samsung-soc at vger.kernel.org if you still use it.Without such feedback, the platform will be removed...

Arnd Bergmann arnd at arndb.de
Tue Apr 26 00:08:57 PDT 2022


On Tue, Apr 26, 2022 at 8:56 AM Krzysztof Kozlowski <krzk at kernel.org> wrote:
> On 26/04/2022 05:24, kernel test robot wrote:
> >
> >    arch/arm/mach-s3c/s3c24xx.c:177:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
> >            unsigned long tmp = 0;
> >                          ^
> >>> arch/arm/mach-s3c/s3c24xx.c:683:9: warning: The platform is deprecated and scheduled for removal. Please reach to the maintainers of the platform and linux-samsung-soc at vger.kernel.org if you still use it.Without such feedback, the platform will be removed after 2022. [-W#pragma-messages]
> >    #pragma message "The platform is deprecated and scheduled for removal. " \
>
> This pragma is in purpose, so -W#pragma-messages is not helpful. The
> message will stay for 1 year here and ~2 years in s3c64xx.

I don't think there is much we can do about this, from what I can
tell, this is just the way that
clang prints the message, and the kernel test robot pricked it up
because clang has the word
'warning:' in the output that gcc does not:

$ echo "#pragma message(\"message\")" | clang -xc - -c -o /dev/null
<stdin>:1:9: warning: message [-W#pragma-messages]
#pragma message("message")
        ^
1 warning generated.

$ echo "#pragma message(\"message\")" | gcc -xc - -c -o /dev/null
<stdin>:1:9: note: ‘#pragma message: message’

       Arnd



More information about the linux-arm-kernel mailing list