diff options
| author | Markus Elfring <elfring@users.sourceforge.net> | 2018-03-08 14:05:41 +0100 |
|---|---|---|
| committer | Lee Jones <lee.jones@linaro.org> | 2018-05-16 09:21:48 +0100 |
| commit | 3eec4faddc92c8347d8cdc616aad4e3906ace186 (patch) | |
| tree | 21a8b612597246ad989b59514c4c4051cd3ad4db /tools/perf/scripts/python | |
| parent | mfd: si476x-i2c: Delete an error message for a failed memory allocation in si... (diff) | |
| download | linux-3eec4faddc92c8347d8cdc616aad4e3906ace186.tar.gz linux-3eec4faddc92c8347d8cdc616aad4e3906ace186.zip | |
mfd: sm501: Improve a size determination in two functions
Replace the specification of data structures by pointer dereferences
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer according to the Linux coding style convention.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
