diff options
author | 2020-07-23 17:59:24 +0300 | |
---|---|---|
committer | 2020-07-23 19:33:09 +0200 | |
commit | 71ae5255f8feaf16ab5a41db5db1c6a3d9c68665 (patch) | |
tree | 1514e498c52373bde08de43fa84c62a9c823c33c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mei: ioctl: use sizeof of variable instead of struct type (diff) | |
download | linux-dev-71ae5255f8feaf16ab5a41db5db1c6a3d9c68665.tar.xz linux-dev-71ae5255f8feaf16ab5a41db5db1c6a3d9c68665.zip |
mei: bus: 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-4-tomas.winkler@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions