]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
nvmet: use a macro for default error location
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Tue, 18 Dec 2018 02:35:29 +0000 (18:35 -0800)
committerChristoph Hellwig <hch@lst.de>
Tue, 18 Dec 2018 16:50:44 +0000 (17:50 +0100)
commit5698b805fbf09a5dfa60829f5a179c0568a8dc3b
tree0bddf37535f8320b14c4f2b643c4edd70ead0bf6
parent66c6afbd7321983be4c4160aff4d79e52af84a60
nvmet: use a macro for default error location

This patch defines a new macro NVMET_NO_ERROR_LOC to represent the
default error location value in the nvme-error-log-page.
This is a pure cleanup patch and it does not change any functionality.

Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/core.c
drivers/nvme/target/nvmet.h