aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2022-09-14 04:59:53 -0700
committerMartin K. Petersen <[email protected]>2022-09-15 22:01:24 -0400
commit32e7e06f60e78bca28fc6bb7f9dd54177750c331 (patch)
tree07e5ee962eb9d1312a0bac70db00e7aeb80f177e /tools/perf/scripts/python/net_dropmonitor.py
parent4663509304a7cf8a9b4a98a7312a43ccfdc4fa2b (diff)
scsi: aic79xx: Use __ro_after_init explicitly
ahd_linux_setup_iocell_info() intentionally writes to the const-marked aic79xx_iocell_info array, but is called during __init, so the location is actually writable at this point on most architectures. Annotate this explicitly with __ro_after_init to avoid static analysis confusion. Link: https://lpc.events/event/16/contributions/1175/attachments/1109/2128/2022-LPC-analyzer-talk.pdf Link: https://lore.kernel.org/r/[email protected] Cc: Hannes Reinecke <[email protected]> Cc: "James E.J. Bottomley" <[email protected]> Cc: "Martin K. Petersen" <[email protected]> Cc: [email protected] Reported-by: David Malcolm <[email protected]> Signed-off-by: Kees Cook <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions