aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPeter Zijlstra2022-03-04 16:19:56 +0100
committerGreg Kroah-Hartman2022-03-15 18:20:34 +0100
commit298ac860af9a0b604bcf06749a6acbd07548db99 (patch)
treea069ce7255282b46fa3691603ec72185ff8d9818 /arch
parentb0ae33a2d2fb6c55117b377ec4ae3f2c84eab6a2 (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