Re: [patch] dwc3: add a kfree() on error to dwc3_testmode_open()

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

 




Am 26.08.2011 12:32, schrieb Sebastian Andrzej Siewior:
> * Dan Carpenter | 2011-08-26 12:21:13 [+0300]:
> 
>> Btw.  This function returns -EBUSY on success.  Was that really what
>> you want?
> 
> At that time yes. The idea was to enable the self-test mode of the core
> and let it do transfers forth and back and see if it works. There is
> also no off switch. I wasn't aware that this piece of code is going to
> merged but now I think we need an off switch.
> Thanks for spotting this.
> 
> Sebastian

I assume that is true for the memset() also ?
so they can be remove safely ?

re,
 wh
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux