From: Wen Yang
This patch fixes a possible null pointer dereference in
do_load, detected by the semantic patch
deref_null.cocci, with the following warning:
drivers/staging/media/davinci_vpfe/dm365_ipipe.c:1846:25-30: ERROR: res is
NULL but dereferenced.
The following code has potential null
From: Wen Yang
The null check on &padapter->registrypriv is redundant since registrypriv
is a struct inside padapter and can never be null, so the check is always
true. we may remove it.
Signed-off-by: Wen Yang
CC: de...@driverdev.osuosl.org
CC: linux-ker...@vger.kernel.org
---