Re: [PATCH 1/1] drivers/staging/vt6656/main_usb.c: checkpatch warning
From: Kim Phillips
Date: Fri Mar 31 2017 - 06:33:13 EST
On Fri, 31 Mar 2017 03:01:12 -0700
Chewie Lin <linsh@xxxxxxxxxxxxxxx> wrote:
> fix a checkpatch warning:
> WARNING: Prefer using "%s", __func__ to embedded function names
__func__, so:
> - "usb_device_reset fail status=%d\n", status);
> + "%s=%d\n", "usb_device_reset fail status", status);
"%s=%d\n", __func__ " fail status", status);
?
Kim