Skip to content
Commit 2ea0452c authored by Joey Pabalinas's avatar Joey Pabalinas Committed by Greg Kroah-Hartman
Browse files

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: default avatarJoey Pabalinas <joeypabalinas@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c1c734cb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment