commit | 246740656a37495c7a0b87c7dcfbb9b5d9bae9fd | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Fri Aug 25 09:46:13 2017 +0200 |
committer | Martyn Welch <martyn.welch@collabora.co.uk> | Fri Oct 13 21:32:02 2017 +0100 |
tree | 850149bb9b799c63ef56ff355523903647e68fd0 | |
parent | ef544fbc53badd3ae1c85980211bd39419c4082a [diff] |
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>