Re: [PATCH 20/22] staging rtl8723bs: Fix indenting errors and an off-by-one mistake in core/rtw_mlme_ext.c

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

 



On Sat, 2017-04-08 at 11:07 -0500, Larry Finger wrote:
>         } else {
> -               for (pstat->aid = 1; pstat->aid <= NUM_STA; pstat->aid++)
> +               for (pstat->aid = 1; pstat->aid < NUM_STA; pstat->aid++)
>                         if (pstapriv->sta_aid[pstat->aid - 1] == NULL)
>                                 break;

why not start at 0 and increment pstat->aid afterwards? Meh.
_______________________________________________
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