summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2026-05-03 14:49:22 -0600
committerTom Rini <[email protected]>2026-05-14 15:39:09 -0600
commit2120834c25d525b754a8473565d4e0f9c158d806 (patch)
tree63c9de9a39afee8b9a1fd96644e3aca8cc6dad77 /scripts/const_structs.checkpatch
parent6b109a1304a03b35ad489e551964737ad80f6a82 (diff)
beaglev_fire: Quote no_of_overlays in design test
On beaglev_fire, design_overlays gates an overlay-application loop on: if test -n ${no_of_overlays}; then ... The default state is "no overlays", i.e. no_of_overlays unset. The expression then expands to 'test -n' with no operand and relies on a U-Boot 'test' quirk that treats a missing operand as false to skip the loop. Quote the variable so an unset no_of_overlays expands to 'test -n ""' and the emptiness check is explicit. Fixes: 8b0619579b22 ("cmd: test: fix handling of single-argument form of test") Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions