Tag: 684d2f100522984c8f0ac494dceb8a90a7a6c429

staging: rtl8188eu: core: Use put_unaligned_le16

Author: Amitoj Kaur Chawla <amitoj1606@gmail.com> Introduce the use of function put_unaligned_le16. This is done using the following Coccinelle semantic patch: // @@ identifier tmp; expression ptr; expression y,e; type T; @@ – tmp = cpu_to_le16(y); ? tmp = e @@ type T; identifier tmp; @@ – T tmp; …when != tmp // Corresponding header file …

Continue reading