summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/wilc_wlan.c
diff options
context:
space:
mode:
authorBenjamin Sherman2019-05-31 01:53:48 +0200
committerGreg Kroah-Hartman2019-05-31 02:22:47 +0200
commit4c1d2fc7d56cf87a0d399be69e08d5aef73802eb (patch)
tree1951191001401f29d7b2c0e1b7681c8078668889 /drivers/staging/wilc1000/wilc_wlan.c
parentstaging: rtl8723bs: core: fix warning Comparison to NULL (diff)
downloadkernel-qcow2-linux-4c1d2fc7d56cf87a0d399be69e08d5aef73802eb.tar.gz
kernel-qcow2-linux-4c1d2fc7d56cf87a0d399be69e08d5aef73802eb.tar.xz
kernel-qcow2-linux-4c1d2fc7d56cf87a0d399be69e08d5aef73802eb.zip
staging: mt7621-dma: sizeof via pointer dereference
Pass the size of a struct into kzalloc by pointer dereference. This complies with the Linux kernel coding style and removes the possibility for a bug if the pointer's type is changed. Signed-off-by: Benjamin Sherman <benjamin@bensherman.io> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_wlan.c')
0 files changed, 0 insertions, 0 deletions