lkml.org 
[lkml]   [2020]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: linux-next: build warnings after merge of the usb tree
On Tue, Mar 17, 2020 at 8:57 AM Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Hi all,
>
> After merging the usb tree, today's (actually yesterday's) linux-next
> build (powerpc allyesconfig) produced these warnings:
>
> ./usr/include/linux/usb/raw_gadget.h:74:12: warning: 'usb_raw_io_flags_zero' defined but not used [-Wunused-function]
> 74 | static int usb_raw_io_flags_zero(__u16 flags)
> | ^~~~~~~~~~~~~~~~~~~~~
> ./usr/include/linux/usb/raw_gadget.h:69:12: warning: 'usb_raw_io_flags_valid' defined but not used [-Wunused-function]
> 69 | static int usb_raw_io_flags_valid(__u16 flags)
> | ^~~~~~~~~~~~~~~~~~~~~~
>
> Introduced by commit
>
> f2c2e717642c ("usb: gadget: add raw-gadget interface")
>
> Missing "inline" n a header file?

Hi Stephen,

Yes, same issue as reported here:
https://github.com/ClangBuiltLinux/linux/issues/934

Thanks for the report!

Greg, should I send a new version with the fix right now, or is it OK
to wait until we get comments from Felipe/Alan and then send a new
version?

\
 
 \ /
  Last update: 2020-03-17 14:47    [W:0.248 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site