Re: [PATCH] evaluate: externally_visible functions don't need a declaration

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

 



On Wed, Mar 27, 2019 at 09:10:38PM +0100, Jann Horn wrote:
> sparse warns for non-static functions that don't have a separate
> declaration. The kernel contains several such functions that are marked
> as __attribute__((externally_visible)) to mark that they are called from
> assembly code. Assembly code doesn't need a header with a declaration to
> call a function. Therefore, suppress the warning for functions with
> __attribute__((externally_visible)).

Yes, it makes sense, pushed.

Thanks,
Luc Van Oostenryck 



[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