Re: [PATCH 2/3] wlan-ng/prism2mgmt.c: formated too long lines

From: Greg Kroah-Hartman
Date: Fri Jan 18 2013 - 16:00:41 EST


On Fri, Jan 18, 2013 at 12:07:31AM +0100, Sebastian Ehrenfels wrote:
> From: Sebastian Wankerl <sisewank@xxxxxxxxxxxxx>
>
> Signed-off-by: Sebastian Wankerl <sisewank@xxxxxxxxxxxxx>
> Signed-off-by: Sebastian Ehrenfels <qi50dube@xxxxxxxxxxxxx>
>
> ---
> drivers/staging/wlan-ng/prism2mgmt.c | 20 +++++++++++---------
> 1 file changed, 11 insertions(+), 9 deletions(-)
>
> diff --git a/drivers/staging/wlan-ng/prism2mgmt.c b/drivers/staging/wlan-ng/prism2mgmt.c
> index 62b94b0..4b3db73 100644
> --- a/drivers/staging/wlan-ng/prism2mgmt.c
> +++ b/drivers/staging/wlan-ng/prism2mgmt.c
> @@ -1144,9 +1144,9 @@ int prism2mgmt_wlansniff(wlandevice_t *wlandev, void *msgp)
> /* Enable the port */
> result = hfa384x_drvr_enable(hw, 0);
> if (result) {
> - pr_debug
> - ("failed to enable port to presniff setting, result=%d\n",
> - result);
> + pr_debug(
> + "failed to enable port to presniff setting,"
> + "result=%d\n", result);

No, please put the string on the same line as the pr_debug() call, and
don't break it across multiple lines. This should look like:
pr_debug("failed to enable port to presniff setting,result=%d\n",
result);

Can you please fix this up and resend it?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/