linux-next: build warnings after merge of the usb tree

From: Stephen Rothwell
Date: Tue Mar 17 2020 - 03:57:53 EST


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?

--
Cheers,
Stephen Rothwell

Attachment: pgpiLrorBTqab.pgp
Description: OpenPGP digital signature