]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
plugins/ocp: Align ocp_smart_extended_log struct.
authorMinsik Jeon <hmi.jeon@samsung.com>
Wed, 11 Dec 2024 05:39:37 +0000 (14:39 +0900)
committerDaniel Wagner <wagi@monom.org>
Wed, 8 Jan 2025 08:37:31 +0000 (09:37 +0100)
commitfa0c0d7dd44d1cedfb9655bfa3cc6f983088a49e
tree1da3d418c9bc860b4bc5cd81e41b8e4b5cf8cbaa
parent1e89903fbcb7958e0efadc9d4b2802f67692244e
plugins/ocp: Align ocp_smart_extended_log struct.

If the dssd point, minor version are declared as __le16, the alignment
will be broken. Remove __packed keyword.
Change parameter void to ocp_smart_extended_log.

Reported-by: Steven Seungcheol Lee <sc108.lee@samsung.com>
Signed-off-by: Minsik Jeon <hmi.jeon@samsung.com>
plugins/ocp/ocp-print-json.c
plugins/ocp/ocp-print-stdout.c
plugins/ocp/ocp-print.c
plugins/ocp/ocp-print.h
plugins/ocp/ocp-smart-extended-log.h