commit | faa48ea82bcd4b186dd548529d2514a9a2892095 | [log] [tgz] |
---|---|---|
author | sayli karnik <karniksayli1995@gmail.com> | Fri Sep 16 16:23:02 2016 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Sep 17 23:32:13 2016 +0200 |
tree | b441e64086b6a5e0a9d9bcf3ae35fca3f90828b7 | |
parent | d7c952a3664c5f52a1a117327a9e32e64cc74ed4 [diff] |
staging: wilc1000: Use sizeof type *pointer instead of sizeof type The patch uses the size of the dereference to a variable instead of it's type, to make the code more resistant to type changes in the future. The type of the pointer variable here is the same as the type in the argument that is being replaced in sizeof(). Signed-off-by: sayli karnik <karniksayli1995@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>