From: David Miller <davem@davemloft.net>
To: dhowells@redhat.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH 00/14] AF_RXRPC socket family and AFS rewrite [net-2.6]
Date: Thu, 26 Apr 2007 20:18:29 -0700 (PDT) [thread overview]
Message-ID: <20070426.201829.110908085.davem@davemloft.net> (raw)
In-Reply-To: <20070426.201213.85816532.davem@davemloft.net>
From: David Miller <davem@davemloft.net>
Date: Thu, 26 Apr 2007 20:12:13 -0700 (PDT)
> In file included from net/rxrpc/rxkad.c:21:
> net/rxrpc/ar-internal.h:803:1: warning: "atomic_dec" redefined
> In file included from include/linux/spinlock.h:326,
> from include/linux/module.h:9,
> from net/rxrpc/rxkad.c:12:
> include/asm/atomic.h:67:1: warning: this is the location of the previous definition
I'm fixing this as follows, if you want this debugging code
back do it properly, thanks.
commit 411faf5810cdd0e4f5071a3805d8adb49d120a07
Author: David S. Miller <davem@sunset.davemloft.net>
Date: Thu Apr 26 20:18:17 2007 -0700
[RXRPC]: Remove bogus atomic_* overrides.
These are done with CPP defines which several platforms
use for their atomic.h implementation, which floods the
build with warnings and breaks the build.
Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/rxrpc/ar-internal.h b/net/rxrpc/ar-internal.h
index cb1eb49..58aaf89 100644
--- a/net/rxrpc/ar-internal.h
+++ b/net/rxrpc/ar-internal.h
@@ -786,30 +786,6 @@ static inline void rxrpc_purge_queue(struct sk_buff_head *list)
rxrpc_free_skb(skb);
}
-static inline void __rxrpc__atomic_inc(atomic_t *v)
-{
- CHECK_SLAB_OKAY(v);
- atomic_inc(v);
-}
-
-#define atomic_inc(v) __rxrpc__atomic_inc((v))
-
-static inline void __rxrpc__atomic_dec(atomic_t *v)
-{
- CHECK_SLAB_OKAY(v);
- atomic_dec(v);
-}
-
-#define atomic_dec(v) __rxrpc__atomic_dec((v))
-
-static inline int __rxrpc__atomic_dec_and_test(atomic_t *v)
-{
- CHECK_SLAB_OKAY(v);
- return atomic_dec_and_test(v);
-}
-
-#define atomic_dec_and_test(v) __rxrpc__atomic_dec_and_test((v))
-
static inline void __rxrpc_get_local(struct rxrpc_local *local, const char *f)
{
CHECK_SLAB_OKAY(&local->usage);
next prev parent reply other threads:[~2007-04-27 3:18 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-26 19:54 [PATCH 00/14] AF_RXRPC socket family and AFS rewrite [net-2.6] David Howells
2007-04-26 19:54 ` [PATCH 01/14] cancel_delayed_work: use del_timer() instead of del_timer_sync() [net-2.6] David Howells
2007-04-26 19:54 ` [PATCH 02/14] AF_RXRPC: Key facility changes for AF_RXRPC [net-2.6] David Howells
2007-04-26 19:54 ` [PATCH 03/14] AF_RXRPC: Make it possible to merely try to cancel timers from a module [net-2.6] David Howells
2007-04-26 19:54 ` [PATCH 04/14] AF_RXRPC: Provide secure RxRPC sockets for use by userspace and kernel both [net-2.6] David Howells
2007-04-27 7:52 ` netdev file size restrictions??? Was: Re: [PATCH 04/14] AF_RXRPC: Provide secure RxRPC sockets for Bill Fink
2007-04-27 7:55 ` David Miller
2007-04-26 19:54 ` [PATCH 05/14] AFS: Clean up the AFS sources [net-2.6] David Howells
2007-04-26 19:54 ` [PATCH 06/14] AF_RXRPC: Add an interface to the AF_RXRPC module for the AFS filesystem to use [net-2.6] David Howells
2007-04-26 19:54 ` [PATCH 07/14] AF_RXRPC: Make the in-kernel AFS filesystem use AF_RXRPC [net-2.6] David Howells
2007-04-26 19:54 ` [PATCH 08/14] AF_RXRPC: Delete the old RxRPC code. [net-2.6] David Howells
2007-04-26 19:55 ` [PATCH 09/14] AFS: Handle multiple mounts of an AFS superblock correctly [net-2.6] David Howells
2007-04-26 19:55 ` [PATCH 10/14] AFS: Add security support [net-2.6] David Howells
2007-04-26 19:55 ` [PATCH 11/14] AFS: Update the AFS fs documentation [net-2.6] David Howells
2007-04-26 19:55 ` [PATCH 12/14] AFS: Add support for the CB.GetCapabilities operation [net-2.6] David Howells
2007-04-26 19:55 ` [PATCH 13/14] AFS: Implement the CB.InitCallBackState3 " David Howells
2007-04-26 19:55 ` [PATCH 14/14] AFS: Add "directory write" support [net-2.6] David Howells
2007-04-26 23:15 ` [PATCH 00/14] AF_RXRPC socket family and AFS rewrite [net-2.6] David Miller
2007-04-27 3:08 ` David Miller
2007-04-27 3:12 ` David Miller
2007-04-27 3:18 ` David Miller [this message]
2007-04-27 11:59 ` David Howells
2007-04-27 3:20 ` David Miller
2007-04-27 12:03 ` David Howells
2007-04-27 3:41 ` David Miller
2007-04-27 14:28 ` David Howells
2007-04-27 11:30 ` David Howells
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=20070426.201829.110908085.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=dhowells@redhat.com \
--cc=netdev@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).