Commit 7b7a6be9 authored by David Gibson's avatar David Gibson
Browse files

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: default avatarDavid Gibson <david@gibson.dropbear.id.au>
parent aea8860d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment