aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLendacky, Thomas <Thomas.Lendacky@amd.com>2016-11-15 16:11:15 -0600
committerDavid S. Miller <davem@davemloft.net>2016-11-16 13:57:44 -0500
commit1c1f619e451bdbf29c3be9ed11c77d488b56dfd9 (patch)
tree05373315f75629a5eb73e1601f1a8b4020aa6aa6 /tools/perf/scripts/python/export-to-postgresql.py
parentamd-xgbe: Fix possible uninitialized variable (diff)
downloadlinux-dev-1c1f619e451bdbf29c3be9ed11c77d488b56dfd9.tar.xz
linux-dev-1c1f619e451bdbf29c3be9ed11c77d488b56dfd9.zip
amd-xgbe: Fix maximum GPIO value check
The GPIO support in the hardware allows for up to 16 GPIO pins, enumerated from 0 to 15. The driver uses the wrong value (16) to validate the GPIO pin range in the routines to set and clear the GPIO output pins. Update the code to use the correct value (15). Reported-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions