Re: [PATCH] fpga: dfl: add missing platform_device_put in build_info_create_dev

2020-11-25 Thread Qinglang Miao
在 2020/11/25 18:06, Wu, Hao 写道: Subject: [PATCH] fpga: dfl: add missing platform_device_put in build_info_create_dev platform_device_put is missing when it fails to set fdev->id. Set a temp value to do sanity check. will this case be covered already by build_info_free()? Hao Yes, you

RE: [PATCH] fpga: dfl: add missing platform_device_put in build_info_create_dev

2020-11-25 Thread Wu, Hao
> Subject: [PATCH] fpga: dfl: add missing platform_device_put in > build_info_create_dev > > platform_device_put is missing when it fails to set fdev->id. Set > a temp value to do sanity check. will this case be covered already by build_info_free()? Hao > > Fixes:

Re: [PATCH] fpga: dfl: add missing platform_device_put in build_info_create_dev

2020-11-25 Thread kernel test robot
Hi Qinglang, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v5.10-rc5 next-20201124] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as

[PATCH] fpga: dfl: add missing platform_device_put in build_info_create_dev

2020-11-24 Thread Qinglang Miao
platform_device_put is missing when it fails to set fdev->id. Set a temp value to do sanity check. Fixes: 543be3d8c999 ("fpga: add device feature list support") Reported-by: Hulk Robot Signed-off-by: Qinglang Miao --- drivers/fpga/dfl.c | 9 ++--- 1 file changed, 6 insertions(+), 3