06 Oct, 2005
1 commit
-
drivers/mfd/ucb1x00-core.c:555: error: static declaration of 'ucb1x00_class' follows non-static declaration
drivers/mfd/ucb1x00.h:109: error: previous declaration of 'ucb1x00_class' was hereSince ucb1x00_class isn't used by anything, remove the extern
declaration and the symbol export.Signed-off-by: Russell King
05 Oct, 2005
22 commits
-
Just enables some extra printk's, but still.. Only the sysadmin should
be able to do that.Signed-off-by: Linus Torvalds
-
Older Macs which uses the VIA chip timers to calibrate the timebase used
some code that wouldn't work if HZ wasn't divisible by 100...This fixes it at least for 250. Not totally perfect but should be
enough for now (so it at least works with the default value which is now
250).There is still a potential issue with the core using CLOCK_TICK_RATE to
maintain xtime and CLOCK_TICK_RATE value on ppc32 is pure crap, but that
is a different problem, this patch at least brings us back to our
previous situation.Signed-off-by: Benjamin Herrenschmidt
Signed-off-by: Linus Torvalds -
If we switch extern inline to static inline, we'd better switch the
pre-declarations we use to say that these puppies have
__attribute_const__ on them.Otherwise we get extern declaration followed by static inline one.
Which makes gcc unhappy, and for a good reason...Signed-off-by: Al Viro
Signed-off-by: David S. Miller
Signed-off-by: Linus Torvalds -
The orinoco driver can send uninitialized data exposing random pieces of
the system memory. This happens because data is not padded with zeroes
when its length needs to be increased.Reported by Meder Kydyraliev
Signed-off-by: Pavel Roskin
Signed-off-by: Jeff Garzik -
Macro ended up backwards during one of cleanups. Found by Alessandro Zummo.
Signed-off-by: Deepak Saxena
Signed-off-by: Linus Torvalds -
Drop global bit from early low mappings
Suggested by Linus, originally also proposed by Suresh.
This fixes a race condition with early start of udev, originally
tracked down by Suresh B. Siddha. The problem was that switching
to the user space VM would not clear the global low mappings
for the beginning of memory, which lead to memory corruption.Drop the global bits.
The kernel mapping stays global because it should stay constant.
Signed-off-by: Andi Kleen
Signed-off-by: Linus Torvalds -
Patch from Nicolas Pitre
If gcc decides to assign lr to %0 we're screwed.
Signed-off-by: Nicolas Pitre
Signed-off-by: Russell King -
Patch from Nicolas Pitre
The cmpxchg emulation syscall needs write access.
Signed-off-by: Nicolas Pitre
Signed-off-by: Russell King -
Patch from Sascha Hauer
Current implementation of imx_gpio_mode does not allow to
configure all alternate routing possibilities of the i.MX. With
this patch every bit in the gpio setup registers has a
corresponding bit in the gpio_mode parameter, so every routing
should be possible now.Signed-off-by: Sascha Hauer
Signed-off-by: Russell King -
Patch from Sascha Hauer
After coming out of idle mode the h720x goes into slow mode. Switch
it back to run mode.Signed-off-by: Sascha Hauer
Signed-off-by: Russell King -
The old code had the IP and SP coming from the registers in the thread
struct, which are completely wrong since those are the userspace
registers. This fixes that by pulling the correct values from the
jmp_buf in which the kernel state of each thread is stored.Signed-off-by: Allan Graves
Signed-off-by: Jeff Dike
Signed-off-by: Linus Torvalds -
Al's build tidying missed one bit from me - without this UML doesn't boot.
Signed-off-by: Jeff Dike
Acked-by: Al Viro
Signed-off-by: Linus Torvalds -
bfs_fill_super() walks the inode table to get the bitmap of free inodes
and collect stats. It has no business using iget() for that - it's a
lot of extra work, extra icache pollution and more complex code.
Switched to walking the damn thing directly.Note: that also allows to kill ->i_dsk_ino in there - separate patch if
Tigran can confirm that this field can be zero only for deleted inodes
(i.e. something that could only be found during that scan and not by
normal lookups).Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds -
Signed-off-by: Alexey Dobriyan
Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds -
On several failure exits in ibmtr we end up doing kfree() on dev->priv,
with dev allocated by alloc_trdev() and ->priv never reassigned.Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds -
megaraid_sas depends on arch-specific indirect includes pulling
fs.h in; on alpha they do not.Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds -
The patch below introduces special thresholds to keep root node in the trie
large. This gives a flatter tree at the cost of a modest memory increase.
Overall it seems to be gain and this was also proposed by one the authors
of the paper in recent a seminar.Main table after loading 123 k routes.
Aver depth: 3.30
Max depth: 9
Root-node size 12 bits
Total size: 4044 kBWith the patch:
Aver depth: 2.78
Max depth: 8
Root-node size 15 bits
Total size: 4150 kBAn increase of 8-10% was seen in forwading performance for an rDoS attack.
Signed-off-by: Robert Olsson
Signed-off-by: David S. Miller -
Signed-off-by: YOSHIFUJI Hideaki
Signed-off-by: David S. Miller
04 Oct, 2005
17 commits
-
which we now cast to 64-bit first (fs/ntfs/mft.c::map_mft_record_page().
Signed-off-by: Anton Altaparmakov
-
count to become negative and hence we had a wild memset() scribbling
all over the system's ram.Signed-off-by: Anton Altaparmakov
-
Fix nocast sparse warnings in sungen:
drivers/net/sungem.h:1040:45: warning: implicit cast to nocast typeSigned-off-by: Randy Dunlap
Signed-off-by: Jeff Garzik -
Fix implicit nocast warnings in ns83820 code, including __nocast:
drivers/net/ns83820.c:603:46: warning: implicit cast to nocast typeSigned-off-by: Randy Dunlap
Signed-off-by: Jeff Garzik -
Fix implicit nocast warnings in ieee80211 code, including __nocast:
net/ieee80211/ieee80211_tx.c:215:9: warning: implicit cast to nocast typeSigned-off-by: Randy Dunlap
Signed-off-by: Jeff Garzik -
Unfortunately, [your patch] might address the crash but doesn't address
the real problem. It turns out that the problem is one of padding
(the firmware cksum engine works only on 32-bit chunks, yuck), so
the special casing for length == 1 wasn't sufficient anyway.This patch addresses the issue, as well the other issue of i386 +
CONFIG_HIGHMEM being broken. It is pretty much the same workaround
that Adaptec themselves used in their Windows driver. I have yet to
check if it fixes the problem when the skb is non-linear, but this
patch _will_ solve the problem for 99% of the users out there (those
not using sendfile).Signed-off-by: Ion Badulescu
Signed-off-by: Jeff Garzik -
This patch changes pocket and parallel adaptors to depend on PARPORT
instead of ISA in order to get the option in newer SuperIO based systems.Signed-off-by: Grant Coady
Signed-off-by: Jeff Garzik -
This patch adds support to the ibm_emac driver for platform-specific
unsupported PHY features.The patch attempts to determine the highest speed and duplex when
autonegotiation is unsupported.Signed-off-by: Wade Farnsworth
Signed-off-by: Jeff Garzik -
The patch below is necessary to allow my Digital DS21143 Tulip rev 48
ethernet interface to work in a 10Mbit Half Duplex network. Without
it, the driver keeps retrying other modes in an endless loop. It seems
like someone already had the same problem with a rev 65 board :)Signed-off-by: Philippe De Muyter
Signed-off-by: Jeff Garzik -
David S. Miller wrote:
>I think removing support for older ifenslave binaries is
>the least painful solution to this problem.This patch removes backwards compatibility for old ifenslave
binaries (ifenslave prior to verison 1.0.0).I did not similarly modify ifenslave itself; with sysfs on the
horizon, I don't see that as being worthwhile.Signed-off-by: Jay Vosburgh
Signed-off-by: Jeff Garzik -
From: Peter Tiedemann
From: Frank Pavlic
minor qeth fixes:
- free old skb in qeth_realloc_headroom after duplicating skb
- disable IPV6 support for Hipersockets devices
- call ccw_device_set_offline on every channel regardless
of the return value of the prior ccw_device_set_offline calls
- allocate qdio structures in DMA-area
- schedule recovery of appropriate card
when cable has been inserted again.
- add missing initialization of card->lock
- write sequence number in skb->cb for SNA protocol which
requires strictly serialized packets.Signed-off-by: Frank Pavlic
diffstat:
qeth.h | 2 ++
qeth_main.c | 37 +++++++++++++++++--------------------
2 files changed, 19 insertions(+), 20 deletions(-)
Signed-off-by: Jeff Garzik -
The smc91c92_cs multicast does not work
if the count of multicast address is 1.Signed-off-by:
Signed-off-by: Jeff Garzik -
Fix implicit nocast warnings in ieee80211 code:
net/ieee80211/ieee80211_tx.c:215:9: warning: implicit cast to nocast typeSigned-off-by: Randy Dunlap
Signed-off-by: Jeff Garzik -
Fix implicit nocast warnings in ns83820 code:
drivers/net/ns83820.c:603:46: warning: implicit cast to nocast typeSigned-off-by: Randy Dunlap
Signed-off-by: Jeff Garzik -
Skge driver was bringing link up/down when changing mac
address. This doesn't work in the bonding environment, and is
more effort than needed.Fixes-bug: http://bugzilla.kernel.org/show_bug.cgi?id=5271
Signed-off-by: Stephen Hemminger
Signed-off-by: Jeff Garzik -
The lock is not held when calling this function, so we
shouldn't drop then reacquire it.Based upon a report from Jim MacBaine.
Signed-off-by: David S. Miller