Tag: 0f24cd7062cdb9e45cb05265fa1b9fc619c56084

Staging: rtl8192e: Use put_unaligned_le16

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: @@ identifier tmp; expression ptr; expression y,e; type T; @@ – tmp = cpu_to_le16(y); ? tmp = e @@ type T; identifier tmp; @@ – T tmp; …when != tmp Here, …

Continue reading