On 25 June 2017 at 14:47, Philipp Tomsich
<philipp.toms...@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.toms...@theobroma-systems.com>
> ---
>
>  drivers/usb/eth/r8152.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <s...@chromium.org>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to