Re: [PATCH] staging: rtl8192u: ieee80211: add space around '==' and before '('

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

 



On Fri, Apr 05, 2019 at 10:31:17AM +0800, YueHaibing wrote:
> On 2019/4/5 9:56, Caio Salvador Rohwedder wrote:
> >  			if(!list_empty(pUnusedList)) {
> >  				(*ppTS) = list_entry(pUnusedList->next, struct ts_common_info, list);
> >  				list_del_init(&(*ppTS)->list);
> > -				if(TxRxSelect==TX_DIR) {
> > +				if (TxRxSelect == TX_DIR) {
> >  					struct tx_ts_record *tmp = container_of(*ppTS, struct tx_ts_record, ts_common_info);
> 
> This line seems over 80 characters, may also be fixed.
> 

The 80 character problem isn't really related to the "space required"
problem.  Those would need to be fixed in separate patches.

> In fact, this file has so many code style issues, see
> 
> ./scripts/checkpatch.pl --no-tree -f drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c
> 

Yes.  Of course it has millions of style issues.  It's staging code.
Leave it.  We'll fix it little by little.

That said, I kind of would prefer to review patches which fix all the
"space[s] required" checkpatch warnings in a file in one go...

regards,
dan carpenter
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux