summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorHarshit Mogalapalli <harshit.m.mogalapalli@oracle.com>2026-09-24 14:14:11 -0700
committerMiquel Raynal <miquel.raynal@bootlin.com>2026-09-25 15:42:04 +0200
commit2e566a6830b82d95837c4d669c63a0c1abf766a9 (patch)
treef3696fb2a0efec1282af361615d53096ed9944db /scripts/Makefile.thinlto
parentc4f64a86a28d218f3b16cd7b18691993aa60db60 (diff)
downloadlinux-2e566a6830b82d95837c4d669c63a0c1abf766a9.tar.gz
linux-2e566a6830b82d95837c4d669c63a0c1abf766a9.zip
mtd: concat: use container_of_const() in CONCAT()
CONCAT() currently recovers the enclosing struct mtd_concat by casting its embedded struct mtd_info pointer. This assumes mtd remains the first member of the structure. Use container_of_const() with the named member to make the relationship explicit and preserve any const qualifier. Suggested-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions