linux/drivers/staging/rtl8192u
Vaishali Thakkar 19e016c399 Staging: rtl8192u: Use put_unaligned_le16
This patch introduces the use of function put_unaligned_le16.

This is done using Coccinelle and semantic patch used is as follows:

@@ identifier tmp; expression ptr; expression y,e; type T; @@

- tmp = cpu_to_le16(y);

  <+... when != tmp
- memcpy(ptr, (T)&tmp, ...);
+ put_unaligned_le16(y,ptr);
  ...+>
? tmp = e

@@ type T; identifier tmp; @@

- T tmp;
...when != tmp

Here, unnecessory comment after change is removed too.
This patch also fixes sparse warnings in file ieeee80211_softmac.c.

Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-11-03 16:09:27 -08:00
..
ieee80211 Staging: rtl8192u: Use put_unaligned_le16 2014-11-03 16:09:27 -08:00
Kconfig Kconfig: Remove useless "default N" lines 2014-02-20 14:38:06 +01:00
Makefile staging: rtl8192u: remove unused define USB_RX_AGGREGATION_SUPPORT 2014-08-16 12:23:10 -07:00
authors
changes
copying staging: rtl8192u: Fixed trailing whitespace in copying 2014-09-28 23:39:27 -04:00
r819xU_cmdpkt.c drivers/staging: Remove useless return variables 2014-05-26 10:32:15 -07:00
r819xU_cmdpkt.h
r819xU_firmware.c staging: rtl8192u: add intermediate variable 2014-10-20 10:29:14 +08:00
r819xU_firmware.h staging: rtl8192u: Add space after enum definition 2014-10-20 10:29:15 +08:00
r819xU_firmware_img.c Staging: rtl8192u: r819xU_firmware_img.c Fixed checkpatch.pl ERRORs 2014-05-25 11:25:40 -07:00
r819xU_firmware_img.h
r819xU_phy.c staging: rtl8192u: Missing a blank line after declarations. 2014-10-20 10:29:15 +08:00
r819xU_phy.h
r819xU_phyreg.h staging:r819xU: coding style: Fixed commenting style 2014-08-16 12:23:15 -07:00
r8180_93cx6.c staging:r8180: coding style: Fixed commenting style 2014-08-01 14:42:52 -07:00
r8180_93cx6.h staging:r8180: coding style: Fixed too long lines 2014-08-01 14:42:52 -07:00
r8190_rtl8256.c staging:r8190_rtl8256: coding style: Fixed commenting style 2014-09-11 14:47:59 -07:00
r8190_rtl8256.h
r8192U.h staging: delete non-required instances of include <linux/init.h> 2013-12-17 10:08:14 -08:00
r8192U_core.c staging: rtl8192u: Fix checkpatch.pl warnings 2014-10-29 16:43:41 +08:00
r8192U_dm.c staging: rtl8192u: delete successive assignments to the same location 2014-10-28 15:53:26 +08:00
r8192U_dm.h staging: rtl8192u: Fix whitespaces in function declarations in r8192U_dm.h 2014-03-19 09:29:55 -07:00
r8192U_hw.h drivers: staging: rtl8192u: Fix "space required before that '*'" errors 2014-09-08 13:59:25 -07:00
r8192U_wx.c staging: rtl8192u: Remove unnecessary if 2014-10-27 10:33:05 +08:00
r8192U_wx.h