History log of /drivers/staging/vt6655/hostap.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/hostap.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/hostap.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/hostap.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/hostap.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/hostap.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/hostap.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/hostap.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/hostap.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/hostap.c
7a6cb0d5497418599d2125b670926b75e673861c 13-May-2010 Julia Lawall <julia@diku.dk> Staging: Use kcalloc or kzalloc

Use kcalloc or kzalloc rather than the combination of kmalloc and memset.

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
expression x,y,flags;
statement S;
type T;
@@

x =
- kmalloc
+ kcalloc
(
- y * sizeof(T),
+ y, sizeof(T),
flags);
if (x == NULL) S
-memset(x, 0, y * sizeof(T));

@@
expression x,size,flags;
statement S;
@@

-x = kmalloc(size,flags);
+x = kzalloc(size,flags);
if (x == NULL) S
-memset(x, 0, size);
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
/drivers/staging/vt6655/hostap.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/hostap.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/hostap.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/hostap.c
612822f5dd1638de442cf50eb9da54632fba0e66 12-Aug-2009 Jim Lieb <lieb@canonical.com> Staging: vt665x: Text janitor in prep for driver merge, part 2

Text only changes to remove textual differences between the vt6655
and vt6656 trees in prep for driver merge.

Signed-off-by: Jim Lieb <lieb@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/vt6655/hostap.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/hostap.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/hostap.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/hostap.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/hostap.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/hostap.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/hostap.c