Skip to content

Commit

Permalink
nvme: add semicolon in nvme_command setting
Browse files Browse the repository at this point in the history
Reviewed-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
  • Loading branch information
Max Gurtovoy authored and Jens Axboe committed Feb 22, 2017
1 parent 2dbf581 commit 778f067
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/nvme/host/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -590,8 +590,8 @@ int nvme_identify_ns(struct nvme_ctrl *dev, unsigned nsid,
int error;

/* gcc-4.4.4 (at least) has issues with initializers and anon unions */
c.identify.opcode = nvme_admin_identify,
c.identify.nsid = cpu_to_le32(nsid),
c.identify.opcode = nvme_admin_identify;
c.identify.nsid = cpu_to_le32(nsid);

*id = kmalloc(sizeof(struct nvme_id_ns), GFP_KERNEL);
if (!*id)
Expand Down

0 comments on commit 778f067

Please sign in to comment.