diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2016-10-17 23:35:49 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-25 09:59:48 +0200 |
commit | ef5aa934cf031ef9525b29e35c5d381698d55ca5 (patch) | |
tree | c9df5e2757799fbbf9c36fa5d24cdfd65b2a3d50 /init/Kconfig | |
parent | d298ec65803b48a764ae9ccf2ed2238669a4d02b (diff) | |
download | linux-ef5aa934cf031ef9525b29e35c5d381698d55ca5.tar.gz linux-ef5aa934cf031ef9525b29e35c5d381698d55ca5.tar.bz2 linux-ef5aa934cf031ef9525b29e35c5d381698d55ca5.zip |
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 'init/Kconfig')
0 files changed, 0 insertions, 0 deletions