lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 17 Jul 2012 19:04:13 +0530 From: Rajendra Nayak <rnayak@...com> To: Rob Herring <robherring2@...il.com> CC: Mike Turquette <mturquette@...com>, Shawn Guo <shawn.guo@...aro.org>, Prashant Gaikwad <pgaikwad@...dia.com>, aletes.xgr@...il.com, linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org, Archit Taneja <archit@...com>, loml <linux-omap@...r.kernel.org>, Tony Lindgren <tony@...mide.com>, "Cousson, Benoit" <b-cousson@...com> Subject: Re: [PATCH] clk: fix compile for OF && !COMMON_CLK On Tuesday 17 July 2012 06:49 PM, Rajendra Nayak wrote: > struct clk *clk_get(struct device *dev, const char *con_id) > { > const char *dev_id = dev ? dev_name(dev) : NULL; > struct clk *clk; > > if (dev) { > ----> > Any reason why this isn't > if (dev->of_node) { > ----> Or rather, if (dev && dev->of_node) { as Archit just pointed out to me. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists