Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
[deliverable/linux.git] / drivers / usb / wusbcore / wa-rpipe.c
index a80c5d284b5902621b2d1d7b8bc2b5309d2dc25a..c7ecdbe19a32b6386d02bc11373a1276666369bd 100644 (file)
@@ -496,10 +496,9 @@ void wa_rpipes_destroy(struct wahc *wa)
        struct device *dev = &wa->usb_iface->dev;
 
        if (!bitmap_empty(wa->rpipe_bm, wa->rpipes)) {
-               char buf[256];
                WARN_ON(1);
-               bitmap_scnprintf(buf, sizeof(buf), wa->rpipe_bm, wa->rpipes);
-               dev_err(dev, "BUG: pipes not released on exit: %s\n", buf);
+               dev_err(dev, "BUG: pipes not released on exit: %*pb\n",
+                       wa->rpipes, wa->rpipe_bm);
        }
        kfree(wa->rpipe_bm);
 }
This page took 0.023798 seconds and 5 git commands to generate.