[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120914120423.GD4152@breakpoint.cc>
Date: Fri, 14 Sep 2012 14:04:23 +0200
From: Sebastian Andrzej Siewior <sebastian@...akpoint.cc>
To: Sergei Shtylyov <sshtylyov@...sta.com>
Cc: navin patidar <navinp@...c.in>, gregkh@...uxfoundation.org,
mfm@...eddisk.com, linux-usb@...r.kernel.org,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: usbip: stub_dev: Fixed oops during removal of
usbip_host
On Fri, Sep 14, 2012 at 03:42:42PM +0400, Sergei Shtylyov wrote:
> >diff --git a/drivers/staging/usbip/stub_dev.c b/drivers/staging/usbip/stub_dev.c
> >index 92ced35..f584af8 100644
> >--- a/drivers/staging/usbip/stub_dev.c
> >+++ b/drivers/staging/usbip/stub_dev.c
> >@@ -233,6 +230,13 @@ static void stub_device_reset(struct usbip_device *ud)
> >
> > dev_dbg(&udev->dev, "device reset");
> >
> >+ /*reset tcp socket*/
>
> Add spaces after /* and before */, please.
>
> >+ ud->tcp_socket = NULL;
> >+
> >+ /*reset kernel thread pointers */
>
> Here too.
I'm not sure it is required to comment the obvious things.
> WBR, Sergei
Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists