Tag: 9c18a05c454e8a6436352842e56fb1dd2760b13b

Staging: rtl8192u: Use put_unaligned_le16 in rtl819x_BAProc.c

Author: Vaishali Thakkar <vthakkar1994@gmail.com> This patch introduces the use of function put_unaligned_le16. This is done using Coccinelle and semantic patch used is as follows: @a@ typedef u16, __le16, uint16_t; {u16,__le16,uint16_t} e16; identifier tmp; expression ptr; expression y,e; type T; type T; @@ – tmp = cpu_to_le16(y); ? tmp = e @@ type T; identifier a.tmp; …

Continue reading