[PATCH] clk: Do not dereference potential NULL pointer

Thierry Reding thierry.reding at gmail.com
Fri Nov 1 05:13:17 EDT 2013


On Thu, Oct 31, 2013 at 11:22:33AM -0700, Mike Turquette wrote:
> Quoting Thierry Reding (2013-10-31 05:03:56)
> > A NULL pointer may be passed to _clk_register() for the dev parameter
> > (via clk_register()). Make sure not to dereference it before checking
> > that it's valid.
> > 
> > Signed-off-by: Thierry Reding <treding at nvidia.com>
> 
> Hi Thierry,
> 
> I saw Olof's fix first so I took that and applied your Ack.

Perhaps we need a new kind of tag. Something like Also-by: =)

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20131101/b86181ce/attachment.sig>


More information about the linux-arm-kernel mailing list