I am sorry. By mistake sent the same patch which was already sent few
days back. Its pending for merge.
On Tue, Jun 2, 2015 at 7:41 PM, Parav Pandit wrote:
> From: Parav Pandit
>
> Moved code for reusing at few places:
> 1. Moved lba_shift related calculation code to macro for converting block
From: Parav Pandit
Moved code for reusing at few places:
1. Moved lba_shift related calculation code to macro for converting block
to/from len.
2. Moved req_len to nlb calculation to inline function.
Signed-off-by: Parav Pandit
---
drivers/block/nvme-core.c | 10 +-
drivers/block/nvme
Moved code for reusing at few places:
1. Moved lba_shift related calculation code to macro for converting block
to/from len.
2. Moved req_len to nlb calculation to inline function.
Signed-off-by: Parav Pandit
---
drivers/block/nvme-core.c | 10 +-
drivers/block/nvme-scsi.c | 10 +---
3 matches
Mail list logo