diff options
author | Peter Zijlstra | 2022-03-04 16:19:56 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2022-03-15 18:20:34 +0100 |
commit | 298ac860af9a0b604bcf06749a6acbd07548db99 (patch) | |
tree | a069ce7255282b46fa3691603ec72185ff8d9818 /arch | |
parent | b0ae33a2d2fb6c55117b377ec4ae3f2c84eab6a2 (diff) |
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 'arch')
0 files changed, 0 insertions, 0 deletions