diff options
| author | Tomas Winkler <tomas.winkler@intel.com> | 2020-07-23 17:59:22 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-23 19:33:08 +0200 |
| commit | df4b37bcc80d236df53dcc71c8bd9928507101ff (patch) | |
| tree | 9e6cf9ff82019a8fbdf369ead46485e7c5901312 /lib/dynamic_debug.c | |
| parent | Revert "mei: Avoid the use of one-element arrays" (diff) | |
| download | linux-df4b37bcc80d236df53dcc71c8bd9928507101ff.tar.gz linux-df4b37bcc80d236df53dcc71c8bd9928507101ff.zip | |
mei: hbm: 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.
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-2-tomas.winkler@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
