linux/drivers/staging/rts5208
Wei Yongjun ef5aa934cf 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: 2eb9d8cbb3 ("staging: rts5208: rtsx.c: Alloc sizeof struct")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-10-25 09:59:48 +02:00
..
Kconfig Staging: rts5208: Remove CONFIG_RTS5208_DEBUG option 2014-08-16 12:23:13 -07:00
Makefile staging: rts5208: Remove TRACE_RET and TRACE_GOTO macros 2015-03-26 13:16:19 +01:00
TODO
general.c staging: rts5208: add new line after declarations 2014-09-23 13:22:25 -07:00
general.h
ms.c staging: rts5208: CamelCase fix 2016-10-16 10:27:16 +02:00
ms.h staging: rts5208: ms.h: Parenthesis alignment 2016-10-16 10:27:10 +02:00
rtsx.c staging: rts5208: rtsx.c: Fix invalid use of sizeof in rtsx_probe() 2016-10-25 09:59:48 +02:00
rtsx.h staging: rts5208: Add space around operator 2016-10-16 10:26:53 +02:00
rtsx_card.c staging: rts5208: Comparison to NULL 2016-10-16 10:27:02 +02:00
rtsx_card.h staging: rts5208: Unecessary parantheses 2016-10-16 10:26:58 +02:00
rtsx_chip.c staging: rts5208: rtsx_chip.c: Long lines 2016-10-16 10:27:19 +02:00
rtsx_chip.h staging: rts5208: rtxs_chip.h: Long lines 2016-10-16 10:27:18 +02:00
rtsx_scsi.c staging: rts5208: rtsx_scsi.h: Long lines 2016-10-16 10:27:17 +02:00
rtsx_scsi.h staging: rts5208: Alignment fix 2016-10-16 10:26:46 +02:00
rtsx_sys.h staging: rts5208: Unnecessary parentheses cleanup 2016-10-16 10:26:45 +02:00
rtsx_transport.c staging: rts5208: rtsx_transport.c: Drop void pointer cast 2016-03-11 22:09:09 -08:00
rtsx_transport.h staging: rts5208: Alignment fixes 2016-10-16 10:26:44 +02:00
sd.c staging: rts5208: sd.c: Spacing cleanup 2016-10-16 10:26:43 +02:00
sd.h staging: rts5208: sd.h: Alignment fixes 2016-10-16 10:26:36 +02:00
spi.c staging: rts5208: spi.c: Alignment fixes 2016-10-16 10:26:35 +02:00
spi.h Staging: rts5208: fix double blank line coding style issues 2016-08-21 18:37:36 +02:00
trace.c staging: rts5208: Remove TRACE_RET and TRACE_GOTO macros 2015-03-26 13:16:19 +01:00
trace.h staging: rts5208: Remove TRACE_RET and TRACE_GOTO macros 2015-03-26 13:16:19 +01:00
xd.c staging: rts5208: xd.c: Remove multiple assignments 2016-10-16 10:25:05 +02:00
xd.h staging: rts5208: xd.h: Alignment fix 2016-10-16 10:25:01 +02:00