Re: [PATCH] can: mcp251x: add error check when wq alloc failed

2019-06-25 Thread Sean Nyekjaer
On 25/06/2019 16.03, Willem de Bruijn wrote: On Tue, Jun 25, 2019 at 8:51 AM Weitao Hou wrote: add error check when workqueue alloc failed, and remove redundant code to make it clear Signed-off-by: Weitao Hou Acked-by: Willem de Bruijn Tested-by: Sean Nyekjaer

Re: [PATCH] can: mcp251x: add error check when wq alloc failed

2019-06-25 Thread Willem de Bruijn
On Tue, Jun 25, 2019 at 8:51 AM Weitao Hou wrote: > > add error check when workqueue alloc failed, and remove > redundant code to make it clear > > Signed-off-by: Weitao Hou Acked-by: Willem de Bruijn

[PATCH] can: mcp251x: add error check when wq alloc failed

2019-06-25 Thread Weitao Hou
add error check when workqueue alloc failed, and remove redundant code to make it clear Signed-off-by: Weitao Hou --- drivers/net/can/spi/mcp251x.c | 49 --- 1 file changed, 22 insertions(+), 27 deletions(-) diff --git a/drivers/net/can/spi/mcp251x.c b/drivers/ne