Re: [PATCH 0/2] net: dsa: lan9303: check error value from devm_gpiod_get_optional()

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

 



On 13. nov. 2017 09:07, Phil Reid wrote:
Replaces Pan Bian <bianpan2016@xxxxxxx> patch
"net: dsa: lan9303: correctly check return value of devm_gpiod_get_optional"

Errors need to be prograted back from probe.

Note: I have only compile tested the code as I don't have the hardware.

Phil Reid (2):
   net: dsa: lan9303: make lan9303_handle_reset() a void function
   net: dsa: lan9303: check error value from devm_gpiod_get_optional()

  drivers/net/dsa/lan9303-core.c | 21 ++++++++++++---------
  1 file changed, 12 insertions(+), 9 deletions(-)


I tried this on our HW lan9303, it did not break anything.

Egil




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]