summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorJames Hilliard <james.hilliard1@gmail.com>2026-08-11 00:01:59 -0600
committerMiquel Raynal <miquel.raynal@bootlin.com>2026-09-04 20:05:57 +0200
commit8696502b0aa96bcbb1f1e78ae117726378823ae8 (patch)
tree50f372205a14e1bfbd62fb02d069863cd36ad61e /scripts/Makefile.thinlto
parentcee9395acd8043be0644b25c34bfa86623f2b935 (diff)
downloadlinux-next-8696502b0aa96bcbb1f1e78ae117726378823ae8.tar.gz
linux-next-8696502b0aa96bcbb1f1e78ae117726378823ae8.zip
mtd: rawnand: sunxi: propagate user-data allocation errors
sunxi_nfc_maximize_user_data() returns -ENOMEM when its per-step length array cannot be allocated, but the caller ignores that error. The NULL array then makes sunxi_nfc_user_data_sz() report the fixed four-byte fallback, which is not the layout that the variable-length setup calculated. Return the setup error so an allocation failure cannot silently select and validate a different OOB layout. Fixes: 54dcd6aa69db ("mtd: rawnand: sunxi: introduce maximize variable user data length") Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions