[kbuild-all] Re: [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...

Chen, Rong A rong.a.chen at intel.com
Wed Apr 27 04:38:00 PDT 2022



On 4/26/2022 3:08 PM, Arnd Bergmann wrote:
> 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

Hi Arnd, Krzysztof,

Sorry for the noise, We have added the "pragma-messages" warnings to 
ignore list.

Best Regards,
Rong Chen



More information about the linux-arm-kernel mailing list