msm:ipa: Fix to IPA static analysis constant null deferenced
Adding code changes to reslove IPA static analysis issue Constant NULL dereferenced by passing to other function. Change-Id: I07bd7ac42929576429fc4548cfce7d202d77364f Acked-by: Pooja Kumari <kumarip@qti.qualcomm.com> Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com> Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
This commit is contained in:
parent
c3cb559284
commit
26955f56d6
|
@ -2618,7 +2618,7 @@ int rmnet_ipa_query_tethering_stats(struct wan_ioctl_query_tether_stats *data,
|
|||
kfree(req);
|
||||
kfree(resp);
|
||||
return rc;
|
||||
} else if (reset) {
|
||||
} else if (data == NULL) {
|
||||
kfree(req);
|
||||
kfree(resp);
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue