]> www.infradead.org Git - users/hch/nvme-cli.git/commitdiff
Intel plugin: Adding fields to id-ctrl VU region
authorBen Reese <5884008+benreese0@users.noreply.github.com>
Tue, 8 Oct 2019 19:24:34 +0000 (12:24 -0700)
committerBen Reese <5884008+benreese0@users.noreply.github.com>
Tue, 8 Oct 2019 19:24:34 +0000 (12:24 -0700)
Per https://github.com/linux-nvme/nvme-cli/pull/584/commits/f33510efbf5192116e5757d13a02463d446a1dc5#r332178975 removing pack pragma on vu_id_ctrl_field struct.

Signed-off-by: Ben Reese <5884008+benreese0@users.noreply.github.com>
plugins/intel/intel-nvme.c

index 50bb2c16c6e9188aabc43c8e802ae8a2806b5e8a..44e4d5d12b2ee58d8efa0bd1ce08a48d71d55afe 100644 (file)
@@ -58,7 +58,6 @@ struct nvme_additional_smart_log {
        struct nvme_additional_smart_log_item   host_bytes_written;
 };
 
-#pragma pack(push,1)
 struct nvme_vu_id_ctrl_field { //CDR MR5
        __u8                    rsvd1[3];
        __u8                    ss;
@@ -73,7 +72,6 @@ struct nvme_vu_id_ctrl_field { //CDR MR5
        __u8                    mic_bl[4];
        __u8                    mic_fw[4];
 };
-#pragma pack(pop)
 
 static void intel_id_ctrl(__u8 *vs, struct json_object *root)
 {