aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorFabio M. De Francesco <[email protected]>2021-09-24 14:27:00 +0200
committerGreg Kroah-Hartman <[email protected]>2021-09-27 17:37:12 +0200
commit1b77e29e7bf41424f74ef1a8d6555614819489ca (patch)
treec5cf2b36e03167d1a87afc16d60b0e2ff1e7fbdc /tools/perf/scripts/python/netdev-times.py
parent6386030e10df44429e1661fff598f36ed21a3502 (diff)
staging: r8188eu: change the type of a variable in rtw_read16()
Change the type of "data" from __le32 to __le16. The size of the data that usbctrl_vendorreq() will read is two bytes in little endian order, so the most suitable type is __le16. With the old code, since the two most significant bytes of data are not initialized, KMSan can likely detect the reading of uninitialized data, so this change can prevent the checker from complaining. Co-developed-by: Pavel Skripkin <[email protected]> Signed-off-by: Pavel Skripkin <[email protected]> Signed-off-by: Fabio M. De Francesco <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions