diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2020-07-23 17:59:25 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-23 20:33:09 +0300 |
commit | 4b40b225812d1be14c043fcaefe956856a2b8ab0 (patch) | |
tree | f7a3b429906111797c188340f795c220b5209347 /drivers/regulator/ltc3676.c | |
parent | 71ae5255f8feaf16ab5a41db5db1c6a3d9c68665 (diff) | |
download | linux-4b40b225812d1be14c043fcaefe956856a2b8ab0.tar.xz |
mei: client: use sizeof of variable instead of struct type
There is a possibility of bug when variable type has changed but
corresponding struct passed to the sizeof has not.
Cc: Gustavo A. R. Silva <gustavoars@kernel.org>
Reviewed-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Link: https://lore.kernel.org/r/20200723145927.882743-5-tomas.winkler@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/regulator/ltc3676.c')
0 files changed, 0 insertions, 0 deletions