commit | 7b7a6be9ba159125a8e11b7ccc86233d17109187 | [log] [tgz] |
---|---|---|
author | David Gibson <[email protected]> | Thu Oct 06 20:45:14 2016 +1100 |
committer | David Gibson <[email protected]> | Thu Oct 06 20:45:14 2016 +1100 |
tree | ad00aa2e6c7325a93281284cbf9700e2be278ba5 | |
parent | aea8860d831ed05a147a1896c15e1312a9a66917 [diff] |
libfdt: Don't use 'index' as a local variable name Using 'index' as a local variable name shadows the standard library index() function. This causes warnings on at least some compiler versions. The recently added overlay code has a number of instances of this. This patch replaces 'index' with 'poffset', since 'index' is being used to mean "offset within a property value" in these cases. Signed-off-by: David Gibson <[email protected]>