]> git.karo-electronics.de Git - linux-beck.git/commit
usb: host: ehci-dbg: use scnprintf() in qh_lines()
authorGeyslan G. Bem <geyslan@gmail.com>
Tue, 26 Jan 2016 01:44:59 +0000 (22:44 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 21:44:05 +0000 (13:44 -0800)
commita5355977947dc4da93ac05a72989fecc95bc6dca
treee1de05f41fc3f7a77fcfbb1a9f98b2e2d4282606
parentc2fb017104eaceb3245640d2bec988d8751552bc
usb: host: ehci-dbg: use scnprintf() in qh_lines()

This patch replaces two snprintf() calls with scnprintf() in qh_lines()
and hence removes the unneeded sequential truncation tests.

Signed-off-by: Geyslan G. Bem <geyslan@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-dbg.c