Re: [PATCH 1/2] NVMe: Refactor doorbell

2013-10-11 Thread Keith Busch
On Fri, 11 Oct 2013, Matias Bjorling wrote: The doorbell code is repeated various places. Refactor it into its own function for clarity. Signed-off-by: Matias Bjorling Looks good to me. Reviewed-by: Keith Busch --- drivers/block/nvme-core.c | 29 + 1 file changed

[PATCH 1/2] NVMe: Refactor doorbell

2013-10-11 Thread Matias Bjorling
The doorbell code is repeated various places. Refactor it into its own function for clarity. Signed-off-by: Matias Bjorling --- drivers/block/nvme-core.c | 29 + 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/drivers/block/nvme-core.c b/drivers/block/

[PATCH 1/2] NVMe: Refactor doorbell

2013-10-10 Thread Matias Bjorling
The doorbell code is repeated various places. Refactor it into its own function for clarity. Signed-off-by: Matias Bjorling --- drivers/block/nvme-core.c | 29 + 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/drivers/block/nvme-core.c b/drivers/block/