aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorMiquel Raynal <[email protected]>2024-02-23 12:55:44 +0100
committerMiquel Raynal <[email protected]>2024-03-15 00:04:50 +0100
commitdf9803bf5a91e3599f12b53c94722f2c4e144a86 (patch)
treefa90a4c4190f23a85aef8478b02ad19d9615e465 /lib/test_fortify/write_overflow-strncpy-src.c
parentc7ee7c8d4b60fe46d4861b1200bc1c7ab657960a (diff)
mtd: rawnand: Add a helper for calculating a page index
For LUN crossing boundaries, it is handy to know what is the index of the last page in a LUN. This helper will soon be reused. At the same time I rename page_per_lun to ppl in the calling function to clarify the lines. Cc: [email protected] # v6.7 Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions