All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@intel.com>
To: kernel-janitors@vger.kernel.org
Subject: [cr:crtools-3.6 11/32] include/net/ndisc.h:137:2: error: implicit declaration of function 'hash32_pt
Date: Mon, 01 Oct 2012 08:38:24 +0000	[thread overview]
Message-ID: <20121001083824.GA25109@localhost> (raw)

Hi Pavel,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/gorcunov/linux-cr.git crtools-3.6
head:   5bdf2e431ca733b6e46ebbcf2b6a62fd753fa703
commit: 412de726dff943b0b9600836ae363201047ec8b3 [11/32] net: Dont use ifindices in hash fns
config: x86_64-allmodconfig

All error/warnings:

In file included from include/net/ipv6.h:19:0,
                 from include/linux/sunrpc/clnt.h:26,
                 from include/linux/nfs_fs.h:57,
                 from init/do_mounts.c:30:
include/net/ndisc.h: In function 'ndisc_hashfn':
include/net/ndisc.h:137:2: error: implicit declaration of function 'hash32_ptr' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
--
In file included from include/net/ipv6.h:19:0,
                 from include/linux/sunrpc/clnt.h:26,
                 from include/linux/nfs_fs.h:57,
                 from fs/lockd/clntlock.c:13:
include/net/ndisc.h: In function 'ndisc_hashfn':
include/net/ndisc.h:137:2: error: implicit declaration of function 'hash32_ptr' [-Werror=implicit-function-declaration]
In file included from include/linux/sunrpc/svcauth.h:17:0,
                 from include/linux/sunrpc/svc.h:18,
                 from fs/lockd/clntlock.c:15:
include/linux/hash.h: At top level:
include/linux/hash.h:71:19: error: conflicting types for 'hash32_ptr'
In file included from include/net/ipv6.h:19:0,
                 from include/linux/sunrpc/clnt.h:26,
                 from include/linux/nfs_fs.h:57,
                 from fs/lockd/clntlock.c:13:
include/net/ndisc.h:137:21: note: previous implicit declaration of 'hash32_ptr' was here
cc1: some warnings being treated as errors

vim +137 include/net/ndisc.h

30f2a5f3 (David S. Miller 2012-07-11  131) }
30f2a5f3 (David S. Miller 2012-07-11  132) 
2c2aba6c (David S. Miller 2011-12-28  133) static inline u32 ndisc_hashfn(const void *pkey, const struct net_device *dev, __u32 *hash_rnd)
2c2aba6c (David S. Miller 2011-12-28  134) {
2c2aba6c (David S. Miller 2011-12-28  135) 	const u32 *p32 = pkey;
2c2aba6c (David S. Miller 2011-12-28  136) 
412de726 (Pavel Emelyanov 2012-10-01 @137) 	return (((p32[0] ^ hash32_ptr(dev)) * hash_rnd[0]) +
2c2aba6c (David S. Miller 2011-12-28  138) 		(p32[1] * hash_rnd[1]) +
2c2aba6c (David S. Miller 2011-12-28  139) 		(p32[2] * hash_rnd[2]) +
2c2aba6c (David S. Miller 2011-12-28  140) 		(p32[3] * hash_rnd[3]));

---
0-DAY kernel build testing backend         Open Source Technology Centre
Fengguang Wu, Yuanhan Liu                              Intel Corporation

                 reply	other threads:[~2012-10-01  8:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121001083824.GA25109@localhost \
    --to=fengguang.wu@intel.com \
    --cc=kernel-janitors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.