Explorar el Código

nvme: remove reserved double word

The specification was updated the remove the double word just after
number of configuration groups and capabilities. Update the identify
structure to reflect it.

Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
Matias Bjørling hace 10 años
padre
commit
dad1b00977
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      drivers/nvme/host/lightnvm.c

+ 2 - 2
drivers/nvme/host/lightnvm.c

@@ -194,11 +194,11 @@ struct nvme_nvm_id {
 	__u8			ver_id;
 	__u8			vmnt;
 	__u8			cgrps;
-	__u8			res[5];
+	__u8			res;
 	__le32			cap;
 	__le32			dom;
 	struct nvme_nvm_addr_format ppaf;
-	__u8			resv[224];
+	__u8			resv[228];
 	struct nvme_nvm_id_group groups[4];
 } __packed;