On Sat, Jan 10, 2015 at 02:22:59PM +0530, Vaishali Thakkar wrote:
> This patch introduces the use of function put_unaligned_be64.
>
> This is done using Coccinelle and semantic patch used is as follows:
I appreciate you're using an automated tool to find the problem ...
> diff --git a/drivers/bl
This patch introduces the use of function put_unaligned_be64.
This is done using Coccinelle and semantic patch used is as follows:
@a@
typedef u64, __be64, uint64_t;
{u64,__be64,uint64_t} e64;
identifier tmp;
expression ptr;
expression y,e;
type T;
@@
- tmp = cpu_to_be64(y);
<+... when != tmp
(
2 matches
Mail list logo