Searched hist:"3 eec4faddc92c8347d8cdc616aad4e3906ace186" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/mfd/ |
H A D | sm501.c | diff 3eec4faddc92c8347d8cdc616aad4e3906ace186 Thu Mar 08 07:05:41 CST 2018 Markus Elfring <elfring@users.sourceforge.net> 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>
|