Re: [PATCH v2] drivers/gpio/gpio-sch311x: check return value of gpiochip_remove()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Sunday 06 July 2014 02:52 PM, Alexandre Courbot wrote:
On Fri, Jul 4, 2014 at 4:02 PM, Varka Bhadram <varkabhadram@xxxxxxxxx> wrote:
This patch eliminates the following warning

drivers/gpio/gpio-sch311x.c: In function ‘sch311x_gpio_probe’:
drivers/gpio/gpio-sch311x.c:286:18: warning: ignoring return value of ‘gpiochip_remove’, declared with attribute warn_unused_result
gpiochip_remove() is to have its return value set to void in another
patch, so I'm not sure we need this one in the meantime?

I also saw that patch from abdoulaye berthe<berthe.ab@xxxxxxxxx>  .

If that is accepted its good. If not this may require.

--
Regards,
Varka Bhadram

--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux