Re: [PATCH] ntb: idt: fix error check in ntb_hw_idt.c

2020-12-06 Thread Jon Mason
On Tue, Nov 10, 2020 at 09:33:40PM +0300, Serge Semin wrote: > Hello Wang > > On Fri, Nov 06, 2020 at 05:43:31PM +0800, Wang Qing wrote: > > idt_create_dev never return NULL and fix smatch warning. > > Thanks for submitting this. For the both changes > Acked-by: Serge Semin Applied to the ntb

Re: [PATCH] ntb: idt: fix error check in ntb_hw_idt.c

2020-11-10 Thread Serge Semin
Hello Wang On Fri, Nov 06, 2020 at 05:43:31PM +0800, Wang Qing wrote: > idt_create_dev never return NULL and fix smatch warning. Thanks for submitting this. For the both changes Acked-by: Serge Semin They are mostly unrelated though. If they weren't trivial I'd have suggested to split them up

[PATCH] ntb: idt: fix error check in ntb_hw_idt.c

2020-11-06 Thread Wang Qing
idt_create_dev never return NULL and fix smatch warning. Signed-off-by: Wang Qing --- drivers/ntb/hw/idt/ntb_hw_idt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/ntb/hw/idt/ntb_hw_idt.c b/drivers/ntb/hw/idt/ntb_hw_idt.c index d54261f..e7a4c2a ---