[PATCH] uml: some harmless sparse warning fixes
Fix some simple sparse warnings - a lot more staticness and a misplaced __user. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Cc: Jeff Dike <jdike@addtoit.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
4cd7ed9442
commit
42947cb98f
@@ -26,7 +26,7 @@ struct mcast_init {
|
||||
int ttl;
|
||||
};
|
||||
|
||||
void mcast_init(struct net_device *dev, void *data)
|
||||
static void mcast_init(struct net_device *dev, void *data)
|
||||
{
|
||||
struct uml_net_private *pri;
|
||||
struct mcast_data *dpri;
|
||||
|
Reference in New Issue
Block a user