Re: [patch] Staging: line6: NULL dereference in dev_err()

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

 



On Wed, Nov 30, 2011 at 8:43 AM, Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote:
> "line6" hasn't been set at this point and we should be using
> &interface->dev instead.
>
> Gcc would have complained about this if it weren't for the fact that we
> initialized line6 to NULL.  I removed the initialization.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Reviewed-by: Stefan Hajnoczi <stefanha@xxxxxxxxx>
--
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