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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 25 Jan 2013 10:22:39 +1100
From:	Stephen Rothwell <sfr@...b.auug.org.au>
To:	Shaohua Li <shli@...nel.org>
Cc:	Andrew Morton <akpm@...ux-foundation.org>,
	linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
	"David S. Miller" <davem@...emloft.net>
Subject: Re: linux-next: build failure after merge of the final tree (akpm
 tree related)

Hi,

On Thu, 24 Jan 2013 18:30:40 +0800 Shaohua Li <shli@...nel.org> wrote:
>
> On Thu, Jan 24, 2013 at 04:54:48PM +1100, Stephen Rothwell wrote:
> > 
> > After merging the final tree, today's linux-next build (sparc32 defconfig)
> > failed like this:
> > 
> > arch/sparc/mm/init_32.c: In function 'show_mem':
> > arch/sparc/mm/init_32.c:60:23: error: invalid operands to binary << (have 'atomic_long_t' and 'int')
> > 
> > Caused by commit "swap: add per-partition lock for swapfile" from the
> > akpm tree.
> > 
> > I have reverted that commit for today.
> 
> can you please apply this:
> 
> 
> ---
>  arch/sparc/mm/init_32.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Index: linux/arch/sparc/mm/init_32.c
> ===================================================================
> --- linux.orig/arch/sparc/mm/init_32.c	2012-08-06 16:00:44.133458270 +0800
> +++ linux/arch/sparc/mm/init_32.c	2013-01-24 18:28:23.242077473 +0800
> @@ -57,7 +57,7 @@ void show_mem(unsigned int filter)
>  	printk("Mem-info:\n");
>  	show_free_areas(filter);
>  	printk("Free swap:       %6ldkB\n",
> -	       nr_swap_pages << (PAGE_SHIFT-10));
> +	       get_nr_swap_pages() << (PAGE_SHIFT-10));
>  	printk("%ld pages of RAM\n", totalram_pages);
>  	printk("%ld free pages\n", nr_free_pages());
>  }

Please provide a proper patch to Andrew including a commit message and a
Signed-off-by and Reported-by lines.

-- 
Cheers,
Stephen Rothwell                    sfr@...b.auug.org.au

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ