[patch 1/1] drivers/net/ethernet/qlogic/qed/qed_rdma.h: fix typo

2018-11-15 Thread akpm
From: Andrew Morton Subject: drivers/net/ethernet/qlogic/qed/qed_rdma.h: fix typo Add missing semicolon. Fixes: 291d57f67d244973 ("qed: Fix rdma_info structure allocation") Cc: Michal Kalderon Cc: Denis Bolotin Cc: David S. Miller Signed-off-by: Andrew Morton ---

[patch 1/1] net/netfilter/x_tables.c: make allocation less aggressive

2018-01-30 Thread akpm
From: Michal Hocko Subject: net/netfilter/x_tables.c: make allocation less aggressive syzbot has noticed that xt_alloc_table_info can allocate a lot of memory. This is an admin only interface but an admin in a namespace is sufficient as well. eacd86ca3b03

[patch 1/1] net/sched/sch_prio.c: work around gcc-4.4.4 union initializer issues

2018-01-18 Thread akpm
From: Andrew Morton Subject: net/sched/sch_prio.c: work around gcc-4.4.4 union initializer issues gcc-4.4.4 has problems witn anon union initializers. Work around this. net/sched/sch_prio.c: In function 'prio_dump_offload': net/sched/sch_prio.c:260: error: unknown

[patch 1/1] net/ipv6/route.c: work around gcc-4.4.4 anon union initializer issue

2018-01-12 Thread akpm
From: Andrew Morton Subject: net/ipv6/route.c: work around gcc-4.4.4 anon union initializer issue gcc-4.4.4 has problems with initializers of anonymous union fields. net/ipv6/route.c: In function 'rt6_sync_up': net/ipv6/route.c:3586: error: unknown field 'nh_flags'

[patch 1/1] net/sched/sch_red.c: work around gcc-4.4.4 anon union initializer issue

2017-11-10 Thread akpm
From: Andrew Morton Subject: net/sched/sch_red.c: work around gcc-4.4.4 anon union initializer issue gcc-4.4.4 (at lest) has issues with initializers and anonymous unions: net/sched/sch_red.c: In function 'red_dump_offload': net/sched/sch_red.c:282: error: unknown

[patch 2/2] drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c: fix build with gcc-4.4.4

2017-03-31 Thread akpm
From: Andrew Morton Subject: drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c: fix build with gcc-4.4.4 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c: In function 'mlx5e_set_rxfh': drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c:1067: error: unknown

[patch 1/2] drivers/net/ethernet/mellanox/mlx5/core/en_main.c: fix build with gcc-4.4.4

2017-03-31 Thread akpm
From: Andrew Morton Subject: drivers/net/ethernet/mellanox/mlx5/core/en_main.c: fix build with gcc-4.4.4 drivers/net/ethernet/mellanox/mlx5/core/en_main.c: In function 'mlx5e_redirect_rqts': drivers/net/ethernet/mellanox/mlx5/core/en_main.c:2210: error: unknown field

[patch 1/1] kernel/trace/bpf_trace.c: work around gcc-4.4.4 anon union initialization bug

2016-07-18 Thread akpm
From: Andrew Morton Subject: kernel/trace/bpf_trace.c: work around gcc-4.4.4 anon union initialization bug kernel/trace/bpf_trace.c: In function 'bpf_event_output': kernel/trace/bpf_trace.c:312: error: unknown field 'next' specified in initializer

[patch 4/7] bnx2.c section fix

2008-02-08 Thread akpm
From: Andrew Morton [EMAIL PROTECTED] gcc-3.4.4 on powerpc: drivers/net/bnx2.c:67: error: version causes a section type conflict Cc: Jeff Garzik [EMAIL PROTECTED] Cc: Sam Ravnborg [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/net/bnx2.c |4 ++-- 1 file

[patch 1/7] typhoon section fix

2008-02-08 Thread akpm
From: Andrew Morton [EMAIL PROTECTED] gcc-3.4.4 on powerpc: drivers/net/typhoon.c:137: error: version causes a section type conflict Cc: Jeff Garzik [EMAIL PROTECTED] Cc: Sam Ravnborg [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/net/typhoon.c |4 ++-- 1

[patch 2/7] natsemi section fix

2008-02-08 Thread akpm
From: Andrew Morton [EMAIL PROTECTED] gcc-3.4.4 on powerpc: drivers/net/natsemi.c:245: error: natsemi_pci_info causes a section type conflict Cc: Jeff Garzik [EMAIL PROTECTED] Cc: Sam Ravnborg [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/net/natsemi.c |6

[patch 3/7] bnx2x section fix

2008-02-08 Thread akpm
From: Andrew Morton [EMAIL PROTECTED] gcc-3.4.4 on powerpc: drivers/net/bnx2x.c:73: error: version causes a section type conflict Cc: Jeff Garzik [EMAIL PROTECTED] Cc: Sam Ravnborg [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/net/bnx2x.c |4 ++-- 1 file

[patch 6/7] starfire secton fix

2008-02-08 Thread akpm
From: Andrew Morton [EMAIL PROTECTED] gcc-3.4.4 on powerpc: drivers/net/starfire.c:219: error: version causes a section type conflict Cc: Jeff Garzik [EMAIL PROTECTED] Cc: Sam Ravnborg [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/net/starfire.c |2 +- 1

[patch 5/7] via-velocity section fix

2008-02-08 Thread akpm
From: Andrew Morton [EMAIL PROTECTED] gcc-3.4.4 on powerpc: drivers/net/via-velocity.c:443: error: chip_info_table causes a section type conflict on this one I had to remove the __devinitdata too. Don't know why. Cc: Jeff Garzik [EMAIL PROTECTED] Cc: Sam Ravnborg [EMAIL PROTECTED]

[patch 7/7] pppol2tp: fix printk warnings

2008-02-08 Thread akpm
From: Andrew Morton [EMAIL PROTECTED] drivers/net/pppol2tp.c: In function `pppol2tp_seq_tunnel_show': drivers/net/pppol2tp.c:2295: warning: long long unsigned int format, __u64 arg (arg 4) drivers/net/pppol2tp.c:2295: warning: long long unsigned int format, __u64 arg (arg 5)

[patch 1/2] hamradio: fix dmascc section mismatch

2008-02-04 Thread akpm
From: Randy Dunlap [EMAIL PROTECTED] hw[] is used in both init and exit functions so it cannot be initdata (section mismatch is when CONFIG_MODULES=n and CONFIG_DMASCC=y). WARNING: vmlinux.o(.exit.text+0xba7): Section mismatch: reference to .init.data: (between 'dmascc_exit' and

[patch 2/7] bluetooth: uninlining

2008-02-04 Thread akpm
From: Andrew Morton [EMAIL PROTECTED] Remove all those inlines which were either a) unneeded or b) increased code size. textdata bss dec hex filename before: 6997 74 870791ba7 net/bluetooth/hidp/core.o after:6492 74 8657419ae

[patch 1/7] bluetooth: hidp_process_hid_control remove unnecessary parameter dealing

2008-02-04 Thread akpm
From: Dave Young [EMAIL PROTECTED] According to the bluetooth HID spec v1.0 chapter 7.4.2 This code requests a major state change in a BT-HID device. A HID_CONTROL request does not generate a HANDSHAKE response. A HID_CONTROL packet with a parameter of VIRTUAL_CABLE_UNPLUG is the only

[patch 7/7] rfcomm tty: destroy before tty_close()

2008-02-04 Thread akpm
From: Dave Young [EMAIL PROTECTED] rfcomm dev could be deleted in tty_hangup, so we must not call rfcomm_dev_del again to prevent from destroying rfcomm dev before tty close. Signed-off-by: Dave Young [EMAIL PROTECTED] Cc: Marcel Holtmann [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL

[patch 3/7] drivers/bluetooth/bpa10x.c: fix memleak

2008-02-04 Thread akpm
From: Adrian Bunk [EMAIL PROTECTED] This patch fixea a memleak spotted by the Coverity checker. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/bluetooth/bpa10x.c |1 + 1 file changed, 1 insertion(+) diff -puN

[patch 5/7] bluetooth: blacklist another Broadcom BCM2035 device

2008-02-04 Thread akpm
From: Andy Shevchenko [EMAIL PROTECTED] This device is recognized as bluetooth, but still not works. Signed-off-by: Andy Shevchenko [EMAIL PROTECTED] Cc: Marcel Holtmann [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/bluetooth/hci_usb.c |1 + 1 file changed, 1

[patch 4/7] drivers/bluetooth/btsdio.c: fix double-free

2008-02-04 Thread akpm
From: Adrian Bunk [EMAIL PROTECTED] This patch fixes a double-free spotted by the Coverity checker. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/bluetooth/btsdio.c |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff -puN

[patch 3/4] mv643xx_eth: fix byte order when checksum offload is enabled

2008-02-04 Thread akpm
From: Byron Bradley [EMAIL PROTECTED] The Marvell Orion system on chips have an integrated mv643xx MAC. On these little endian ARM devices mv643xx will oops when checksum offload is enabled. Swapping the byte order of the protocol and checksum solves this problem. Signed-off-by: Byron Bradley

[patch 2/2] tun: impossible to deassert IFF_ONE_QUEUE or IFF_NO_PI

2008-02-04 Thread akpm
From: Nathaniel Filardo [EMAIL PROTECTED] Taken from http://bugzilla.kernel.org/show_bug.cgi?id=9806 The TUN/TAP driver only permits one-way transitions of IFF_NO_PI or IFF_ONE_QUEUE during the lifetime of a tap/tun interface. Note that tun_set_iff contains 541 if (ifr-ifr_flags

[patch 1/4] forcedeth: power down phy when interface is down

2008-02-04 Thread akpm
From: Ed Swierk [EMAIL PROTECTED] Bring the physical link down when the interface is down by placing the PHY in power-down state, unless WOL is enabled. This mirrors the behavior of other drivers including e1000 and tg3. Without the patch, ifconfig down leaves the physical link up, which

[patch 4/4] drivers/net/tlan.c: compilation warning fix

2008-02-04 Thread akpm
From: Leonardo Potenza [EMAIL PROTECTED] Add a check for the pci_register_driver() return value. Removed unused variable pad_allocated. The aim of this patch is to remove the following warning messages: drivers/net/tlan.c: In function 'tlan_probe': drivers/net/tlan.c:486: warning: ignoring

[patch 2/4] forcedeth: fix MAC address detection on network card (regression in 2.6.23)

2008-02-04 Thread akpm
From: Michael Pyne [EMAIL PROTECTED] Partially revert a change to mac address detection introduced to the forcedeth driver. The change was intended to correct mac address detection for newer nVidia chipsets where the mac address was stored in reverse order. One of those chipsets appears to

[patch 6/7] hci_ldisc: fix null pointer deref

2008-02-04 Thread akpm
hdev-flush to NULL before returning. Hci_dev_do_close() does check for this. The code path is rather involved and I'm not entirely clear of all steps, but I think that's what should be done. akpm: No idea. trollmerge. Cc: Arjan van de Ven [EMAIL PROTECTED] Cc: Alan Cox [EMAIL PROTECTED

[patch 1/4] Updates to nfsroot documentation

2007-12-13 Thread akpm
From: Amos Waterland [EMAIL PROTECTED] The difference between ip=off and ip=::off has been a cause of much confusion. Document how each behaves, and do not contradict ourselves by saying that off is the default when in fact any is the default and is descibed as being so lower in the file.

[patch 3/4] tipc: fix semaphore handling

2007-12-13 Thread akpm
From: Andrew Morton [EMAIL PROTECTED] As noted by Kevin, tipc's release() does down_interruptible() and ignores the return value. So if signal_pending() we'll end up doing up() on a non-downed semaphore. Fix. Cc: Kevin Winchester [EMAIL PROTECTED] Cc: Per Liden [EMAIL PROTECTED] Cc: Jon Maloy

[patch 02/10] forcedeth: power down phy when interface is down

2007-12-13 Thread akpm
From: Ed Swierk [EMAIL PROTECTED] Bring the physical link down when the interface is down by placing the PHY in power-down state, unless WOL is enabled. This mirrors the behavior of other drivers including e1000 and tg3. Signed-off-by: Ed Swierk [EMAIL PROTECTED] Cc: Jeff Garzik [EMAIL

[patch 01/10] e1000e: make E1000E default to the same kconfig setting as E1000

2007-12-13 Thread akpm
From: Randy Dunlap [EMAIL PROTECTED] Make E1000E default to the same kconfig setting as E1000. So people's machiens don't stop working when they use oldconfig. Signed-off-by: Randy Dunlap [EMAIL PROTECTED] Cc: Jeff Garzik [EMAIL PROTECTED] Cc: Auke Kok [EMAIL PROTECTED] Signed-off-by: Andrew

[patch 03/10] forcedeth: fix MAC address detection on network card (regression in 2.6.23)

2007-12-13 Thread akpm
From: Michael Pyne [EMAIL PROTECTED] Partially revert a change to mac address detection introduced to the forcedeth driver. The change was intended to correct mac address detection for newer nVidia chipsets where the mac address was stored in reverse order. One of those chipsets appears to

[patch 10/10] PLIP driver: convert killed_timer_sem to completion

2007-12-13 Thread akpm
From: Matthias Kaehlcke [EMAIL PROTECTED] PLIP driver: convert the semaphore killed_timer_sem to a completion Signed-off-by: Matthias Kaehlcke [EMAIL PROTECTED] Cc: Jeff Garzik [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/net/plip.c | 10 +- 1 file

[patch 08/10] net: smc911x: shut up compiler warnings

2007-12-13 Thread akpm
From: Paul Mundt [EMAIL PROTECTED] Trivial fix to shut up gcc. Signed-off-by: Paul Mundt [EMAIL PROTECTED] Cc: Jeff Garzik [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/net/smc911x.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN

[patch 04/10] ucc_geth-fix-build-break-introduced-by-commit-09f75cd7bf13720738e6a196cc0107ce9a5bd5a0-checkpatch-fixes

2007-12-13 Thread akpm
From: Andrew Morton [EMAIL PROTECTED] Cc: David S. Miller [EMAIL PROTECTED] Cc: Emil Medve [EMAIL PROTECTED] Cc: Jeff Garzik [EMAIL PROTECTED] Cc: Kumar Gala [EMAIL PROTECTED] Cc: Li Yang [EMAIL PROTECTED] Cc: Paul Mackerras [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] ---

[patch 09/10] bnx2x depends on ZLIB_INFLATE

2007-12-13 Thread akpm
From: Lee Schermerhorn [EMAIL PROTECTED] The bnx2x module depends on the zlib_inflate functions. The build will fail if ZLIB_INFLATE has not been selected manually or by building another module that automatically selects it. Modify BNX2X config option to 'select ZLIB_INFLATE' like BNX2 and

[patch 05/10] pcmcia net: use roundup_pow_of_two() macro instead of grotesque loop

2007-12-13 Thread akpm
From: Robert P. J. Day [EMAIL PROTECTED] Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] Cc: Jeff Garzik [EMAIL PROTECTED] Cc: Dominik Brodowski [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/net/pcmcia/pcnet_cs.c |4 ++-- 1 file changed, 2 insertions(+), 2

[patch 06/10] Net: ibm_newemac, remove SPIN_LOCK_UNLOCKED

2007-12-13 Thread akpm
From: Jiri Slaby [EMAIL PROTECTED] SPIN_LOCK_UNLOCKED is deprecated, use DEFINE_SPINLOCK instead Signed-off-by: Jiri Slaby [EMAIL PROTECTED] Cc: Jeff Garzik [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/net/ibm_newemac/debug.c |2 +- 1 file changed, 1

[patch 07/10] e100: free IRQ to remove warning when rebooting

2007-12-13 Thread akpm
From: Ian Wienand [EMAIL PROTECTED] When rebooting today I got Will now restart. ACPI: PCI interrupt for device :00:03.0 disabled GSI 20 (level, low) - CPU 1 (0x0100) vector 53 unregistered Destroying IRQ53 without calling free_irq WARNING: at

[patch 4/4] PPP synchronous tty: convert dead_sem to completion

2007-12-13 Thread akpm
From: Matthias Kaehlcke [EMAIL PROTECTED] PPP synchronous tty channel driver: convert the semaphore dead_sem to a completion Signed-off-by: Matthias Kaehlcke [EMAIL PROTECTED] Cc: Paul Mackerras [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/net/ppp_synctty.c |

[patch 2/4] net: use mutex_is_locked() for ASSERT_RTNL()

2007-12-13 Thread akpm
From: Andrew Morton [EMAIL PROTECTED] ASSERT_RTNL() uses mutex_trylock(), but it's better to use mutex_is_locked(). Make that change, and remove rtnl_trylock() altogether. (not tested yet!) Cc: David S. Miller [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] ---

[patch 3/4] tlan list is subscribers-only

2007-11-21 Thread akpm
From: Gabriel C [EMAIL PROTECTED] Your mail to 'Tlan-devel' with the subject drivers/net/tlan question Is being held until the list moderator can review it for approval. The reason it is being held: Post by non-member to a members-only list Signed-off-by: Gabriel Craciunescu [EMAIL

[patch 4/4] Net: sunrpc, remove SPIN_LOCK_UNLOCKED

2007-11-21 Thread akpm
From: Jiri Slaby [EMAIL PROTECTED] sunrpc, remove SPIN_LOCK_UNLOCKED SPIN_LOCK_UNLOCKED is deprecated, use DEFINE_SPINLOCK instead Signed-off-by: Jiri Slaby [EMAIL PROTECTED] Cc: David S. Miller [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- net/sunrpc/xprt.c |2 +-

[patch 1/4] pfkey: sending an SADB_GET responds with an SADB_GET

2007-11-21 Thread akpm
From: Charles Hardin [EMAIL PROTECTED] Kernel needs to respond to an SADB_GET with the same message type to conform to the RFC 2367 Section 3.1.5 Cc: David S. Miller [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- net/key/af_key.c |2 +- 1 file changed, 1 insertion(+),

[patch 2/4] make sunrpc/xprtsock.c:xs_setup_{udp,tcp}() static

2007-11-21 Thread akpm
From: Adrian Bunk [EMAIL PROTECTED] xs_setup_{udp,tcp}() can now become static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- include/linux/sunrpc/xprtsock.h |6 -- net/sunrpc/xprtsock.c |4 ++-- 2 files changed, 2

[patch 5/8] pcmcia net: use roundup_pow_of_two() macro instead of grotesque loop

2007-11-21 Thread akpm
From: Robert P. J. Day [EMAIL PROTECTED] Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] Cc: Jeff Garzik [EMAIL PROTECTED] Cc: Dominik Brodowski [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/net/pcmcia/pcnet_cs.c |4 ++-- 1 file changed, 2 insertions(+), 2

[patch 8/8] forcedeth boot delay fix

2007-11-21 Thread akpm
From: Ayaz Abdulla [EMAIL PROTECTED] Fix a long boot delay in the forcedeth driver. During initialization, the timeout for the handshake between mgmt unit and driver can be very long. The patch reduces the timeout by eliminating a extra loop around the timeout logic. Addresses

[patch 3/8] ucc_geth-fix-build-break-introduced-by-commit-09f75cd7bf13720738e6a196cc0107ce9a5bd5a0-checkpatch-fixes

2007-11-21 Thread akpm
From: Andrew Morton [EMAIL PROTECTED] Cc: David S. Miller [EMAIL PROTECTED] Cc: Emil Medve [EMAIL PROTECTED] Cc: Jeff Garzik [EMAIL PROTECTED] Cc: Kumar Gala [EMAIL PROTECTED] Cc: Li Yang [EMAIL PROTECTED] Cc: Paul Mackerras [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] ---

[patch 4/8] drivers/net/chelsio/: #if 0 unused functions

2007-11-21 Thread akpm
From: Adrian Bunk [EMAIL PROTECTED] This patch #if 0's the following unused functions: - espi.c:t1_espi_set_misc_ctrl() - sge.c:t1_sched_set_max_avail_bytes() - sge.c:t1_sched_set_drain_bits_per_us() Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Cc: Jeff Garzik [EMAIL PROTECTED] Signed-off-by:

[patch 2/8] forcedeth: fix MAC address detection on network card (regression in 2.6.23)

2007-11-21 Thread akpm
From: Michael Pyne [EMAIL PROTECTED] Partially revert a change to mac address detection introduced to the forcedeth driver. The change was intended to correct mac address detection for newer nVidia chipsets where the mac address was stored in reverse order. One of those chipsets appears to

[patch 7/8] Net: ibm_newemac, remove SPIN_LOCK_UNLOCKED

2007-11-21 Thread akpm
From: Jiri Slaby [EMAIL PROTECTED] SPIN_LOCK_UNLOCKED is deprecated, use DEFINE_SPINLOCK instead Signed-off-by: Jiri Slaby [EMAIL PROTECTED] Cc: Jeff Garzik [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/net/ibm_newemac/debug.c |2 +- 1 file changed, 1

[patch 6/8] forcedeth: new mcp79 device ids

2007-11-21 Thread akpm
From: Ayaz Abdulla [EMAIL PROTECTED] Add new device ids and features for mcp79 devices into the forcedeth driver. Signed-off-by: Ayaz Abdulla [EMAIL PROTECTED] Cc: Jeff Garzik [EMAIL PROTECTED] Cc: Manfred Spraul [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL

[patch 2/5] bluetooth: uninlining

2007-11-21 Thread akpm
From: Andrew Morton [EMAIL PROTECTED] Remove all those inlines which were either a) unneeded or b) increased code size. textdata bss dec hex filename before: 6997 74 870791ba7 net/bluetooth/hidp/core.o after:6492 74 8657419ae

[patch 1/5] bluetooth: hidp_process_hid_control remove unnecessary parameter dealing

2007-11-21 Thread akpm
From: Dave Young [EMAIL PROTECTED] According to the bluetooth HID spec v1.0 chapter 7.4.2 This code requests a major state change in a BT-HID device. A HID_CONTROL request does not generate a HANDSHAKE response. A HID_CONTROL packet with a parameter of VIRTUAL_CABLE_UNPLUG is the only

[patch 5/5] bluetooth: blacklist another Broadcom BCM2035 device

2007-11-21 Thread akpm
From: Andy Shevchenko [EMAIL PROTECTED] This device is recognized as bluetooth, but still not works. Signed-off-by: Andy Shevchenko [EMAIL PROTECTED] Cc: Marcel Holtmann [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/bluetooth/hci_usb.c |1 + 1 file changed, 1

[patch 4/5] drivers/bluetooth/btsdio.c: fix double-free

2007-11-21 Thread akpm
From: Adrian Bunk [EMAIL PROTECTED] This patch fixes a double-free spotted by the Coverity checker. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/bluetooth/btsdio.c |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff -puN

[patch 3/5] drivers/bluetooth/bpa10x.c: fix memleak

2007-11-21 Thread akpm
From: Adrian Bunk [EMAIL PROTECTED] This patch fixea a memleak spotted by the Coverity checker. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/bluetooth/bpa10x.c |1 + 1 file changed, 1 insertion(+) diff -puN

[patch 1/8] forcedeth: power down phy when interface is down

2007-11-21 Thread akpm
From: Ed Swierk [EMAIL PROTECTED] Bring the physical link down when the interface is down by placing the PHY in power-down state, unless WOL is enabled. This mirrors the behavior of other drivers including e1000 and tg3. Signed-off-by: Ed Swierk [EMAIL PROTECTED] Cc: Jeff Garzik [EMAIL

[patch 1/4] forcedeth: power down phy when interface is down

2007-10-16 Thread akpm
From: Ed Swierk [EMAIL PROTECTED] Bring the physical link down when the interface is down by placing the PHY in power-down state, unless WOL is enabled. This mirrors the behavior of other drivers including e1000 and tg3. Signed-off-by: Ed Swierk [EMAIL PROTECTED] Cc: Jeff Garzik [EMAIL

[patch 3/4] WOL bugfix for 3c59x.c

2007-10-16 Thread akpm
From: Steffen Klassert [EMAIL PROTECTED] Some NICs (3c905B) can not generate PME in power state PCI_D0, while others like 3c905C can. Call pci_enable_wake() with PCI_D3hot should give proper WOL for 3c905B. Signed-off-by: Steffen Klassert [EMAIL PROTECTED] Tested-by: Harry Coin [EMAIL

[patch 4/4] ucc_geth-fix-build-break-introduced-by-commit-09f75cd7bf13720738e6a196cc0107ce9a5bd5a0-checkpatch-fixes

2007-10-16 Thread akpm
From: Andrew Morton [EMAIL PROTECTED] Cc: David S. Miller [EMAIL PROTECTED] Cc: Emil Medve [EMAIL PROTECTED] Cc: Jeff Garzik [EMAIL PROTECTED] Cc: Kumar Gala [EMAIL PROTECTED] Cc: Li Yang [EMAIL PROTECTED] Cc: Paul Mackerras [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] ---

[patch 2/4] tokenring/3c359.c: fixed array index problem

2007-10-16 Thread akpm
From: Marcus Meissner [EMAIL PROTECTED] The xl_laa array is just 6 bytes long, so we should substract 10 from the index, like is also done some lines above already. Signed-off-by: Marcus Meissner [EMAIL PROTECTED] Reviewed-by: Pekka Enberg [EMAIL PROTECTED] Cc: Jeff Garzik [EMAIL PROTECTED]

[patch 1/3] git-net: make it compile (not for applying?)

2007-10-02 Thread akpm
From: Andrew Morton [EMAIL PROTECTED] drivers/net/hamradio/baycom_epp.c: In function 'baycom_probe': drivers/net/hamradio/baycom_epp.c:1162: error: 'struct net_device' has no member named 'hard_header' drivers/net/hamradio/baycom_epp.c:1163: error: 'struct net_device' has no member named

[patch 3/3] git-net: sctp build fix (not for applying)

2007-10-02 Thread akpm
From: Andrew Morton [EMAIL PROTECTED] net/sctp/sm_statetable.c:551: error: 'sctp_sf_tabort_8_4_8' undeclared here (not in a function) Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- net/sctp/sm_statetable.c |2 -- 1 file changed, 2 deletions(-) diff -puN

[patch 2/3] ipg.c doesn't compile with with CONFIG_HIGHMEM64G

2007-10-02 Thread akpm
From: trem [EMAIL PROTECTED] I've tried to compile 2.6.23-rc8-mm2, but it fails on ipg.c with the error : ERROR: __udivdi3 [drivers/net/ipg.ko] undefined! I've instigated a bit, and I've found this code in ipg.c : static void ipg_nic_txfree(struct net_device *dev) { struct

[patch 04/13] Avoid possible NULL pointer deref in 3c359 driver

2007-10-02 Thread akpm
From: Jesper Juhl [EMAIL PROTECTED] In xl_freemem(), if dev_if is NULL, the line struct xl_private *xl_priv =(struct xl_private *)dev-priv; will cause a NULL pointer dereference. (akpm: don't try to fix it: just delete the pointless test-for-null) Signed-off-by: Jesper Juhl [EMAIL PROTECTED

[patch 01/13] PHY fixed driver: rework release path and update phy_id notation

2007-10-02 Thread akpm
From: Vitaly Bordug [EMAIL PROTECTED] device_bind_driver() error code returning has been fixed. release() function has been written, so that to free resources in correct way; the release path is now clean. Before the rework, it used to cause Device '[EMAIL PROTECTED]:1' does not have a

[patch 05/13] skge: remove broken and unused PHY_M_PC_MDI_XMODE macro

2007-10-02 Thread akpm
From: Mariusz Kozlowski [EMAIL PROTECTED] Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED] Cc: Stephen Hemminger [EMAIL PROTECTED] Cc: Jeff Garzik [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/net/skge.h |2 -- 1 file changed, 2 deletions(-) diff -puN

[patch 08/13] forcedeth: power down phy when interface is down

2007-10-02 Thread akpm
From: Ed Swierk [EMAIL PROTECTED] Bring the physical link down when the interface is down, by placing the PHY in power-down state. This mirrors the behavior of other drivers including e1000 and tg3. Signed-off-by: Ed Swierk [EMAIL PROTECTED] Cc: Ayaz Abdulla [EMAIL PROTECTED] Cc: Jeff Garzik

[patch 09/13] forcedeth: no link is informational

2007-10-02 Thread akpm
From: Ed Swierk [EMAIL PROTECTED] Log no link during initialization at KERN_INFO as it's not an error, and occurs every time the interface comes up (when the forcedeth-phy-power-down patch is applied). Signed-off-by: Ed Swierk [EMAIL PROTECTED] Cc: Ayaz Abdulla [EMAIL PROTECTED] Cc: Jeff Garzik

[patch 03/13] drivers/net/cxgb3/xgmac.c: remove dead code

2007-10-02 Thread akpm
From: Adrian Bunk [EMAIL PROTECTED] This patch removes dead code (tx_xcnt can never be != 0 at this place) spotted by the Coverity checker. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/net/cxgb3/xgmac.c |5 + 1 file changed, 1

[patch 02/13] PCI-X/PCI-Express read control interfaces: use them in e1000

2007-10-02 Thread akpm
From: Peter Oruba [EMAIL PROTECTED] These driver changes incorporate the proposed PCI-X / PCI-Express read byte count interface. Reading and setting those valuse doesn't take place manually, instead wrapping functions are called to allow quirks for some PCI bridges. [EMAIL PROTECTED]: e1000:

[patch 07/13] PHYLIB: Spinlock fixes for softirqs

2007-10-02 Thread akpm
From: Maciej W. Rozycki [EMAIL PROTECTED] Use spin_lock_bh()/spin_unlock_bh() for the phydev lock throughout as it is used in phy_timer() that is called as a softirq and all the other operations may happen in the user context. There has been a change recently that did such a conversion for some

[patch 06/13] Fix a potential NULL pointer dereference in uli526x_interrupt() in drivers/net/tulip/uli526x.c

2007-10-02 Thread akpm
From: Micah Gruber [EMAIL PROTECTED] This patch fixes an apparent potential null dereference bug where we dereference dev before a null check. This patch simply remvoes the can't-happen test for a null pointer. Signed-off-by: Micah Gruber [EMAIL PROTECTED] Cc: Grant Grundler [EMAIL PROTECTED]

[patch 10/13] PHYLIB: IRQ event workqueue handling fixes

2007-10-02 Thread akpm
From: Maciej W. Rozycki [EMAIL PROTECTED] Keep track of disable_irq_nosync() invocations and call enable_irq() the right number of times if work has been cancelled that would include them. Now that the call to flush_work_keventd() (problematic because of rtnl_mutex being held) has been replaced

[patch 12/13] Clean up redundant PHY write line for ULi526x Ethernet driver

2007-10-02 Thread akpm
From: Roy Zang [EMAIL PROTECTED] Clean up redundant PHY write line for ULi526x Ethernet Driver. Signed-off-by: Roy Zang [EMAIL PROTECTED] Cc: Jeff Garzik [EMAIL PROTECTED] Acked-by: Grant Grundler [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/net/tulip/uli526x.c

[patch 11/13] PHYLIB: fix an interrupt loop potential when halting

2007-10-02 Thread akpm
From: Maciej W. Rozycki [EMAIL PROTECTED] Ensure the PHY_HALTED state is not entered with the IRQ asserted as it could lead to an interrupt loop. There is a small window in phy_stop(), where the state of the PHY machine indicates it has been halted, but its interrupt output might still be

[patch 13/13] ax88796: add 93cx6 eeprom support

2007-10-02 Thread akpm
From: Magnus Damm [EMAIL PROTECTED] Hook up the 93cx6 eeprom code to the ax88796 driver and modify the ax88796 driver to read out the mac address from the eeprom. We need this for the ax88796 on certain SuperH boards. The pin configuration used to connect the eeprom to the ax88796 on these

[patch 01/18] revert 8139too: clean up I/O remapping

2007-08-10 Thread akpm
From: Andrew Morton [EMAIL PROTECTED] Revert git-netdev-all's 9ee6b32a47b9abc565466a9c3b127a5246b452e5. Michal was getting oopses. Cc: Michal Piotrowski [EMAIL PROTECTED] Cc: Jeff Garzik [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/net/8139too.c | 50

[patch 07/18] PCI-X/PCI-Express read control interfaces: use them in e1000

2007-08-10 Thread akpm
From: Peter Oruba [EMAIL PROTECTED] These driver changes incorporate the proposed PCI-X / PCI-Express read byte count interface. Reading and setting those valuse doesn't take place manually, instead wrapping functions are called to allow quirks for some PCI bridges. Signed-off by: Peter Oruba

[patch 02/18] sundance: PHY address form 0, only for device ID 0x0200 (IP100A) (20070605)

2007-08-10 Thread akpm
From: Jesse Huang [EMAIL PROTECTED] Search PHY address form 0, only for device ID 0x0200 (IP100A). Other device are from PHY address 1. Signed-off-by: Jesse Huang [EMAIL PROTECTED] Cc: Jeff Garzik [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/net/sundance.c |

[patch 05/18] PHY fixed driver: rework release path and update phy_id notation

2007-08-10 Thread akpm
From: Vitaly Bordug [EMAIL PROTECTED] device_bind_driver() error code returning has been fixed. release() function has been written, so that to free resources in correct way; the release path is now clean. Before the rework, it used to cause Device '[EMAIL PROTECTED]:1' does not have a

[patch 04/18] via-rhine: disable rx_copybreak on archs that don't allow unaligned DMA access

2007-08-10 Thread akpm
From: Dustin Marquess [EMAIL PROTECTED] Patch to disable the rx_copybreak feature on hardware architectures that don't allow unaligned DMA access. #ifdef code taken from tulip_core.c. Problem pointed out by Ivan Kokshaysky. Signed-off-by: Dustin Marquess [EMAIL PROTECTED] Cc: Francois Romieu

[patch 06/18] PCI-X/PCI-Express read control interfaces: use them in myrinet

2007-08-10 Thread akpm
From: Peter Oruba [EMAIL PROTECTED] These driver changes incorporate the proposed PCI-X / PCI-Express read byte count interface. Reading and setting those valuse doesn't take place manually, instead wrapping functions are called to allow quirks for some PCI bridges. Signed-off by: Peter Oruba

[patch 03/18] drivers/net/ns83820.c: add paramter to disable autonegotiation

2007-08-10 Thread akpm
PROTECTED] Cc: Benjamin LaHaise [EMAIL PROTECTED] Cc: Jeff Garzik [EMAIL PROTECTED] [akpm: this is a previously-nacked patch, but the problem is real] On Mon, 26 Jun 2006 12:29:28 -0400 Benjamin LaHaise [EMAIL PROTECTED] wrote: On Sun, Jun 25, 2006 at 01:44:36AM -0700, [EMAIL PROTECTED] wrote

[patch 08/18] 3c59x: check return of pci_enable_device()

2007-08-10 Thread akpm
From: Mark Hindley [EMAIL PROTECTED] Check return of pci_enable_device in vortex_up(). Signed-off-by: Mark Hindley [EMAIL PROTECTED] Acked-by: Steffen Klassert [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/net/3c59x.c |8 ++-- 1 files changed, 6

[patch 07/28] Clean up duplicate includes in net/sched/

2007-08-10 Thread akpm
From: Jesper Juhl [EMAIL PROTECTED] This patch cleans up duplicate includes in net/sched/ Signed-off-by: Jesper Juhl [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- net/sched/act_police.c |1 - 1 files changed, 1 deletion(-) diff -puN

[patch 09/28] Clean up duplicate includes in net/tipc/

2007-08-10 Thread akpm
From: Jesper Juhl [EMAIL PROTECTED] This patch cleans up duplicate includes in net/tipc/ Signed-off-by: Jesper Juhl [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- net/tipc/port.c |1 - 1 files changed, 1 deletion(-) diff -puN

[patch 13/28] fib_trie: macro cleanup

2007-08-10 Thread akpm
From: Stephen Hemminger [EMAIL PROTECTED] This patch converts the messy macro for MASK_PFX to inline function and expands TKEY_GET_MASK in the one place it is used. Cc: David S. Miller [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- net/ipv4/fib_trie.c | 18

[patch 12/28] fib_trie: cleanup

2007-08-10 Thread akpm
From: Stephen Hemminger [EMAIL PROTECTED] Try this out: * replace macro's with inlines * get rid of places doing multiple evaluations of NODE_PARENT [EMAIL PROTECTED]: rcu_dereference wants an lval] Cc: David S. Miller [EMAIL PROTECTED] Cc: Paul E. McKenney [EMAIL PROTECTED]

[patch 01/28] fore200e_param_bs_queue() must be __devinit

2007-08-10 Thread akpm
From: Adrian Bunk [EMAIL PROTECTED] WARNING: drivers/built-in.o(.text+0x6203bb): Section mismatch: reference to .init.text:fore200e_param_bs_queue (between 'fore200e_initialize' and 'fore200e_monitor_putc') Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL

[patch 10/28] Clean up duplicate includes in net/xfrm/

2007-08-10 Thread akpm
From: Jesper Juhl [EMAIL PROTECTED] This patch cleans up duplicate includes in net/xfrm/ Signed-off-by: Jesper Juhl [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- net/xfrm/xfrm_policy.c |3 +-- net/xfrm/xfrm_state.c |3 +-- 2 files changed, 2

[patch 14/28] dccp: fix memory leak and clean up style - dccp_feat_empty_confirm()

2007-08-10 Thread akpm
From: Jesper Juhl [EMAIL PROTECTED] There's a memory leak in net/dccp/feat.c::dccp_feat_empty_confirm(). If we hit the 'default:' case of the 'switch' statement, then we return without freeing 'opt', thus leaking 'struct dccp_opt_pend' bytes. The leak is fixed easily enough by adding a

[patch 03/28] Clean up duplicate includes in drivers/atm/

2007-08-10 Thread akpm
From: Jesper Juhl [EMAIL PROTECTED] This patch cleans up duplicate includes in drivers/atm/ Signed-off-by: Jesper Juhl [EMAIL PROTECTED] Cc: Chas Williams [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/atm/lanai.c |1 - 1 files changed, 1 deletion(-)

[patch 04/28] Clean up duplicate includes in net/atm/

2007-08-10 Thread akpm
From: Jesper Juhl [EMAIL PROTECTED] This patch cleans up duplicate includes in net/atm/ Signed-off-by: Jesper Juhl [EMAIL PROTECTED] Cc: Chas Williams [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- net/atm/lec.c |1 - 1 files changed, 1 deletion(-) diff -puN

[patch 08/28] Clean up duplicate includes in net/sunrpc/

2007-08-10 Thread akpm
From: Jesper Juhl [EMAIL PROTECTED] This patch cleans up duplicate includes in net/sunrpc/ Signed-off-by: Jesper Juhl [EMAIL PROTECTED] Cc: Trond Myklebust [EMAIL PROTECTED] Cc: Neil Brown [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] ---

[patch 16/28] drivers/net/irda/irda-usb.c: mostly kmalloc + memset conversion to k[cz]alloc

2007-08-10 Thread akpm
From: Mariusz Kozlowski [EMAIL PROTECTED] drivers/net/irda/irda-usb.c | 59694 - 59541 (-153 bytes) drivers/net/irda/irda-usb.o | 170588 - 169256 (-1332 bytes) Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED] Cc: Samuel Ortiz [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED]

[patch 06/28] Clean up duplicate includes in net/ipv6/

2007-08-10 Thread akpm
From: Jesper Juhl [EMAIL PROTECTED] This patch cleans up duplicate includes in net/ipv6/ Signed-off-by: Jesper Juhl [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- net/ipv6/tcp_ipv6.c |1 - 1 files changed, 1 deletion(-) diff -puN

[patch 05/28] Clean up duplicate includes in net/ipv4/

2007-08-10 Thread akpm
From: Jesper Juhl [EMAIL PROTECTED] This patch cleans up duplicate includes in net/ipv4/ Signed-off-by: Jesper Juhl [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- net/ipv4/ip_output.c |1 - net/ipv4/ipvs/ip_vs_ctl.c |1 -

  1   2   3   4   5   >