18 Nov, 2010
1 commit
-
The big kernel lock has been removed from all these files at some point,
leaving only the #include.Remove this too as a cleanup.
Signed-off-by: Arnd Bergmann
Signed-off-by: Linus Torvalds
14 Oct, 2009
1 commit
-
Remove the empty ioctl and the cycle_kernel_lock() in
eisa_eeprom_open() which got there with the big BKL push down. There
is nothing to wait for and sychronize with after the misc device has
been registered.Remove the empty ioctl as well. The generic code handles the -ENOTTY
if no ioctl function is provided.Signed-off-by: Thomas Gleixner
LKML-Reference:
Cc: Kyle McMartin
02 Aug, 2009
1 commit
-
loff_t is a signed type. If userspace passes a negative ppos, the "count"
range check is weakened. "count"s bigger than HPEE_MAX_LENGTH will pass the check.
Also, if ppos is negative, the readb(eisa_eeprom_addr + *ppos) will poke in random
memory.Signed-off-by: Michael Buesch
Cc: stable@kernel.org
Signed-off-by: Helge Deller
21 Oct, 2008
1 commit
-
Signed-off-by: Al Viro
03 Jul, 2008
1 commit
-
Signed-off-by: Arnd Bergmann
13 Feb, 2007
1 commit
-
Many struct file_operations in the kernel can be "const". Marking them const
moves these to the .rodata section, which avoids false sharing with potential
dirty data. In addition it'll catch accidental writes at compile time to
these shared resources.Signed-off-by: Arjan van de Ven
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
11 Jan, 2006
1 commit
-
Annotate eisa_eeprom_read() with __user.
Signed-off-by: Alexey Dobriyan
Signed-off-by: Matthew Wilcox
Signed-off-by: Kyle McMartin
17 Apr, 2005
1 commit
-
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.Let it rip!