Re: [PATCH] Staging: rtlwifi: Remove NULL pointer dereference

2017-10-13 Thread Shreeya Patel
On Thu, 2017-10-12 at 13:16 +1100, Tobin C. Harding wrote: > On Wed, Oct 11, 2017 at 06:02:47PM +0530, Shreeya Patel wrote: > > > > On Tue, 2017-10-10 at 11:06 +1100, Tobin C. Harding wrote: > > > > > > On Tue, Oct 10, 2017 at 02:48:58AM +0530, Shreeya Patel wrote: > > > > > > > > > > > > Remov

Re: [PATCH] Staging: rtlwifi: Remove NULL pointer dereference

2017-10-11 Thread Tobin C. Harding
On Wed, Oct 11, 2017 at 06:02:47PM +0530, Shreeya Patel wrote: > On Tue, 2017-10-10 at 11:06 +1100, Tobin C. Harding wrote: > > On Tue, Oct 10, 2017 at 02:48:58AM +0530, Shreeya Patel wrote: > > > > > > Remove NULL pointer dereference as it results in undefined > > > behaviour, and will usually le

Re: [PATCH] Staging: rtlwifi: Remove NULL pointer dereference

2017-10-11 Thread kbuild test robot
Hi Shreeya, [auto build test WARNING on staging/staging-testing] [also build test WARNING on v4.14-rc4 next-20171009] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Shreeya-Patel/Staging-rtlwifi

Re: [PATCH] Staging: rtlwifi: Remove NULL pointer dereference

2017-10-11 Thread Shreeya Patel
On Tue, 2017-10-10 at 11:06 +1100, Tobin C. Harding wrote: > On Tue, Oct 10, 2017 at 02:48:58AM +0530, Shreeya Patel wrote: > > > > Remove NULL pointer dereference as it results in undefined > > behaviour, and will usually lead to a runtime error. > The diff does not show any pointer dereference s

Re: [PATCH] Staging: rtlwifi: Remove NULL pointer dereference

2017-10-09 Thread Tobin C. Harding
On Tue, Oct 10, 2017 at 02:48:58AM +0530, Shreeya Patel wrote: > Remove NULL pointer dereference as it results in undefined > behaviour, and will usually lead to a runtime error. The diff does not show any pointer dereference so it is hard to understand what you are trying to do with this patch.

[PATCH] Staging: rtlwifi: Remove NULL pointer dereference

2017-10-09 Thread Shreeya Patel
Remove NULL pointer dereference as it results in undefined behaviour, and will usually lead to a runtime error. Signed-off-by: Shreeya Patel --- drivers/staging/rtlwifi/base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtlwifi/base.c b/drivers/staging/rtl