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]
Date:	Wed, 24 Oct 2007 08:47:09 +0200
From:	Jens Axboe <jens.axboe@...cle.com>
To:	David Miller <davem@...emloft.net>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [SPARC64]: More SG build fixes

On Tue, Oct 23 2007, David Miller wrote:
> 
> diff --git a/arch/sparc64/kernel/ldc.c b/arch/sparc64/kernel/ldc.c
> index c8313cb..217478a 100644
> --- a/arch/sparc64/kernel/ldc.c
> +++ b/arch/sparc64/kernel/ldc.c
> @@ -2121,7 +2121,7 @@ int ldc_map_sg(struct ldc_channel *lp,
>  	state.nc = 0;
>  
>  	for (i = 0; i < num_sg; i++)
> -		fill_cookies(&state, page_to_pfn(sg[i].page) << PAGE_SHIFT,
> +		fill_cookies(&state, page_to_pfn(sg_page(&sg[i])) << PAGE_SHIFT,
>  			     sg[i].offset, sg[i].length);
>  
>  	return state.nc;
> diff --git a/drivers/block/sunvdc.c b/drivers/block/sunvdc.c
> index 7276f7d..fac4c6c 100644
> --- a/drivers/block/sunvdc.c
> +++ b/drivers/block/sunvdc.c
> @@ -15,6 +15,7 @@
>  #include <linux/delay.h>
>  #include <linux/init.h>
>  #include <linux/list.h>
> +#include <linux/scatterlist.h>
>  
>  #include <asm/vio.h>
>  #include <asm/ldc.h>

added

-- 
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