summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSimon Sandström <simon@nikanor.nu>2017-06-30 23:38:54 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-16 08:41:02 +0200
commitf124a478575b2d12134c97c7e29d782cebb1d049 (patch)
treee036263d254738e8e8b5447f8cbbb5baaabee81e /tools/perf/scripts/python
parent3781f887860ebaf4a8ba237a18501e03722321e1 (diff)
downloadcachepc-linux-f124a478575b2d12134c97c7e29d782cebb1d049.tar.gz
cachepc-linux-f124a478575b2d12134c97c7e29d782cebb1d049.zip
staging: vt6656: Use variable instead of its type in sizeof(...)
Use sizeof(variable) instead of sizeof(type) in memory allocations to prevent problems if the variable type changes in the future. Signed-off-by: Simon Sandström <simon@nikanor.nu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions