Tag: 6465144c3d19ca1c2f5fb1dd12d0a6496254c85c

Staging: rtl8192u: Convert use of __constant_ to

Author: Vaishali Thakkar <vthakkar1994@gmail.com> Using functions of the form __constant_ isn’t preferred outside of include/uapi/ as using the function without __constant_ is identical when the argument is a constant. So, this patch replaces __constant_htons with htons. This is done using Coccinelle and semantic patch used for this is as follows: @@identifier x;@@ ( – __constant_htons(x) …

Continue reading