]> git.baikalelectronics.ru Git - kernel.git/commit
skd: Use a structure instead of hardcoding structure offsets
authorBart Van Assche <bart.vanassche@wdc.com>
Thu, 17 Aug 2017 20:13:07 +0000 (13:13 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 18 Aug 2017 14:45:29 +0000 (08:45 -0600)
commitc1f32f43502b8a2a6ae918edb706df72de0b9bc7
tree126ae4d68d1aaf8674880604afb2e615a0a44f8a
parent894eae6da2fe51f6679ccea4ef3ab61e21c27023
skd: Use a structure instead of hardcoding structure offsets

This change makes the source code easier to read.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/skd_main.c