aboutsummaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/pyynl/cli.py
diff options
context:
space:
mode:
authorIngo Rohloff <[email protected]>2024-12-12 15:41:14 +0000
committerGreg Kroah-Hartman <[email protected]>2024-12-23 17:50:53 +0000
commit9466545720e231fc02acd69b5f4e9138e09a26f6 (patch)
treec809f3a8efec1c8d7aee8953b9acb87dc0f3a790 /tools/net/ynl/pyynl/cli.py
parentUSB: usblp: return error when setting unsupported protocol (diff)
downloadkernel-9466545720e231fc02acd69b5f4e9138e09a26f6.tar.gz
kernel-9466545720e231fc02acd69b5f4e9138e09a26f6.zip
usb: gadget: configfs: Ignore trailing LF for user strings to cdev
Since commit c033563220e0f7a8 ("usb: gadget: configfs: Attach arbitrary strings to cdev") a user can provide extra string descriptors to a USB gadget via configfs. For "manufacturer", "product", "serialnumber", setting the string via configfs ignores a trailing LF. For the arbitrary strings the LF was not ignored. This patch ignores a trailing LF to make this consistent with the existing behavior for "manufacturer", ... string descriptors. Fixes: c033563220e0 ("usb: gadget: configfs: Attach arbitrary strings to cdev") Cc: stable <[email protected]> Signed-off-by: Ingo Rohloff <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/net/ynl/pyynl/cli.py')
0 files changed, 0 insertions, 0 deletions