Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6

Conflicts:
	drivers/net/sfc/sfe4001.c
	drivers/net/wireless/libertas/cmd.c
	drivers/staging/Kconfig
	drivers/staging/Makefile
	drivers/staging/rtl8187se/Kconfig
	drivers/staging/rtl8192e/Kconfig
This commit is contained in:
David S. Miller 2009-11-18 22:19:03 -08:00
commit 3505d1a9fd
1961 changed files with 85021 additions and 28664 deletions

View file

@ -18,6 +18,7 @@
#include <linux/device.h>
#include <linux/file.h>
#include <linux/cdev.h>
#include <linux/sched.h>
#include <linux/spinlock.h>
#include <linux/delay.h>
#include <linux/uaccess.h>

View file

@ -22,6 +22,7 @@
*
*/
#include <linux/sched.h>
#include "ibmasm.h"
#include "lowlevel.h"

View file

@ -22,6 +22,7 @@
*
*/
#include <linux/sched.h>
#include "ibmasm.h"
#include "lowlevel.h"

View file

@ -20,6 +20,7 @@
*
*/
#include <linux/sched.h>
#include "ibmasm.h"
#include "dot_command.h"

View file

@ -22,6 +22,7 @@
#include <linux/interrupt.h>
#include <linux/cdev.h>
#include <linux/phantom.h>
#include <linux/sched.h>
#include <linux/smp_lock.h>
#include <asm/atomic.h>

View file

@ -161,14 +161,15 @@ static int options_show(struct seq_file *s, void *p)
static ssize_t options_write(struct file *file, const char __user *userbuf,
size_t count, loff_t *data)
{
unsigned long val;
char buf[80];
char buf[20];
if (strncpy_from_user(buf, userbuf, sizeof(buf) - 1) < 0)
if (count >= sizeof(buf))
return -EINVAL;
if (copy_from_user(buf, userbuf, count))
return -EFAULT;
buf[count - 1] = '\0';
if (!strict_strtoul(buf, 10, &val))
gru_options = val;
buf[count] = '\0';
if (strict_strtoul(buf, 0, &gru_options))
return -EINVAL;
return count;
}