diff options
author | Joey Pabalinas <joeypabalinas@gmail.com> | 2018-04-25 07:48:03 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-25 14:54:26 +0200 |
commit | 2ea0452c5a222be7f581d8cd48058ee6472d1449 (patch) | |
tree | 7e9bfacc250e42da27c6dcd8b9373e34957270d2 /Kbuild | |
parent | serial: core: Make sure compiler barfs for 16-byte earlycon names (diff) | |
download | linux-2ea0452c5a222be7f581d8cd48058ee6472d1449.tar.xz linux-2ea0452c5a222be7f581d8cd48058ee6472d1449.zip |
tty/nozomi: cleanup DUMP() macro
Replace snprint() with strscpy() and use min_t() instead of
the conditional operator to clamp buffer length.
Signed-off-by: Joey Pabalinas <joeypabalinas@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions