Skip to content
Commit d2b805d8 authored by Wei Yongjun's avatar Wei Yongjun Committed by Jens Axboe
Browse files

cciss: fix invalid use of sizeof in cciss_find_cfgtables()



sizeof() when applied to a pointer typed expression gives the
size of the pointer, not that of the pointed data.

Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: default avatar <scameron@beardog.cce.hp.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 8761a3dc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment