diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2017-08-17 22:13:25 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-08-18 16:45:29 +0200 |
commit | 32494df9a5ae9aaf8bed23068e6ec1aeb3196ebf (patch) | |
tree | 342c2c23917efd2ebd2e57a4bdb602eacaac31af /Documentation | |
parent | skd: Remove dead code (diff) | |
download | linux-32494df9a5ae9aaf8bed23068e6ec1aeb3196ebf.tar.xz linux-32494df9a5ae9aaf8bed23068e6ec1aeb3196ebf.zip |
skd: Initialize skd_special_context.req.n_sg to one
The debug code in skd_send_special_fitmsg() assumes that req.n_sg
represents the number of S/G descriptors. However, skd_construct()
initializes that member variable to zero. Set req.n_sg to one such
that the debugging code in skd_send_special_fitmsg() works as
expected.
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions