[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091116184416.GA21491@pengutronix.de>
Date: Mon, 16 Nov 2009 19:44:16 +0100
From: Wolfram Sang <w.sang@...gutronix.de>
To: Grant Likely <grant.likely@...retlab.ca>
Cc: netdev@...r.kernel.org, socketcan-core@...ts.berlios.de,
linuxppc-dev@...abs.org, Wolfgang Grandegger <wg@...ndegger.com>,
David Miller <davem@...emloft.net>
Subject: Re: [PATCH] net/can: add driver for mscan family & mpc52xx_mscan
Hi Grant,
Wolfgang commented on some points already, I will pick up the other remarks,
just one question:
> > + clk_src = of_get_property(np, "fsl,mscan-clk-src", NULL);
> > + if (clk_src && strcmp(clk_src, "ip") == 0)
>
> Should protect against non-null. strncmp() maybe?
"ip" is null-terminated, or what do you mean?
--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Download attachment "signature.asc" of type "application/pgp-signature" (198 bytes)
Powered by blists - more mailing lists