Re: [PATCH] Staging: rtl8192e prohibit deferencing of NULL pointer

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

 



On Wed, Jun 18, 2014 at 11:16 AM, Andreas Platschek
<platschek@xxxxxxxxxxxxxxxx> wrote:
>
>   rx_dropped:
> -    ieee->stats.rx_dropped++;
> +    if (ieee != NULL) {
> +        ieee->stats.rx_dropped++;
> +    }
>      return 0;

Style nit: don't use braces around a single statement.

Tina
--
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