summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorManinder Singh <maninder1.s@samsung.com>2015-07-16 09:25:33 +0530
committerKalle Valo <kvalo@qca.qualcomm.com>2015-07-24 10:47:32 +0300
commit19be9e9a7ac7e6050eab426283d2a87593cf6e82 (patch)
tree721e6fe93af088fb6684cd2f32732cd81d5377d6 /scripts/patch-kernel
parent1f5dbfbb64c92e1c22305ac2b3951d6e3cf7a9a7 (diff)
ath10k: fix wrong initialization of struct channel
chandef is initialized with NULL and on the very next line, we are using it to get channel, which is not correct. Channel should be initialized after obtaining chandef. Found by cppcheck: ath/ath10k/mac.c:839]: (error) Possible null pointer dereference: chandef Signed-off-by: Maninder Singh <maninder1.s@samsung.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions