[kbuild] [staging:staging-next 50/93] drivers/staging/wfx/debug.c:112 wfx_send_hif_msg_read() warn: maybe return -EFAULT instead of the bytes remaining?

2019-10-07 Thread Dan Carpenter
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-next head: e772cd8c9c9cd3d08715800aabaf50b771b395d9 commit: 4f8b7fabb15df3658564a98971fc67029be1815d [50/93] staging: wfx: allow to send commands to chip If you fix the issue, kindly add following tag

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 +, Biju Das wrote: > > OK. Are you ok with the below changes? > > > > It will generate a compile warning so no... :P >

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

2019-10-07 Thread Dan Carpenter
On Mon, Oct 07, 2019 at 02:19:05PM +, Biju Das wrote: > OK. Are you ok with the below changes? > It will generate a compile warning so no... :P > @@ -178,7 +178,7 @@ static int hd3ss3220_probe(struct i2c_client *client, > > hd3ss3220->role_sw =

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 +, Biju Das wrote: > > > err_unreg_port: > > > typec_unregister_port(hd3ss3220->port); > > > err_put_role: > > >

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

2019-10-07 Thread Dan Carpenter
On Mon, Oct 07, 2019 at 12:36:10PM +, Biju Das wrote: > > err_unreg_port: > > typec_unregister_port(hd3ss3220->port); > > err_put_role: > > usb_role_switch_put(hd3ss3220->role_sw); > > err_put_handle: > > fwnode_handle_put(foo bar); > > > > return ret; > > The rule behind this

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
Hello Dan, Thanks for the feedback. > -Original Message- > Subject: [kbuild] [usb:usb-next 32/38] drivers/usb/typec/hd3ss3220.c:182 > hd3ss3220_probe() warn: passing zero to 'PTR_ERR' > > [ Resending with Fixed email headers - dan ] > > tree:

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

2019-10-07 Thread Dan Carpenter
[ Resending with Fixed email headers - dan ] tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-next head: dd3fd317e2beb899cbffcf364de049b9f9a02db5 commit: 1c48c759ef4bb9031b3347277f04484e07e27d97 [32/38] usb: typec: driver for TI HD3SS3220 USB Type-C DRP port

[kbuild] Re: [brauner:debugfs_namespaces 3/5] kernel/utsname.c:108 copy_utsname() error: 'new_ns' dereferencing possible ERR_PTR()

2019-10-07 Thread Dan Carpenter
On Mon, Oct 07, 2019 at 12:05:31PM +0200, Christian Brauner wrote: > On Mon, Oct 07, 2019 at 12:57:57PM +0300, Dan Carpenter wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux.git > > debugfs_namespaces > > head: aef8406e30cf9b60c76e5de205fa77f3791e2c54 > > commit:

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

2019-10-07 Thread Dan Carpenter
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-next head: dd3fd317e2beb899cbffcf364de049b9f9a02db5 commit: 1c48c759ef4bb9031b3347277f04484e07e27d97 [32/38] usb: typec: driver for TI HD3SS3220 USB Type-C DRP port controller If you fix the issue, kindly add following

[kbuild] [brauner:debugfs_namespaces 3/5] kernel/utsname.c:108 copy_utsname() error: 'new_ns' dereferencing possible ERR_PTR()

2019-10-07 Thread Dan Carpenter
tree: https://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux.git debugfs_namespaces head: aef8406e30cf9b60c76e5de205fa77f3791e2c54 commit: fce9acb4ffd1b7b342c69f0c39d49835b7232414 [3/5] DEBUG If you fix the issue, kindly add following tag Reported-by: kbuild test robot Reported-by: