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  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 19 Dec 2013 11:57:10 +1100
From:	Stephen Rothwell <sfr@...b.auug.org.au>
To:	David Miller <davem@...emloft.net>, <netdev@...r.kernel.org>
Cc:	linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
	Francesco Fusco <ffusco@...hat.com>
Subject: linux-next: build failure after merge of the net-next tree

Hi all,

After merging the net-next tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

lib/hash.c:16:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly'
 static struct fast_hash_ops arch_hash_ops __read_mostly = {
                                           ^
lib/hash.c: In function 'arch_fast_hash':
lib/hash.c:23:9: error: 'arch_hash_ops' undeclared (first use in this function)
  return arch_hash_ops.hash(data, len, seed);
         ^
lib/hash.c:23:9: note: each undeclared identifier is reported only once for each function it appears in
lib/hash.c: In function 'arch_fast_hash2':
lib/hash.c:29:9: error: 'arch_hash_ops' undeclared (first use in this function)
  return arch_hash_ops.hash2(data, len, seed);
         ^
lib/hash.c: In function 'hashlib_init':
lib/hash.c:35:24: error: 'arch_hash_ops' undeclared (first use in this function)
  setup_arch_fast_hash(&arch_hash_ops);
                        ^
lib/hash.c: In function 'arch_fast_hash':
lib/hash.c:24:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
lib/hash.c: In function 'arch_fast_hash2':
lib/hash.c:30:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

Caused by commit 71ae8aac3e19 ("lib: introduce arch optimized hash
library").  Read Rule 1 in Documentation/SubmitChecklist :-(  Hint:
__read_mostly is defined in linux/cache.h ...

I have used the net-next tree from next-20131217 again today.
-- 
Cheers,
Stephen Rothwell                    sfr@...b.auug.org.au

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists