Files
linux-stable-mirror/include/linux
Rob Herring 662372e42e of: restructure for_each macros to fix compile warnings
Commit 00b2c76a6a "include/linux/of.h: make for_each_child_of_node()
reference its args when CONFIG_OF=n" fixed warnings for unused
variables, but introduced variable "used uninitialized" warnings.
Simply initializing the variables would result in "set but not used"
warnings with W=1.

Fix both types of warnings by making all the for_each macros
unconditional and rely on the dummy static inline functions to
initialize and reference any variables.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Grant Likely <grant.likely@linaro.org>
2014-02-05 09:51:54 -06:00
..
2014-01-20 11:55:23 -08:00
2014-01-24 22:39:54 +01:00
2014-01-17 01:59:38 +01:00
2014-01-14 14:54:00 -05:00
2014-01-28 08:09:46 -07:00
2014-01-16 10:23:02 +10:30
2014-01-25 23:58:17 -05:00
2014-01-16 11:15:50 +01:00
2014-01-26 22:48:35 +01:00
2014-01-25 08:55:09 +01:00
2014-01-16 10:23:03 +10:30
2014-01-27 21:02:39 -08:00
2014-01-22 21:57:17 -08:00
2014-01-25 03:14:05 -05:00
2014-01-13 14:29:49 -08:00
2014-01-22 19:36:57 +01:00
2014-01-28 13:20:09 -08:00
2014-01-23 16:37:02 -08:00
2014-01-27 21:02:39 -08:00
2014-01-30 16:56:55 -08:00