428c1fb50ec57587eb9d7e48439059cbfeb9330a |
|
28-Nov-2011 |
Marcos Paulo de Souza <marcos.mage@gmail.com> |
staging:vt6656: iwctl.c: Removed unneeded function Removed the function iwctl_giwnwid, that just return a error code. Changes v1 to v2: Removed same functions of vt6655 and vt6656. Signed-off-by: Marcos Paulo de Souza <marcos.mage@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
aa77677e0a288e08073620db5d2a31df83ca4788 |
|
26-Oct-2011 |
Linus Torvalds <torvalds@linux-foundation.org> |
Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging * 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (1519 commits) staging: et131x: Remove redundant check and return statement staging: et131x: Mainly whitespace changes to appease checkpatch staging: et131x: Remove last of the forward declarations staging: et131x: Remove even more forward declarations staging: et131x: Remove yet more forward declarations staging: et131x: Remove more forward declarations staging: et131x: Remove forward declaration of et131x_adapter_setup staging: et131x: Remove some forward declarations staging: et131x: Remove unused rx_ring.recv_packet_pool staging: et131x: Remove call to find pci pm capability staging: et131x: Remove redundant et131x_reset_recv() call staging: et131x: Remove unused rx_ring.recv_buffer_pool Staging: bcm: Fix three initialization errors in InterfaceDld.c Staging: bcm: Fix coding style issues in InterfaceDld.c staging:iio:dac: Add AD5360 driver staging:iio:trigger:bfin-timer: Fix compile error Staging: vt6655: add some range checks before memcpy() Staging: vt6655: whitespace fixes to iotcl.c Staging: vt6656: add some range checks before memcpy() Staging: vt6656: whitespace cleanups in ioctl.c ... Fix up conflicts in: - drivers/{Kconfig,Makefile}, drivers/staging/{Kconfig,Makefile}: vg driver movement - drivers/staging/brcm80211/brcmfmac/{dhd_linux.c,mac80211_if.c}: driver removal vs now stale changes - drivers/staging/rtl8192e/r8192E_core.c: driver removal vs now stale changes - drivers/staging/et131x/et131*: driver consolidation into one file, tried to do fixups
|
30d6a2b870a2419e1e887bd3a46f33d98c61c778 |
|
26-Jul-2011 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
staging: vt6655: simplify MAC printing by using %pM Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
afc4b13df143122f99a0eb10bfefb216c2806de0 |
|
16-Aug-2011 |
Jiri Pirko <jpirko@redhat.com> |
net: remove use of ndo_set_multicast_list in drivers replace it by ndo_set_rx_mode Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/staging/vt6655/device_main.c
|
9fc86028fa21f8831c0fdc701732cf491da1202c |
|
10-Apr-2011 |
Joe Perches <joe@perches.com> |
staging: Remove unnecessary semicolons when if (foo) {...}; Done via perl script: $ cat remove_semi_if.pl my $match_balanced_parentheses = qr/(\((?:[^\(\)]++|(?-1))*\))/; my $match_balanced_braces = qr/(\{(?:[^\{\}]++|(?-1))*\})/; foreach my $file (@ARGV) { my $f; my $text; my $oldtext; next if ((-d $file)); open($f, '<', $file) or die "$P: Can't open $file for read\n"; $oldtext = do { local($/) ; <$f> }; close($f); next if ($oldtext eq ""); $text = $oldtext; my $count = 0; do { $count = 0; $count += $text =~ s@\b(if\s*${match_balanced_parentheses}\s*)${match_balanced_braces}\s*;@"$1$3"@egx; } while ($count > 0); if ($text ne $oldtext) { my $newfile = $file; open($f, '>', $newfile) or die "$P: Can't open $newfile for write\n"; print $f $text; close($f); } } $ Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
25985edcedea6396277003854657b5f3cb31a628 |
|
31-Mar-2011 |
Lucas De Marchi <lucas.demarchi@profusion.mobi> |
Fix common misspellings Fixes generated by 'codespell' and manually reviewed. Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
/drivers/staging/vt6655/device_main.c
|
6403bb7dc1f6d77a93850935d9277a0d74783cf0 |
|
13-Mar-2011 |
Ilia Mirkin <imirkin@alum.mit.edu> |
staging: vt6655: Remove NULL check before kfree This patch was generated by the following semantic patch: // <smpl> @@ expression E; @@ - if (E != NULL) { kfree(E); } + kfree(E); @@ expression E; @@ - if (E != NULL) { kfree(E); E = NULL; } + kfree(E); + E = NULL; // </smpl> Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
0ffa3db9946ba2534d612d70cf40fa51fd5b63a4 |
|
25-Feb-2011 |
Justin P. Mattock <justinmattock@gmail.com> |
staging: vt6655: device_main.c remove one to many l's in the word. The patch below removes an extra "l" in the word. Signed-off-by: Justin P. Mattock <justinmattock@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
34381c22b0a26ef6663f5fd92574d3f45243cabf |
|
10-Jan-2011 |
Peter Huewe <peterhuewe@gmx.de> |
staging/vt6655: fix sparse warning "obsolete struct initializer" This patch fixes the sparse warnings "obsolete struct initializer, use C99 syntax" in vt6655/device_main.c by converting the struct to C99 syntax KernelVersion: linux-next-20110110 Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
13b631a599cddabc1cbb3a2fb862aee5ceb6e427 |
|
03-Aug-2010 |
Kulikov Vasiliy <segooon@gmail.com> |
staging: vt6655: do not use PCI resources before pci_enable_device() IRQ and resource[] may not have correct values until after PCI hotplug setup occurs at pci_enable_device() time. The semantic match that finds this problem is as follows: // <smpl> @@ identifier x; identifier request ~= "pci_request.*|pci_resource.*"; @@ ( * x->irq | * x->resource | * request(x, ...) ) ... *pci_enable_device(x) // </smpl> Signed-off-by: Kulikov Vasiliy <segooon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
7b6a001313a9b11a1f0985de05fff514db41d72d |
|
01-Aug-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: replace BOOL with in kernel bool Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
5a5a2a6ad4aa2467bcc34fa50e85c2afc90bab05 |
|
01-Aug-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: replace FALSE with in kernel false Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
1b12068a804711ae2f4fd2876d5706542c1d7ad9 |
|
01-Aug-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: replace TRUE with in kernel true Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
5bddefad3e960e70fdb005e48b5be75a5846c4c1 |
|
03-Jul-2010 |
Kulikov Vasiliy <segooon@gmail.com> |
Staging: vt6655: use for_each_pci_dev() Use for_each_pci_dev() to simplify the code. Signed-off-by: Kulikov Vasiliy <segooon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
3fc9b584c28095fe0d46cfb8bddafdf93947042e |
|
24-Jun-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: remove BYTE typedef Replace all occurrences with unsigned char type. Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
2986db5fd31e312206d3ebfa4786aac04bdbe486 |
|
24-Jun-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: remove WORD typedef Replace all occurrences with unsigned short type. Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
0f4c60d61e9c10a0733eacd650c101189bdf75cd |
|
24-Jun-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: remove DWORD typedef Replace all occurrences with unsigned long type, except for pointer fields that should be u32 in packed structures and 8-byte-aligned 8 byte long structure QWORD. Thanks to Jiri Slaby for pointing out that simply replacing by unsigned long is wrong on x86-64 arch. Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
79566eb2df013f0ed20e548f4be0f8afbe78f9a3 |
|
21-Jun-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: move channel mapping code from card.c to channel.c Move functions managing the channel mapping to a new channel.c file, as done in the staging VT6656 driver. The function names contained in card.c were prefixed with CARD followed by the first letter of the return code, remove this and use more coherent function names. The following functions moved and were renamed: ChannelValid -> is_channel_valid CARDbSetChannel -> set_channel CARDvInitChannelTable -> init_channel_table CARDbyGetChannelMapping -> get_channel_mapping CARDvSetCountryInfo -> set_country_info CARDbySetSupportChannels -> set_support_channels CARDbChannelGetList -> channel_get_list CARDvSetCountryIE -> set_country_IE CARDbGetChannelMapInfo -> get_channel_map_info CARDvSetChannelMapInfo -> set_channel_map_info CARDvClearChannelMapInfo -> clear_channel_map_info CARDbyAutoChannelSelect -> auto_channel_select CARDbyGetChannelNumber -> get_channel_number Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
013a468c4504738856d67118492ce7b7fff53a48 |
|
15-Jun-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: struct pci_driver cleanup Rename driver struct and callbacks to vt6655_* instead of device_* and add __devinit/__devexit directives. Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
15df6c2b922de3088203ad90347a30d31ccca67e |
|
06-Jun-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: remove PWORD typedef Use unsigned short * instead. Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
2989e96f17f2dcbd73aee37856899c2885df0686 |
|
06-Jun-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: remove PBYTE typedef Use unsigned char * instead. Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
e3fd16d0819e3b316a4fe316e5f32032df61e9db |
|
02-Jun-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: remove custom ULONG typedef Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
b6e95cd52a81079abc1def7867e27bf541953089 |
|
02-Jun-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: remove custom UINT typedef Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
5c9824e124f67c2590e1dbd33045603c36168609 |
|
02-Jun-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: remove custom UCHAR typedef Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
b83cc2ed466f1b9938521d73fefe8b34baf265ea |
|
01-Jun-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: remove custom LONG typedef Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
7ca3019525e6e3ba727e36dfdc07d8e8d487a5e2 |
|
01-Jun-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: remove custom INT typedef Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
902d2411298a6e0b8a473a0163aa4bf6d5c8a073 |
|
28-May-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: remove U32 custom macro Remove custom macro for unsigned 32-bit integers, replace by u32. Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
c17ce8c21d809c62b427bf8e2d2672ebe0904fd2 |
|
28-May-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: remove U16 custom macro Remove custom macro for unsigned 16-bit integers. Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
737c3d708c845ab39bfeb1b656e51e84d5771035 |
|
28-May-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: remove U8 custom macro Remove custom macro for unsigned 8-bit integers. Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
670ea81eadf68fa68023731e3f747fd6b0c61dd4 |
|
19-May-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: use is_multicast_ether_addr instead of custom macro Replace custom macro IS_MULTICAST_ADDRESS by is_multicast_ether_addr from <linux/etherdevice.h>. Remove linux/if_ether.h include as it is included in linux/etherdevice.h already. Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
c8d1a126924fcbc1d61ceb830226e0c7afdcc841 |
|
21-May-2010 |
Greg Kroah-Hartman <gregkh@suse.de> |
Merge staging-next tree into Linus's latest version Conflicts: drivers/staging/arlan/arlan-main.c drivers/staging/comedi/drivers/cb_das16_cs.c drivers/staging/cx25821/cx25821-alsa.c drivers/staging/dt3155/dt3155_drv.c drivers/staging/hv/hv.c drivers/staging/netwave/netwave_cs.c drivers/staging/wavelan/wavelan.c drivers/staging/wavelan/wavelan_cs.c drivers/staging/wlags49_h2/wl_cs.c This required a bit of hand merging due to the conflicts that happened in the later .34-rc releases, as well as some staging driver changing coming in through other trees (v4l and pcmcia). Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
31c21b779181140e0b7eadadbd5e0f518e131488 |
|
18-May-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: use ETH_DATA_LEN macro instead of custom one Replace custom maximum data lenght definition MAX_DATA_LEN by ETH_DATA_LEN from <linux/if_ether.h>. Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
96fe9ee2c2dfe3268961f3873ea6098b9b9f27c2 |
|
15-May-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: use ETH_HLEN macro instead of custom one Replaced custom header length definition U_HEADER_LEN by ETH_HLEN from <linux/if_ether.h>. Also remove unused U_TYPE_LEN. Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
078b078f662a8e21d5a6fee81007b5337ab962cd |
|
15-May-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: use ETH_ALEN macro instead of custom one Replaced custom ethernet address length definition U_ETHER_ADDR_LEN by ETH_ALEN from <linux/if_ether.h>. Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
3a215e0ff4184314f7f1a099354a272ddedff289 |
|
13-May-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: remove IN definition Remove empty IN definition used to specify input parameters. Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
e64354c0be3b7134c85571a525b2e37fc4a95eef |
|
12-May-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: remove HANDLE definition and use Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
324148788bf3744d90fb6894ec5744eb0ca91b74 |
|
11-May-2010 |
Julia Lawall <julia@diku.dk> |
Staging: Drop memory allocation cast Drop cast on the result of kmalloc and similar functions. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ type T; @@ - (T *) (\(kmalloc\|kzalloc\|kcalloc\|kmem_cache_alloc\|kmem_cache_zalloc\| kmem_cache_alloc_node\|kmalloc_node\|kzalloc_node\)(...)) // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
f65515275ea3e45fdcd0fb78455f542d6fdca086 |
|
10-May-2010 |
Larry Finger <Larry.Finger@lwfinger.net> |
staging: vt6655: Fix kernel BUG on driver wpa initialization In http://bugzilla.novell.com/show_bug.cgi?id=597299, the vt6655 driver generates a kernel BUG on a NULL pointer dereference at NULL. This problem has been traced to a failure in the wpa_set_wpadev() routine. As the vt6656 driver does not call this routine, the vt6655 code is similarly set to skip the call. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Tested-by: Richard Meek <osl2008@googlemail.com> Cc: Stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
830a619c02a53d52c86534f7d857b2e8d0ba893f |
|
07-May-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: remove PVOID definition and use Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
6b35b7b3798b652a57fbce480f350aac851431c4 |
|
07-May-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: remove VOID definition and use Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
ecf739e695d5aa404326100c0ba93c211e87a0fe |
|
17-Apr-2010 |
Forest Bond <forest@alittletooquiet.net> |
Staging: vt6655: Rename hostap_set_hostapd, hostap_iotctl. The functions hostap_set_hostapd, hostap_iotctl clashed with functions of the same name with CONFIG_HOSTAP=y and/or CONFIG_VT6656=y. Signed-off-by: Forest Bond <forest@alittletooquiet.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
d2c6170bd1c4796ce5017de2987808a6db879483 |
|
25-Mar-2010 |
Joe Perches <joe@perches.com> |
Staging: vt6655: Hoist assign from if Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
646755ad9156eae5d19af5fd0e1a068f1f9d064c |
|
22-Mar-2010 |
Roel Kluin <roel.kluin@gmail.com> |
Staging: vt6655: CGI/CSI confusion in device_ioctl() The wrong messages were printed Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
871039f02f8ec4ab2e5e9010718caa8e085786f1 |
|
11-Apr-2010 |
David S. Miller <davem@davemloft.net> |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 Conflicts: drivers/net/stmmac/stmmac_main.c drivers/net/wireless/wl12xx/wl1271_cmd.c drivers/net/wireless/wl12xx/wl1271_main.c drivers/net/wireless/wl12xx/wl1271_spi.c net/core/ethtool.c net/mac80211/scan.c
|
22bedad3ce112d5ca1eaf043d4990fa2ed698c87 |
|
01-Apr-2010 |
Jiri Pirko <jpirko@redhat.com> |
net: convert multicast list to list_head Converts the list and the core manipulating with it to be the same as uc_list. +uses two functions for adding/removing mc address (normal and "global" variant) instead of a function parameter. +removes dev_mcast.c completely. +exposes netdev_hw_addr_list_* macros along with __hw_addr_* functions for manipulation with lists on a sandbox (used in bonding and 80211 drivers) Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/staging/vt6655/device_main.c
|
5a0e3ad6af8660be21ca98a971cd00f331318c05 |
|
24-Mar-2010 |
Tejun Heo <tj@kernel.org> |
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h percpu.h is included by sched.h and module.h and thus ends up being included when building most .c files. percpu.h includes slab.h which in turn includes gfp.h making everything defined by the two files universally available and complicating inclusion dependencies. percpu.h -> slab.h dependency is about to be removed. Prepare for this change by updating users of gfp and slab facilities include those headers directly instead of assuming availability. As this conversion needs to touch large number of source files, the following script is used as the basis of conversion. http://userweb.kernel.org/~tj/misc/slabh-sweep.py The script does the followings. * Scan files for gfp and slab usages and update includes such that only the necessary includes are there. ie. if only gfp is used, gfp.h, if slab is used, slab.h. * When the script inserts a new include, it looks at the include blocks and try to put the new include such that its order conforms to its surrounding. It's put in the include block which contains core kernel includes, in the same order that the rest are ordered - alphabetical, Christmas tree, rev-Xmas-tree or at the end if there doesn't seem to be any matching order. * If the script can't find a place to put a new include (mostly because the file doesn't have fitting include block), it prints out an error message indicating which .h file needs to be added to the file. The conversion was done in the following steps. 1. The initial automatic conversion of all .c files updated slightly over 4000 files, deleting around 700 includes and adding ~480 gfp.h and ~3000 slab.h inclusions. The script emitted errors for ~400 files. 2. Each error was manually checked. Some didn't need the inclusion, some needed manual addition while adding it to implementation .h or embedding .c file was more appropriate for others. This step added inclusions to around 150 files. 3. The script was run again and the output was compared to the edits from #2 to make sure no file was left behind. 4. Several build tests were done and a couple of problems were fixed. e.g. lib/decompress_*.c used malloc/free() wrappers around slab APIs requiring slab.h to be added manually. 5. The script was run on all .h files but without automatically editing them as sprinkling gfp.h and slab.h inclusions around .h files could easily lead to inclusion dependency hell. Most gfp.h inclusion directives were ignored as stuff from gfp.h was usually wildly available and often used in preprocessor macros. Each slab.h inclusion directive was examined and added manually as necessary. 6. percpu.h was updated not to include slab.h. 7. Build test were done on the following configurations and failures were fixed. CONFIG_GCOV_KERNEL was turned off for all tests (as my distributed build env didn't work with gcov compiles) and a few more options had to be turned off depending on archs to make things build (like ipr on powerpc/64 which failed due to missing writeq). * x86 and x86_64 UP and SMP allmodconfig and a custom test config. * powerpc and powerpc64 SMP allmodconfig * sparc and sparc64 SMP allmodconfig * ia64 SMP allmodconfig * s390 SMP allmodconfig * alpha SMP allmodconfig * um on x86_64 SMP allmodconfig 8. percpu.h modifications were reverted so that it could be applied as a separate patch and serve as bisection point. Given the fact that I had only a couple of failures from tests on step 6, I'm fairly confident about the coverage of this conversion patch. If there is a breakage, it's likely to be something in one of the arch headers which should be easily discoverable easily on most builds of the specific arch. Signed-off-by: Tejun Heo <tj@kernel.org> Guess-its-ok-by: Christoph Lameter <cl@linux-foundation.org> Cc: Ingo Molnar <mingo@redhat.com> Cc: Lee Schermerhorn <Lee.Schermerhorn@hp.com>
/drivers/staging/vt6655/device_main.c
|
f341dddf1dadf64be309791f83d7904245f1261d |
|
04-Mar-2010 |
Greg Kroah-Hartman <gregkh@suse.de> |
Staging: merge staging patches into Linus's main branch There were a number of patches that went into Linus's tree already that conflicted with other changes in the staging branch. This merge resolves those merge conflicts. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
00367a6d7caae9c6b077e177aeebad5b0a91ea62 |
|
29-Dec-2009 |
H Hartley Sweeten <hartleys@visionengravers.com> |
Staging: vt6655/device_main.c: use %pM to shown MAC address Trivial, use the %pM kernel extension to display the MAC address. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Forest Bond <forest@alittletooquiet.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
d59079425f6f1be0da995926b5ad1d54d9e4545d |
|
18-Feb-2010 |
Jiri Pirko <jpirko@redhat.com> |
staging: convert to use netdev_for_each_mc_addr removed needless checks in arlan-main.c and slicoss.c fixed bug in et131x_netdev.c to actually fill addresses in. Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/staging/vt6655/device_main.c
|
4cd24eaf0c6ee7f0242e34ee77ec899f255e66b5 |
|
08-Feb-2010 |
Jiri Pirko <jpirko@redhat.com> |
net: use netdev_mc_count and netdev_mc_empty when appropriate This patch replaces dev->mc_count in all drivers (hopefully I didn't miss anything). Used spatch and did small tweaks and conding style changes when it was suitable. Jirka Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/staging/vt6655/device_main.c
|
bbc9a9916bc1cd997f3bf303e7930d5f3c804d37 |
|
14-Nov-2009 |
André Goddard Rosa <andre.goddard@gmail.com> |
Staging: fix assorted typos all over the place Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
03cd7136d68b4877a9e1793d31cab38fdcb67434 |
|
08-Aug-2009 |
Roel Kluin <roel.kluin@gmail.com> |
Staging: vt6655: fix possible Read buffer overflow If pDevice->sOpts.nRxDescs{0,1} or nTxDescs[{0,1}] is zero, the loop ends with i == 0, and we write aRD{0,1}Ring[-1]. apTD{0,1}Rings[-1] respectively. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
256a816b6b78bf29fba0c0f1bbcf998953429422 |
|
12-Aug-2009 |
Jim Lieb <lieb@canonical.com> |
Staging: vt665x: remove tbit.h part 2 Remove use of tbit macros adn remove header file. Signed-off-by: Jim Lieb <lieb@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
1e5743ca6c91cf345f72b012ae362b88db115bcc |
|
12-Aug-2009 |
Jim Lieb <lieb@canonical.com> |
Staging: vt665x: remove tpci.h file Convert pci register/command defs to use kernel definitions. Remove tpci.h. Signed-off-by: Jim Lieb <lieb@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
a7ad322a46663755718a214a9a34e5cfe64d07f7 |
|
12-Aug-2009 |
Jim Lieb <lieb@canonical.com> |
Staging: vt665x: Clean up include files, Part 2 Remove cplusplus lines from include files Remove needless ifdefs on includes to conform with C conventions. Remove misc commented code/includes Update TODO Signed-off-by: Jim Lieb <lieb@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
a884847a1a30be9a55d975f1e3fe8cf5f922bb79 |
|
12-Aug-2009 |
Jim Lieb <lieb@canonical.com> |
Staging: vt665x: Typedef and macro cleanup Part 2 Clean up unused typedefs and macros to remove Win32'isms and misc non-linux constructs. Text edits to referencing source for less frequently used macros. Signed-off-by: Jim Lieb <lieb@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
7e809a9b10ab5ee985e23dea537e0236f026d1ca |
|
30-Jul-2009 |
Jim Lieb <lieb@canonical.com> |
Staging: vt6655 textual cleanup in prep for driver merge The vt6655 and vt6656 drivers are from a common origin but have drifted apart with minor textual differences. There are two changes: s/DEVICE_PRT/DBG_PRT/g and s/byPktTyp/byPktType/g This significantly reduces the differences between the two file sets in preparation to merging the common code. A few whitespace and text bits were also adjusted. Signed-off-by: Jim Lieb <lieb@canonical.com> Cc: Forest Bond <forest@alittletooquiet.net> Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
db6cb9036b2756c50efc43127c476786ea92eae2 |
|
24-Jul-2009 |
Jim Lieb <lieb@canonical.com> |
Staging: vt665x: 64bit compile fixes Part 1 Fix compile problems with 64bit. These issues could cause corrupted address crashes. In the process, replaced some definitions to use more portable kernel types. Signed-off-by: Jim Lieb <lieb@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
83a27326ee616d6b6dcdd074ad088554a52f9b11 |
|
10-Jul-2009 |
Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> |
Staging: vt6655: remove PRIVATE_OBJ ifdefs Cc: Forest Bond <forest@alittletooquiet.net> Cc: Alexander Beregalov <a.beregalov@gmail.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
e882335bb19c0b9f96971fa6b1fe6c019280056b |
|
04-Jul-2009 |
Alexander Beregalov <a.beregalov@gmail.com> |
Staging: vt665x: depend on WIRELESS_EXT Make vt665x depended on WIRELESS_EXT and remove remain ifdef's Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
4c47b34cd6c62cb4cf9fb8f873aeb99b6cc60b4d |
|
20-Jun-2009 |
Alexander Beregalov <a.beregalov@gmail.com> |
Staging: vt6655: remove dependency on WIRELESS_EXT version As the driver is in mainline now we can remove such dependencies. WIRELESS_EXT is 22 now. Cc: Forest Bond <forest@alittletooquiet.net> Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
761e95493982f3365e6ef34991a6c7ff84e33d25 |
|
20-Jun-2009 |
Alexander Beregalov <a.beregalov@gmail.com> |
Staging: vt6655: fix build when !CONFIG_WIRELESS_EXT Fix this build error when CONFIG_WIRELESS_EXT is not set: drivers/staging/vt6655/device_main.c:1153: error: 'struct net_device' has no member named 'wireless_handlers' Cc: Forest Bond <forest@alittletooquiet.net> Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
f408adeb517e1b17102acd889251d5ab60c1fb88 |
|
10-Jun-2009 |
Alan Cox <alan@linux.intel.com> |
Staging: vt6655: compile fix At least make it compile Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
572113540886faf393fd04408c394899df98ada3 |
|
02-Jun-2009 |
Forest Bond <forest@alittletooquiet.net> |
Staging: vt6655: use net_device_ops for management functions vt6655: use net_device_ops for management functions Signed-off-by: Forest Bond <forest@alittletooquiet.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
7bb8dc2d7eb5594ec890e822bb0517446d369698 |
|
02-Jun-2009 |
Forest Bond <forest@alittletooquiet.net> |
Staging: vt6655: Remove LINUX_VERSION_CODE preprocessor conditionals. vt6655: Remove LINUX_VERSION_CODE preprocessor conditionals. Signed-off-by: Forest Bond <forest@alittletooquiet.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
c9d0352914e8fdaece56c8c3ea489d7214b0353e |
|
02-Jun-2009 |
Forest Bond <forest@alittletooquiet.net> |
Staging: vt6655: Replace net_device->priv accesses with netdev_priv calls. vt6655: Replace net_device->priv accesses with netdev_priv calls. Signed-off-by: Forest Bond <forest@alittletooquiet.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
756f94e6386519696455a3b1a15f3d451bcf73c7 |
|
25-Apr-2009 |
Forest Bond <forest@alittletooquiet.net> |
Staging: vt6655: Drop obsolete fsuid/fsgid accesses. drivers/staging/vt6655/device_main.c: Drop obsolete fsuid/fsgid accesses. Signed-off-by: Forest Bond <forest@alittletooquiet.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|
5449c685a4b39534f18869a93896370224463715 |
|
25-Apr-2009 |
Forest Bond <forest@alittletooquiet.net> |
Staging: Add pristine upstream vt6655 driver sources Add pristine upstream vt6655 driver sources to drivers/staging/vt6655. These files were literally copied from the driver directory in the upstream source archive, available here: http://www.viaarena.com/Driver/vt6655_linux_src_v1.19.12_x86.zip Signed-off-by: Forest Bond <forest@alittletooquiet.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/device_main.c
|