RE: [kbuild] [usb:usb-next 32/38] drivers/usb/typec/hd3ss3220.c:182 hd3ss3220_probe() warn: passing zero to 'PTR_ERR'

2019-10-07 Thread Biju Das
Hi Dan Carpenter, Thanks for the feedback. > drivers/usb/typec/hd3ss3220.c:182 hd3ss3220_probe() warn: passing zero to > 'PTR_ERR' > > On Mon, Oct 07, 2019 at 02:19:05PM +0000, Biju Das wrote: > > OK. Are you ok with the below changes? > > > > It will generate

RE: [kbuild] [usb:usb-next 32/38] drivers/usb/typec/hd3ss3220.c:182 hd3ss3220_probe() warn: passing zero to 'PTR_ERR'

2019-10-07 Thread Biju Das
Hu Dan Carpenter, Thanks for the feedback. > drivers/usb/typec/hd3ss3220.c:182 hd3ss3220_probe() warn: passing zero to > 'PTR_ERR' > > On Mon, Oct 07, 2019 at 12:36:10PM +0000, Biju Das wrote: > > > err_unreg_port: > > > typec_unregister_port(hd3ss3

RE: [kbuild] [usb:usb-next 32/38] drivers/usb/typec/hd3ss3220.c:182 hd3ss3220_probe() warn: passing zero to 'PTR_ERR'

2019-10-07 Thread Biju Das
1c48c759ef4bb9031b3347277f04484e07e27d97 > git remote add usb > https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git > git remote update usb > git checkout 1c48c759ef4bb9031b3347277f04484e07e27d97 > vim +/PTR_ERR +182 drivers/usb/typec/hd3ss3220.c > > 1c48c759ef4bb9 Bij