Tag: 362126cddb22256db1e9ab6862aa720c3f091e52

brcmfmac: Use put_unaligned_le32

Author: Vaishali Thakkar <vthakkar1994@gmail.com> This patch introduces the use of function put_unaligned_le32. This is done using Coccinelle and semantic patch used is as follows: @a@ typedef u32, __le32, uint32_t; {u32,__le32,uint32_t} e32; identifier tmp; expression ptr; expression y,e; type T; type T; @@ – tmp = cpu_to_le32(y); ? tmp = e @@ type T; identifier a.tmp; …

Lire la suite