]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r341658 (by imp): Const poison the command interface
authorAlexander Motin <mav@FreeBSD.org>
Mon, 12 Aug 2019 17:49:06 +0000 (17:49 +0000)
committerAlexander Motin <mav@FreeBSD.org>
Mon, 12 Aug 2019 17:49:06 +0000 (17:49 +0000)
commitf622be6ef65c74422b0a3e57169ea2b7e46d3e9b
treef135572acf9475bd76dee2b662ac500984e6bbda
parent029880ee170e9833406e9d85f02c2aabb65ef4e0
MFC r341658 (by imp): Const poison the command interface

Make the pointers we pass into the commands const, also make the
linker set mirrors const.
12 files changed:
sbin/nvmecontrol/devlist.c
sbin/nvmecontrol/firmware.c
sbin/nvmecontrol/format.c
sbin/nvmecontrol/identify.c
sbin/nvmecontrol/logpage.c
sbin/nvmecontrol/ns.c
sbin/nvmecontrol/nvmecontrol.c
sbin/nvmecontrol/nvmecontrol.h
sbin/nvmecontrol/perftest.c
sbin/nvmecontrol/power.c
sbin/nvmecontrol/reset.c
sbin/nvmecontrol/wdc.c