usb: raw_gadget: fix compilation warnings in uapi headers
authorAndrey Konovalov <andreyknvl@google.com>
Tue, 17 Mar 2020 14:54:31 +0000 (15:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Mar 2020 15:04:49 +0000 (16:04 +0100)
commit956ae8df7fed0a2acc7ae934f24493eaeb031f62
treeb66476a41b1987e05c172b53d5e4fa8eb596b2f6
parentdf8df5e4bc37e39010cfdf5d50cf726fe08aae5b
usb: raw_gadget: fix compilation warnings in uapi headers

Mark usb_raw_io_flags_valid() and usb_raw_io_flags_zero() as inline to
fix the following warnings:

./usr/include/linux/usb/raw_gadget.h:69:12: warning: unused function 'usb_raw_io_flags_valid' [-Wunused-function]
./usr/include/linux/usb/raw_gadget.h:74:12: warning: unused function 'usb_raw_io_flags_zero' [-Wunused-function]

Reported-by: kernelci.org bot <bot@kernelci.org>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Link: https://lore.kernel.org/r/6206b80b3810f95bfe1d452de45596609a07b6ea.1584456779.git.andreyknvl@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/uapi/linux/usb/raw_gadget.h