summaryrefslogtreecommitdiffstats
path: root/sys/dev/ichsmb/ichsmb_pci.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2018-02-15 21:27:24 +0000
committerLuiz Souza <luiz@netgate.com>2018-05-09 10:28:58 -0300
commit293707af843ce1b4208eed3b8427b72356ea06f0 (patch)
tree12e6ddcad414f565e12dc1ce2208b9aee97a9be2 /sys/dev/ichsmb/ichsmb_pci.c
parent61033f55dc6b6b9c295e0ade753c1d0b142ddd1b (diff)
downloadFreeBSD-src-293707af843ce1b4208eed3b8427b72356ea06f0.zip
FreeBSD-src-293707af843ce1b4208eed3b8427b72356ea06f0.tar.gz
MFC 318090,319475: Use const with some read-only buffers in opencrypto APIs.
318090: Use const with some read-only buffers in opencrypto APIs. - Mark the source buffer for a copyback operation as const in the kernel API. - Use const with input-only buffers in crypto ioctl structures used with /dev/crypto. 319475: Fix some new errors and a warning in cryptotest. - Use a new 'char *key' to allocate storage for keys and assign the pointer to the session2_op 'const char *' members after the key is initialized. - Mark the 'find' variable used in crfind() static so that crfind() doesn't return a pointer to stack garbage. Sponsored by: Chelsio Communications (cherry picked from commit 230aaab2e615703ad509454fe1b16ab8f69b411c)
Diffstat (limited to 'sys/dev/ichsmb/ichsmb_pci.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud