summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2016-10-18 02:35:49 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-25 10:59:48 +0300
commitef5aa934cf031ef9525b29e35c5d381698d55ca5 (patch)
treec9df5e2757799fbbf9c36fa5d24cdfd65b2a3d50 /scripts
parentd298ec65803b48a764ae9ccf2ed2238669a4d02b (diff)
downloadlinux-ef5aa934cf031ef9525b29e35c5d381698d55ca5.tar.xz
staging: rts5208: rtsx.c: Fix invalid use of sizeof in rtsx_probe()
sizeof() when applied to a pointer typed expression gives the size of the pointer, not that of the pointed data. Fixes: 2eb9d8cbb3c3 ("staging: rts5208: rtsx.c: Alloc sizeof struct") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions