Re: [PATCH 1/1] net: i40e: avoid null pointer dereference

2016-05-19 Thread David Miller
From: Heinrich Schuchardt Date: Tue, 17 May 2016 22:41:33 +0200 > In function i40e_debug_aq parameter desc is assumed to be > possibly NULL. Do not dereference it before checking the > value. > > Fixes: f905dd62be88 ("i40e/i40evf: add max buf len to aq debug print helper") >

[PATCH 1/1] net: i40e: avoid null pointer dereference

2016-05-17 Thread Heinrich Schuchardt
In function i40e_debug_aq parameter desc is assumed to be possibly NULL. Do not dereference it before checking the value. Fixes: f905dd62be88 ("i40e/i40evf: add max buf len to aq debug print helper") Signed-off-by: Heinrich Schuchardt ---