zephyr/scripts/dts
Ulf Magnusson a5f4ad8df3 scripts: dts: Fix wrong filename in 'include:' code in old scripts
The 'fname' parameter to merge_included_bindings(), giving the path to
the top-level binding file, was accidentally shadowed in the
'for fname in fnames:' loop. This could lead to the wrong filename being
used in error messages.

Discovered via this pylint warning:

    scripts/dts/extract_dts_includes.py:225:12: R1704: Redefining
    argument with the local name 'fname' (redefined-argument-from-local)

Improve naming a bit to fix it.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-09-10 11:34:03 -05:00
..
extract scripts: dts: Fix generation of single-value phandle/value array 2019-09-09 14:15:44 -05:00
test-bindings dts: edtlib: Support giving missing properties a default value 2019-09-09 08:47:49 -05:00
test-bindings-2 scripts: dts: Simplify and improve 'compatible' matching 2019-09-07 10:25:02 -05:00
devicetree.py scripts: dts: devicetree.py: Fix pylint warning for iffy \w escape 2019-09-07 10:25:02 -05:00
dtlib.py scripts: dtlib: Suppress _init_tokens() pylint warning 2019-09-07 10:25:02 -05:00
edtlib.py dts: scripts: Require properties to be declared in bindings 2019-09-10 07:42:02 -05:00
extract_dts_includes.py scripts: dts: Fix wrong filename in 'include:' code in old scripts 2019-09-10 11:34:03 -05:00
gen_defines.py scripts/dts: Generate IRQ values for multi-level IRQs 2019-09-10 07:34:57 -05:00
test-multidir.dts scripts: dts: Add test for multiple binding directories 2019-08-03 14:17:49 -04:00
test.dts dts: scripts: Require properties to be declared in bindings 2019-09-10 07:42:02 -05:00
testdtlib.py scripts: dtlib: Add test for untested /memreserve/ error 2019-09-07 10:25:02 -05:00
testedtlib.py dts: edtlib: Support giving missing properties a default value 2019-09-09 08:47:49 -05:00