commit | 2ea0452c5a222be7f581d8cd48058ee6472d1449 | [log] [tgz] |
---|---|---|
author | Joey Pabalinas <joeypabalinas@gmail.com> | Tue Apr 24 19:48:03 2018 -1000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Apr 25 14:54:26 2018 +0200 |
tree | 7e9bfacc250e42da27c6dcd8b9373e34957270d2 | |
parent | c1c734cb1f54b062f7e67ffc9656d82f5b412b9c [diff] |
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>