]> git.baikalelectronics.ru Git - kernel.git/commit
ethtool: Remove trailing semicolon for static inline
authorFlorian Fainelli <f.fainelli@gmail.com>
Sat, 4 Aug 2018 21:20:40 +0000 (14:20 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 Aug 2018 21:56:23 +0000 (14:56 -0700)
commit72c13a94a9c8529742b977193074b727ad90e8e9
treed2c1b3700b5931d941daf11bb03a3fe38a90239b
parenta9bb7411b4e4f7637051adbcd18a64b49a587cfd
ethtool: Remove trailing semicolon for static inline

Android's header sanitization tool chokes on static inline functions having a
trailing semicolon, leading to an incorrectly parsed header file. While the
tool should obviously be fixed, also fix the header files for the two affected
functions: ethtool_get_flow_spec_ring() and ethtool_get_flow_spec_ring_vf().

Fixes: 91daa18269a8 ("ethtool: Add helper routines to pass vf to rx_flow_spec")
Reporetd-by: Blair Prescott <blair.prescott@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/ethtool.h