
7 Jul
2017
7 Jul
'17
5:57 a.m.
On 25 June 2017 at 14:47, Philipp Tomsich philipp.tomsich@theobroma-systems.com wrote:
After upgrading to GCC 7.1, the duplicate const specifies in the r8152 driver trigger the following build warnings with buildman (observed on a 'buildman rockchip' test):: ../drivers/usb/eth/r8152.c:62:35: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static const struct r8152_version const r8152_versions[] = { ^~~~~
This commit fixes these by removing the duplicate 'const' specifier from the declarations.
Signed-off-by: Philipp Tomsich philipp.tomsich@theobroma-systems.com
drivers/usb/eth/r8152.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org