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
This page took 0.024681 seconds and 5 git commands to generate.