public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Small correction to blk_rq_set_block_pc
@ 2014-06-06 11:46 Matias Bjørling
  2014-06-06 11:46 ` [PATCH] block: blk_rq_set_block_pc overwrites __data_len Matias Bjørling
  2014-06-06 14:19 ` [PATCH] Small correction to blk_rq_set_block_pc Jens Axboe
  0 siblings, 2 replies; 3+ messages in thread
From: Matias Bjørling @ 2014-06-06 11:46 UTC (permalink / raw)
  To: axboe; +Cc: linux-kernel, Matias Bjørling

Hi Jens,

The blk_rq_set_block_pc() overwrites rq->__data_len after its being set in
blk_rq_map_kern().

It leads to some interesting error messages when booted with SCSI device.

Matias Bjørling (1):
  block: blk_rq_set_block_pc overwrites __data_len

 drivers/block/pktcdvd.c                    | 2 +-
 drivers/cdrom/cdrom.c                      | 2 +-
 drivers/scsi/device_handler/scsi_dh_alua.c | 2 +-
 drivers/scsi/device_handler/scsi_dh_rdac.c | 2 +-
 drivers/scsi/scsi_lib.c                    | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-06-06 14:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-06 11:46 [PATCH] Small correction to blk_rq_set_block_pc Matias Bjørling
2014-06-06 11:46 ` [PATCH] block: blk_rq_set_block_pc overwrites __data_len Matias Bjørling
2014-06-06 14:19 ` [PATCH] Small correction to blk_rq_set_block_pc Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox