aboutsummaryrefslogtreecommitdiff
path: root/crypto/lz4hc.c
diff options
context:
space:
mode:
authorZev Weiss2023-08-10 21:59:41 +0930
committerGreg Kroah-Hartman2023-08-23 17:52:38 +0200
commit15db1e594e2c44fbe1508e92d966df584258f6c4 (patch)
tree32ba0b06a7ab9cfa2f69fe52caa1d9538ea24734 /crypto/lz4hc.c
parent6c889d2123ba293f02b0d200657ef734cd83f750 (diff)
soc: aspeed: uart-routing: Use __sysfs_match_string
[ Upstream commit e4ad279ae345413d900d791f2f618d0a1cd0d791 ] The existing use of match_string() caused it to reject 'echo foo' due to the implicitly appended newline, which was somewhat ergonomically awkward and inconsistent with typical sysfs behavior. Using the __sysfs_* variant instead provides more convenient and consistent linefeed-agnostic behavior. Signed-off-by: Zev Weiss <zev@bewilderbeest.net> Fixes: c6807970c3bc ("soc: aspeed: Add UART routing support") Reviewed-by: Joel Stanley <joel@jms.id.au> Link: https://lore.kernel.org/r/20230628083735.19946-2-zev@bewilderbeest.net Signed-off-by: Joel Stanley <joel@jms.id.au> Link: https://lore.kernel.org/r/20230810122941.231085-1-joel@jms.id.au Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'crypto/lz4hc.c')
0 files changed, 0 insertions, 0 deletions