summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2017-08-25 09:46:13 +0200
committerMartyn Welch <martyn.welch@collabora.co.uk>2017-10-13 22:32:02 +0200
commit246740656a37495c7a0b87c7dcfbb9b5d9bae9fd (patch)
tree850149bb9b799c63ef56ff355523903647e68fd0 /drivers/gpu
parentvme: fake: Delete an error message for a failed memory allocation in fake_init() (diff)
downloadlinux-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