14 Apr, 2009
1 commit
-
This is the second go through of the old DMA_nBIT_MASK macro,and there're not
so many of them left,so I put them into one patch.I hope this is the last round.
After this the definition of the old DMA_nBIT_MASK macro could be removed.Signed-off-by: Yang Hongyang
Cc: Russell King
Cc: Tony Lindgren
Cc: "David S. Miller"
Cc: James Bottomley
Cc: Greg KH
Cc: Takashi Iwai
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
07 Apr, 2009
1 commit
-
Replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32)
Signed-off-by: Yang Hongyang
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
22 Mar, 2009
2 commits
-
Change printk() argument to fix compiler warning.
Signed-off-by: Stephen Hemminger
Signed-off-by: David S. Miller
17 Mar, 2009
3 commits
-
Signed-off-by: David Woodhouse
-
Signed-off-by: Nathan Williams
Signed-off-by: David Woodhouse -
Signed-off-by: David Woodhouse
24 Feb, 2009
1 commit
19 Feb, 2009
2 commits
-
Signed-off-by: Roel Kluin
Signed-off-by: David S. Miller -
Add missing parentheses
Signed-off-by: Roel Kluin
Signed-off-by: David S. Miller
11 Feb, 2009
1 commit
-
Fore 200 ATM driver fails to handle request_firmware failures and oopses
when no firmware file was found. Fix it by checking for the right return
values and propaganting the return value up.Signed-off-by: Meelis Roos
Signed-off-by: David S. Miller
09 Feb, 2009
1 commit
-
Error handling code following a kmalloc should free the allocated data.
The semantic match that finds the problem is as follows:
(http://www.emn.fr/x-info/coccinelle/)//
@r exists@
local idexpression x;
statement S;
expression E;
identifier f,l;
position p1,p2;
expression *ptr != NULL;
@@(
if ((x@p1 = \(kmalloc\|kzalloc\|kcalloc\)(...)) == NULL) S
|
x@p1 = \(kmalloc\|kzalloc\|kcalloc\)(...);
...
if (x == NULL) S
)
}
x->f = E
...>
(
return \(0\|\|ptr\);
|
return@p2 ...;
)@script:python@
p1 << r.p1;
p2 << r.p2;
@@print "* file: %s kmalloc %s return %s" % (p1[0].file,p1[0].line,p2[0].line)
//Signed-off-by: Julia Lawall
Signed-off-by: David S. Miller
30 Jan, 2009
5 commits
-
Signed-off-by: David Woodhouse
-
Signed-off-by: David Woodhouse
-
Signed-off-by: David Woodhouse
-
Signed-off-by: David Woodhouse
-
Signed-off-by: David Woodhouse
29 Jan, 2009
8 commits
-
Signed-off-by: David Woodhouse
-
Signed-off-by: David Woodhouse
-
Signed-off-by: David Woodhouse
-
Signed-off-by: David Woodhouse
-
Neither of these are necessary.
Signed-off-by: David Woodhouse
-
Signed-off-by: David Woodhouse
-
Signed-off-by: David Woodhouse
-
Signed-off-by: David Woodhouse
28 Jan, 2009
4 commits
-
Signed-off-by: David Woodhouse
-
Signed-off-by: David Woodhouse
-
Signed-off-by: David Woodhouse
-
Signed-off-by: David Woodhouse
27 Jan, 2009
10 commits
-
Signed-off-by: David Woodhouse
-
Signed-off-by: David Woodhouse
-
Signed-off-by: David Woodhouse
-
I don't much like the trick with multiple inclusions of solos-attrlist.c
but don't really see a saner way to do it without repeating the list.Signed-off-by: David Woodhouse
-
There are still a _lot_ of attributes, but for at least the basic ones
we want to be able to get/set them from the kernel. Especially the ones
we want to inform the ATM core about (link state, speed).Signed-off-by: David Woodhouse
-
Signed-off-by: David Woodhouse
-
We no longer try to load firmware while the ATM is up and running.
However, this means that we _do_ make init_module() wait for it, and it
takes a long time for now (since we're using ultra-conservative code in
the FPGA for that too).The inner loop which uses swahb32p() was by Simon Farnsworth.
Simon has patches which migrate us to request_firmware_nowait(), for
which we'll actually need to take down the ATM devices, do the upgrade,
then reregister them.Signed-off-by: David Woodhouse
-
This is just a straight pull in of changes, syncing us up to 0.07 from
openadsl.sf.netSigned-off-by: Nathan Williams
Signed-off-by: Simon Farnsworth
Signed-off-by: David Woodhouse -
Print a message if pskb_expand_head fails.
Make atmdebug writable by root, so that you can turn printing of data sent to
and received from the card on and off at runtime - useful for tracking
corruption.Signed-off-by: Simon Farnsworth
Signed-off-by: David Woodhouse -
The length field shouldn't ever include the size of the header itself.
This fixes the problem that some people were seeing with 1500-byte
packets.Signed-off-by: David Woodhouse
09 Jan, 2009
1 commit
-
In preparation for the introduction of a generic swap() macro.
Signed-off-by: Wu Fengguang
Acked-by: David S. Miller
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds