diff options
author | 2022-03-04 16:19:56 +0100 | |
---|---|---|
committer | 2022-03-15 18:20:34 +0100 | |
commit | 298ac860af9a0b604bcf06749a6acbd07548db99 (patch) | |
tree | a069ce7255282b46fa3691603ec72185ff8d9818 /scripts/gdb/linux/utils.py | |
parent | usb: early: xhci-dbc: Remove duplicate keep parsing (diff) | |
download | wireguard-linux-298ac860af9a0b604bcf06749a6acbd07548db99.tar.xz wireguard-linux-298ac860af9a0b604bcf06749a6acbd07548db99.zip |
usb: early: xhci-dbc: Fix xdbc number parsing
kstrtoul() assumes the string contains the number only and is \0
terminated, this is not the case, as such things like:
earlyprintk=xdbc1,keep
go completely sideways. Use simple_strtoul() instead.
Acked-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220304152136.035911620@infradead.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions