Searched hist:59330825 (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-simtec.c | 59330825 Sun Jul 05 01:37:50 CDT 2009 Julia Lawall <julia@diku.dk> i2c: Use resource_size
Use the function resource_size, which reduces the chance of introducing off-by-one errors in calculating the resource size.
The semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/)
// <smpl> @@ struct resource *res; @@
- (res->end - res->start) + 1 + resource_size(res) // </smpl>
Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Ben Dooks <ben-linux@fluff.org> 59330825 Sun Jul 05 01:37:50 CDT 2009 Julia Lawall <julia@diku.dk> i2c: Use resource_size Use the function resource_size, which reduces the chance of introducing off-by-one errors in calculating the resource size. The semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/) // <smpl> @@ struct resource *res; @@ - (res->end - res->start) + 1 + resource_size(res) // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
|
H A D | i2c-davinci.c | 59330825 Sun Jul 05 01:37:50 CDT 2009 Julia Lawall <julia@diku.dk> i2c: Use resource_size
Use the function resource_size, which reduces the chance of introducing off-by-one errors in calculating the resource size.
The semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/)
// <smpl> @@ struct resource *res; @@
- (res->end - res->start) + 1 + resource_size(res) // </smpl>
Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Ben Dooks <ben-linux@fluff.org> 59330825 Sun Jul 05 01:37:50 CDT 2009 Julia Lawall <julia@diku.dk> i2c: Use resource_size Use the function resource_size, which reduces the chance of introducing off-by-one errors in calculating the resource size. The semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/) // <smpl> @@ struct resource *res; @@ - (res->end - res->start) + 1 + resource_size(res) // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
|
H A D | i2c-sh_mobile.c | 59330825 Sun Jul 05 01:37:50 CDT 2009 Julia Lawall <julia@diku.dk> i2c: Use resource_size
Use the function resource_size, which reduces the chance of introducing off-by-one errors in calculating the resource size.
The semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/)
// <smpl> @@ struct resource *res; @@
- (res->end - res->start) + 1 + resource_size(res) // </smpl>
Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Ben Dooks <ben-linux@fluff.org> 59330825 Sun Jul 05 01:37:50 CDT 2009 Julia Lawall <julia@diku.dk> i2c: Use resource_size Use the function resource_size, which reduces the chance of introducing off-by-one errors in calculating the resource size. The semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/) // <smpl> @@ struct resource *res; @@ - (res->end - res->start) + 1 + resource_size(res) // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
|
H A D | i2c-omap.c | 59330825 Sun Jul 05 01:37:50 CDT 2009 Julia Lawall <julia@diku.dk> i2c: Use resource_size
Use the function resource_size, which reduces the chance of introducing off-by-one errors in calculating the resource size.
The semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/)
// <smpl> @@ struct resource *res; @@
- (res->end - res->start) + 1 + resource_size(res) // </smpl>
Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Ben Dooks <ben-linux@fluff.org> 59330825 Sun Jul 05 01:37:50 CDT 2009 Julia Lawall <julia@diku.dk> i2c: Use resource_size Use the function resource_size, which reduces the chance of introducing off-by-one errors in calculating the resource size. The semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/) // <smpl> @@ struct resource *res; @@ - (res->end - res->start) + 1 + resource_size(res) // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
|