Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1484014

Re: [PATCH 6/7] mfd: omap-usb-host: Return value is not 'const int'

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [PATCH 6/7] mfd: omap-usb-host: Return value is not 'const int'
Date 2016-09-15 13:40 +0200
Message-ID <shDbk-6oz-15@gated-at.bofh.it> (permalink)
References <shCoW-5Sc-17@gated-at.bofh.it> <shCoX-5Sc-59@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thursday, September 15, 2016 11:45:20 AM CEST Lee Jones wrote:
> Change from 'const int' to just 'int'.
> 
> Cc: <robh+dt@kernel.org>
> Signed-off-by: Lee Jones <lee.jones@linaro.org>
> 

Looks good, I seem to have done the same thing. Also didn't submit,
so keep your version.

I tend to include the exact warning in the changelog, which here was

drivers/mfd/omap-usb-host.c:165:18: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]

	Arnd

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/7] mfd: Fix all W=1 warnings Lee Jones <lee.jones@linaro.org> - 2016-09-15 12:50 +0200
  [PATCH 3/7] mfd: db8500-prcmu: Remove unused *prcmu_set_ddr_opp() calls Lee Jones <lee.jones@linaro.org> - 2016-09-15 12:50 +0200
  [PATCH 7/7] mfd: cros_ec_spi: Remove unused variable 'request' Lee Jones <lee.jones@linaro.org> - 2016-09-15 12:50 +0200
  [PATCH 6/7] mfd: omap-usb-host: Return value is not 'const int' Lee Jones <lee.jones@linaro.org> - 2016-09-15 12:50 +0200
    Re: [PATCH 6/7] mfd: omap-usb-host: Return value is not 'const int' Arnd Bergmann <arnd@arndb.de> - 2016-09-15 13:40 +0200
  Re: [PATCH 0/7] mfd: Fix all W=1 warnings Arnd Bergmann <arnd@arndb.de> - 2016-09-15 13:40 +0200
  Re: [PATCH 0/7] mfd: Fix all W=1 warnings Linus Walleij <linus.walleij@linaro.org> - 2016-09-15 14:50 +0200

csiph-web