diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-08-25 09:46:13 +0200 |
---|---|---|
committer | Martyn Welch <martyn.welch@collabora.co.uk> | 2017-10-13 22:32:02 +0200 |
commit | 246740656a37495c7a0b87c7dcfbb9b5d9bae9fd (patch) | |
tree | 850149bb9b799c63ef56ff355523903647e68fd0 /drivers/gpu | |
parent | vme: fake: Delete an error message for a failed memory allocation in fake_init() (diff) | |
download | linux-246740656a37495c7a0b87c7dcfbb9b5d9bae9fd.tar.xz linux-246740656a37495c7a0b87c7dcfbb9b5d9bae9fd.zip |
vme: fake: Improve five size determinations in fake_init()
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: Martyn Welch <martyn@welchs.me.uk>
Diffstat (limited to 'drivers/gpu')
0 files changed, 0 insertions, 0 deletions