Re: [PATCH] Staging: android: Fix timed_gpio_probe() 'ret' value in case of NULL platform_data

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

 



On Sat, Sep 14, 2013 at 02:21:03PM +0300, Elad Wexler wrote:
> From: Elad Wexler <elad.wexler@xxxxxxxxx>
> 
> 'timed_gpio_probe()' shall return -ENXIO (no such address or device) in case of NULL platform data.

Care to wrap your lines in the future?  :)

Anyway, how can platform data be NULL?  Have you sen this happy?

> -EBUSY doesn't reflect this error.

And ENXIO does?  How about -ENODEV?  What is looking at the return value
for this call?

thanks,

greg k-h
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux