lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070516112558.GQ23798@kernel.dk>
Date:	Wed, 16 May 2007 13:25:58 +0200
From:	Jens Axboe <jens.axboe@...cle.com>
To:	Cornelia Huck <cornelia.huck@...ibm.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 5/19] scsi: convert to using sg helpers

On Wed, May 16 2007, Cornelia Huck wrote:
> On Wed, 16 May 2007 10:32:19 +0200,
> Jens Axboe <jens.axboe@...cle.com> wrote:
> 
> > This converts the SCSI mid layer to using the sg helpers for looking up
> > sg elements, instead of doing it manually.
> > 
> > Signed-off-by: Jens Axboe <jens.axboe@...cle.com>
> > ---
> >  drivers/scsi/scsi_lib.c |   20 +++++++++++---------
> >  1 files changed, 11 insertions(+), 9 deletions(-)
> 
> This needs to include linux/scatterlist.h (other architectures seem to
> pull this header in via other routes, but e.g. s390 doesn't).
> 
> ---
>  drivers/scsi/scsi_lib.c |    1 +
>  1 files changed, 1 insertion(+)
> 
> --- linux.orig/drivers/scsi/scsi_lib.c
> +++ linux/drivers/scsi/scsi_lib.c
> @@ -17,6 +17,7 @@
>  #include <linux/pci.h>
>  #include <linux/delay.h>
>  #include <linux/hardirq.h>
> +#include <linux/scatterlist.h>
>  
>  #include <scsi/scsi.h>
>  #include <scsi/scsi_cmnd.h>

Patch 17 does that, so the end result should work. But I'll move it to
patch 5, that is the correct spot to do it. Thanks!

-- 
Jens Axboe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ