summaryrefslogtreecommitdiffstats
path: root/fs/sysv/ialloc.c
diff options
context:
space:
mode:
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>2016-09-12 15:01:28 +0200
committerRob Herring <robh@kernel.org>2016-09-15 15:32:57 +0200
commit79ac5d31df7011e2b60dba4bd1e2f9a9f65e5e1e (patch)
treec841f12430f9ea9504a3a9a47090e8cccd7cf315 /fs/sysv/ialloc.c
parentdt: net: enhance DWC EQoS binding to support Tegra186 (diff)
downloadlinux-79ac5d31df7011e2b60dba4bd1e2f9a9f65e5e1e.tar.xz
linux-79ac5d31df7011e2b60dba4bd1e2f9a9f65e5e1e.zip
of: Make of_find_property_value_of_size take a length range
In preparation for adding variable-length array reads, change of_find_property_value_of_size so that it takes an optional maximum length. If the maximum is passed as 0, the behaviour is unchanged and it will return a property if it's >= the requested minimum length. If maximum is non-zero it will only return a property whose length is min <= l <= max. Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'fs/sysv/ialloc.c')
0 files changed, 0 insertions, 0 deletions