aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2022-03-04 16:19:56 +0100
committerGreg Kroah-Hartman <[email protected]>2022-03-15 18:20:34 +0100
commit298ac860af9a0b604bcf06749a6acbd07548db99 (patch)
treea069ce7255282b46fa3691603ec72185ff8d9818 /net/lapb/lapb_in.c
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 <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions