Re: [PATCH 1/2] usb: gadget: f_fs: remove loop from I/O function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On 11/10/2013 08:50 AM, Michal Nazarewicz wrote:
>> +		if (wait_event_interruptible(epfile->wait, (ep = epfile->ep))) {

On Mon, Nov 11 2013, David Cohen wrote:
> FYI this line fails checkpatch:
> ERROR: do not use assignment in if condition
> #70: FILE: drivers/usb/gadget/f_fs.c:777:
> +		if (wait_event_interruptible(epfile->wait, (ep = epfile->ep))) {
>
> total: 1 errors, 0 warnings, 121 lines checked

This is intentional.

-- 
Best regards,                                         _     _
.o. | Liege of Serenely Enlightened Majesty of      o' \,=./ `o
..o | Computer Science,  Michał “mina86” Nazarewicz    (o o)
ooo +--<mpn@xxxxxxxxxx>--<xmpp:mina86@xxxxxxxxxx>--ooO--(_)--Ooo--

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux