diff options
| author | Wei Yongjun <weiyongjun1@huawei.com> | 2016-10-18 02:35:49 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-25 10:59:48 +0300 |
| commit | ef5aa934cf031ef9525b29e35c5d381698d55ca5 (patch) | |
| tree | c9df5e2757799fbbf9c36fa5d24cdfd65b2a3d50 /scripts | |
| parent | d298ec65803b48a764ae9ccf2ed2238669a4d02b (diff) | |
| download | linux-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
