diff options
author | 2016-07-23 02:34:08 +0800 | |
---|---|---|
committer | 2016-08-09 16:13:04 -0400 | |
commit | d7372cb6290eedadcf2d191b033388df3c0c39f2 (patch) | |
tree | 443c13a8ac23d447aef389d184c83341a011342b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 4.8-rc1 (diff) | |
download | wireguard-linux-d7372cb6290eedadcf2d191b033388df3c0c39f2.tar.xz wireguard-linux-d7372cb6290eedadcf2d191b033388df3c0c39f2.zip |
libata-scsi: use u8 array to store mode page copy
ata_mselect_*() would initialize a char array for storing a copy of
the current mode page. However, char could be signed char. In that
case, bytes larger than 127 would be converted to negative number.
For example, 0xff from def_control_mpage[] would become -1. This
prevented ata_mselect_control() from working at all, since when it
did the read-only bits check, there would always be a mismatch.
Signed-off-by: Tom Yan <tom.ty89@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions