Re: Fwd: Noisy Sparse warnings

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

 



On Wed, Apr 18, 2018 at 11:26:48AM +0200, Aurélien Aptel wrote:
> Just forwarding a question I saw on linux-fsdevel:
> 
> | From:   Steve French <smfrench@xxxxxxxxx>
> | Date:   Wed, 4 Apr 2018 18:05:04 -0500
> | Subject: Noisy Sparse warnings
> | To:     LKML <linux-kernel@xxxxxxxxxxxxxxx>,
> |         linux-fsdevel <linux-fsdevel@xxxxxxxxxxxxxxx>
> | Sender: linux-fsdevel-owner@xxxxxxxxxxxxxxx
> | Precedence: bulk
> | List-ID: <linux-fsdevel.vger.kernel.org>
> | X-Mailing-List: linux-fsdevel@xxxxxxxxxxxxxxx
> | 
> | I have been getting the following sparse warnings repeatedly on my
> | current Ubutu (17.10) when compiling the current mainline kernel:
> | 
> | ./arch/x86/include/asm/nospec-branch.h:144:38: warning: Unknown escape '@'
> | ./include/linux/string.h:239:1: error: attribute 'gnu_inline': unknown attribute
> | 
> | I get the same sparse error whether I use the default sparse that
> | Ubuntu ships (0.5.0) or the current sparse (0.5.2-rc1)
> | 
> | Ideas?

Thanks for the report.

For the second warning, this will indeed happen with sparse-0.5.0 but
have been fixed later. It certainly shouldn't happen with sparse-0.5.1
(where sparse have been teached about 'gnu_inline') and even more so
with 0.5.2-rc1 where such warnings have been disabled by default.

For the first warning, it looks as a problem which have also been
fixed before sparse-0.5.1.

@Steve,

Can you check that you're really using a recent sparse like 0.5.1 or
0.5.2-rc1?


Regards,
-- Luc
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux