/openbmc/linux/drivers/net/ethernet/brocade/bna/ |
H A D | cna_fwimg.c | diff 6469933605a3ecdfa66b98160cde98ecd256cb3f Mon Jun 04 07:44:16 CDT 2012 Joe Perches <joe@perches.com> ethernet: Remove casts to same type
Adding casts of objects to the same type is unnecessary and confusing for a human reader.
For example, this cast:
int y; int *p = (int *)&y;
I used the coccinelle script below to find and remove these unnecessary casts. I manually removed the conversions this script produces of casts with __force, __iomem and __user.
@@ type T; T *p; @@
- (T *)p + p
A function in atl1e_main.c was passed a const pointer when it actually modified elements of the structure.
Change the argument to a non-const pointer.
A function in stmmac needed a __force to avoid a sparse warning. Added it.
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/8390/ |
H A D | apne.c | diff 6469933605a3ecdfa66b98160cde98ecd256cb3f Mon Jun 04 07:44:16 CDT 2012 Joe Perches <joe@perches.com> ethernet: Remove casts to same type
Adding casts of objects to the same type is unnecessary and confusing for a human reader.
For example, this cast:
int y; int *p = (int *)&y;
I used the coccinelle script below to find and remove these unnecessary casts. I manually removed the conversions this script produces of casts with __force, __iomem and __user.
@@ type T; T *p; @@
- (T *)p + p
A function in atl1e_main.c was passed a const pointer when it actually modified elements of the structure.
Change the argument to a non-const pointer.
A function in stmmac needed a __force to avoid a sparse warning. Added it.
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_ethtool.c | diff 6469933605a3ecdfa66b98160cde98ecd256cb3f Mon Jun 04 07:44:16 CDT 2012 Joe Perches <joe@perches.com> ethernet: Remove casts to same type
Adding casts of objects to the same type is unnecessary and confusing for a human reader.
For example, this cast:
int y; int *p = (int *)&y;
I used the coccinelle script below to find and remove these unnecessary casts. I manually removed the conversions this script produces of casts with __force, __iomem and __user.
@@ type T; T *p; @@
- (T *)p + p
A function in atl1e_main.c was passed a const pointer when it actually modified elements of the structure.
Change the argument to a non-const pointer.
A function in stmmac needed a __force to avoid a sparse warning. Added it.
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | atl1e_main.c | diff 6469933605a3ecdfa66b98160cde98ecd256cb3f Mon Jun 04 07:44:16 CDT 2012 Joe Perches <joe@perches.com> ethernet: Remove casts to same type
Adding casts of objects to the same type is unnecessary and confusing for a human reader.
For example, this cast:
int y; int *p = (int *)&y;
I used the coccinelle script below to find and remove these unnecessary casts. I manually removed the conversions this script produces of casts with __force, __iomem and __user.
@@ type T; T *p; @@
- (T *)p + p
A function in atl1e_main.c was passed a const pointer when it actually modified elements of the structure.
Change the argument to a non-const pointer.
A function in stmmac needed a __force to avoid a sparse warning. Added it.
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_hw.c | diff 6469933605a3ecdfa66b98160cde98ecd256cb3f Mon Jun 04 07:44:16 CDT 2012 Joe Perches <joe@perches.com> ethernet: Remove casts to same type
Adding casts of objects to the same type is unnecessary and confusing for a human reader.
For example, this cast:
int y; int *p = (int *)&y;
I used the coccinelle script below to find and remove these unnecessary casts. I manually removed the conversions this script produces of casts with __force, __iomem and __user.
@@ type T; T *p; @@
- (T *)p + p
A function in atl1e_main.c was passed a const pointer when it actually modified elements of the structure.
Change the argument to a non-const pointer.
A function in stmmac needed a __force to avoid a sparse warning. Added it.
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | atl1c_main.c | diff 6469933605a3ecdfa66b98160cde98ecd256cb3f Mon Jun 04 07:44:16 CDT 2012 Joe Perches <joe@perches.com> ethernet: Remove casts to same type
Adding casts of objects to the same type is unnecessary and confusing for a human reader.
For example, this cast:
int y; int *p = (int *)&y;
I used the coccinelle script below to find and remove these unnecessary casts. I manually removed the conversions this script produces of casts with __force, __iomem and __user.
@@ type T; T *p; @@
- (T *)p + p
A function in atl1e_main.c was passed a const pointer when it actually modified elements of the structure.
Change the argument to a non-const pointer.
A function in stmmac needed a __force to avoid a sparse warning. Added it.
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/i825xx/ |
H A D | sun3_82586.c | diff 6469933605a3ecdfa66b98160cde98ecd256cb3f Mon Jun 04 07:44:16 CDT 2012 Joe Perches <joe@perches.com> ethernet: Remove casts to same type
Adding casts of objects to the same type is unnecessary and confusing for a human reader.
For example, this cast:
int y; int *p = (int *)&y;
I used the coccinelle script below to find and remove these unnecessary casts. I manually removed the conversions this script produces of casts with __force, __iomem and __user.
@@ type T; T *p; @@
- (T *)p + p
A function in atl1e_main.c was passed a const pointer when it actually modified elements of the structure.
Change the argument to a non-const pointer.
A function in stmmac needed a __force to avoid a sparse warning. Added it.
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | cxgb3_offload.c | diff 6469933605a3ecdfa66b98160cde98ecd256cb3f Mon Jun 04 07:44:16 CDT 2012 Joe Perches <joe@perches.com> ethernet: Remove casts to same type
Adding casts of objects to the same type is unnecessary and confusing for a human reader.
For example, this cast:
int y; int *p = (int *)&y;
I used the coccinelle script below to find and remove these unnecessary casts. I manually removed the conversions this script produces of casts with __force, __iomem and __user.
@@ type T; T *p; @@
- (T *)p + p
A function in atl1e_main.c was passed a const pointer when it actually modified elements of the structure.
Change the argument to a non-const pointer.
A function in stmmac needed a __force to avoid a sparse warning. Added it.
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/apple/ |
H A D | macmace.c | diff 6469933605a3ecdfa66b98160cde98ecd256cb3f Mon Jun 04 07:44:16 CDT 2012 Joe Perches <joe@perches.com> ethernet: Remove casts to same type
Adding casts of objects to the same type is unnecessary and confusing for a human reader.
For example, this cast:
int y; int *p = (int *)&y;
I used the coccinelle script below to find and remove these unnecessary casts. I manually removed the conversions this script produces of casts with __force, __iomem and __user.
@@ type T; T *p; @@
- (T *)p + p
A function in atl1e_main.c was passed a const pointer when it actually modified elements of the structure.
Change the argument to a non-const pointer.
A function in stmmac needed a __force to avoid a sparse warning. Added it.
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/sun/ |
H A D | sunqe.c | diff 6469933605a3ecdfa66b98160cde98ecd256cb3f Mon Jun 04 07:44:16 CDT 2012 Joe Perches <joe@perches.com> ethernet: Remove casts to same type
Adding casts of objects to the same type is unnecessary and confusing for a human reader.
For example, this cast:
int y; int *p = (int *)&y;
I used the coccinelle script below to find and remove these unnecessary casts. I manually removed the conversions this script produces of casts with __force, __iomem and __user.
@@ type T; T *p; @@
- (T *)p + p
A function in atl1e_main.c was passed a const pointer when it actually modified elements of the structure.
Change the argument to a non-const pointer.
A function in stmmac needed a __force to avoid a sparse warning. Added it.
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/amd/ |
H A D | declance.c | diff 6469933605a3ecdfa66b98160cde98ecd256cb3f Mon Jun 04 07:44:16 CDT 2012 Joe Perches <joe@perches.com> ethernet: Remove casts to same type
Adding casts of objects to the same type is unnecessary and confusing for a human reader.
For example, this cast:
int y; int *p = (int *)&y;
I used the coccinelle script below to find and remove these unnecessary casts. I manually removed the conversions this script produces of casts with __force, __iomem and __user.
@@ type T; T *p; @@
- (T *)p + p
A function in atl1e_main.c was passed a const pointer when it actually modified elements of the structure.
Change the argument to a non-const pointer.
A function in stmmac needed a __force to avoid a sparse warning. Added it.
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/smsc/ |
H A D | smsc9420.c | diff 6469933605a3ecdfa66b98160cde98ecd256cb3f Mon Jun 04 07:44:16 CDT 2012 Joe Perches <joe@perches.com> ethernet: Remove casts to same type
Adding casts of objects to the same type is unnecessary and confusing for a human reader.
For example, this cast:
int y; int *p = (int *)&y;
I used the coccinelle script below to find and remove these unnecessary casts. I manually removed the conversions this script produces of casts with __force, __iomem and __user.
@@ type T; T *p; @@
- (T *)p + p
A function in atl1e_main.c was passed a const pointer when it actually modified elements of the structure.
Change the argument to a non-const pointer.
A function in stmmac needed a __force to avoid a sparse warning. Added it.
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/sgi/ |
H A D | ioc3-eth.c | diff 6469933605a3ecdfa66b98160cde98ecd256cb3f Mon Jun 04 07:44:16 CDT 2012 Joe Perches <joe@perches.com> ethernet: Remove casts to same type
Adding casts of objects to the same type is unnecessary and confusing for a human reader.
For example, this cast:
int y; int *p = (int *)&y;
I used the coccinelle script below to find and remove these unnecessary casts. I manually removed the conversions this script produces of casts with __force, __iomem and __user.
@@ type T; T *p; @@
- (T *)p + p
A function in atl1e_main.c was passed a const pointer when it actually modified elements of the structure.
Change the argument to a non-const pointer.
A function in stmmac needed a __force to avoid a sparse warning. Added it.
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/aeroflex/ |
H A D | greth.c | diff 6469933605a3ecdfa66b98160cde98ecd256cb3f Mon Jun 04 07:44:16 CDT 2012 Joe Perches <joe@perches.com> ethernet: Remove casts to same type
Adding casts of objects to the same type is unnecessary and confusing for a human reader.
For example, this cast:
int y; int *p = (int *)&y;
I used the coccinelle script below to find and remove these unnecessary casts. I manually removed the conversions this script produces of casts with __force, __iomem and __user.
@@ type T; T *p; @@
- (T *)p + p
A function in atl1e_main.c was passed a const pointer when it actually modified elements of the structure.
Change the argument to a non-const pointer.
A function in stmmac needed a __force to avoid a sparse warning. Added it.
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/atheros/atlx/ |
H A D | atl1.c | diff 6469933605a3ecdfa66b98160cde98ecd256cb3f Mon Jun 04 07:44:16 CDT 2012 Joe Perches <joe@perches.com> ethernet: Remove casts to same type
Adding casts of objects to the same type is unnecessary and confusing for a human reader.
For example, this cast:
int y; int *p = (int *)&y;
I used the coccinelle script below to find and remove these unnecessary casts. I manually removed the conversions this script produces of casts with __force, __iomem and __user.
@@ type T; T *p; @@
- (T *)p + p
A function in atl1e_main.c was passed a const pointer when it actually modified elements of the structure.
Change the argument to a non-const pointer.
A function in stmmac needed a __force to avoid a sparse warning. Added it.
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/via/ |
H A D | via-velocity.c | diff 6469933605a3ecdfa66b98160cde98ecd256cb3f Mon Jun 04 07:44:16 CDT 2012 Joe Perches <joe@perches.com> ethernet: Remove casts to same type
Adding casts of objects to the same type is unnecessary and confusing for a human reader.
For example, this cast:
int y; int *p = (int *)&y;
I used the coccinelle script below to find and remove these unnecessary casts. I manually removed the conversions this script produces of casts with __force, __iomem and __user.
@@ type T; T *p; @@
- (T *)p + p
A function in atl1e_main.c was passed a const pointer when it actually modified elements of the structure.
Change the argument to a non-const pointer.
A function in stmmac needed a __force to avoid a sparse warning. Added it.
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | sge.c | diff 6469933605a3ecdfa66b98160cde98ecd256cb3f Mon Jun 04 07:44:16 CDT 2012 Joe Perches <joe@perches.com> ethernet: Remove casts to same type
Adding casts of objects to the same type is unnecessary and confusing for a human reader.
For example, this cast:
int y; int *p = (int *)&y;
I used the coccinelle script below to find and remove these unnecessary casts. I manually removed the conversions this script produces of casts with __force, __iomem and __user.
@@ type T; T *p; @@
- (T *)p + p
A function in atl1e_main.c was passed a const pointer when it actually modified elements of the structure.
Change the argument to a non-const pointer.
A function in stmmac needed a __force to avoid a sparse warning. Added it.
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | cxgb4vf_main.c | diff 6469933605a3ecdfa66b98160cde98ecd256cb3f Mon Jun 04 07:44:16 CDT 2012 Joe Perches <joe@perches.com> ethernet: Remove casts to same type
Adding casts of objects to the same type is unnecessary and confusing for a human reader.
For example, this cast:
int y; int *p = (int *)&y;
I used the coccinelle script below to find and remove these unnecessary casts. I manually removed the conversions this script produces of casts with __force, __iomem and __user.
@@ type T; T *p; @@
- (T *)p + p
A function in atl1e_main.c was passed a const pointer when it actually modified elements of the structure.
Change the argument to a non-const pointer.
A function in stmmac needed a __force to avoid a sparse warning. Added it.
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/broadcom/ |
H A D | cnic.c | diff 6469933605a3ecdfa66b98160cde98ecd256cb3f Mon Jun 04 07:44:16 CDT 2012 Joe Perches <joe@perches.com> ethernet: Remove casts to same type
Adding casts of objects to the same type is unnecessary and confusing for a human reader.
For example, this cast:
int y; int *p = (int *)&y;
I used the coccinelle script below to find and remove these unnecessary casts. I manually removed the conversions this script produces of casts with __force, __iomem and __user.
@@ type T; T *p; @@
- (T *)p + p
A function in atl1e_main.c was passed a const pointer when it actually modified elements of the structure.
Change the argument to a non-const pointer.
A function in stmmac needed a __force to avoid a sparse warning. Added it.
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | bnx2.c | diff 6469933605a3ecdfa66b98160cde98ecd256cb3f Mon Jun 04 07:44:16 CDT 2012 Joe Perches <joe@perches.com> ethernet: Remove casts to same type
Adding casts of objects to the same type is unnecessary and confusing for a human reader.
For example, this cast:
int y; int *p = (int *)&y;
I used the coccinelle script below to find and remove these unnecessary casts. I manually removed the conversions this script produces of casts with __force, __iomem and __user.
@@ type T; T *p; @@
- (T *)p + p
A function in atl1e_main.c was passed a const pointer when it actually modified elements of the structure.
Change the argument to a non-const pointer.
A function in stmmac needed a __force to avoid a sparse warning. Added it.
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/neterion/ |
H A D | s2io.c | diff 6469933605a3ecdfa66b98160cde98ecd256cb3f Mon Jun 04 07:44:16 CDT 2012 Joe Perches <joe@perches.com> ethernet: Remove casts to same type
Adding casts of objects to the same type is unnecessary and confusing for a human reader.
For example, this cast:
int y; int *p = (int *)&y;
I used the coccinelle script below to find and remove these unnecessary casts. I manually removed the conversions this script produces of casts with __force, __iomem and __user.
@@ type T; T *p; @@
- (T *)p + p
A function in atl1e_main.c was passed a const pointer when it actually modified elements of the structure.
Change the argument to a non-const pointer.
A function in stmmac needed a __force to avoid a sparse warning. Added it.
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/marvell/ |
H A D | pxa168_eth.c | diff 6469933605a3ecdfa66b98160cde98ecd256cb3f Mon Jun 04 07:44:16 CDT 2012 Joe Perches <joe@perches.com> ethernet: Remove casts to same type
Adding casts of objects to the same type is unnecessary and confusing for a human reader.
For example, this cast:
int y; int *p = (int *)&y;
I used the coccinelle script below to find and remove these unnecessary casts. I manually removed the conversions this script produces of casts with __force, __iomem and __user.
@@ type T; T *p; @@
- (T *)p + p
A function in atl1e_main.c was passed a const pointer when it actually modified elements of the structure.
Change the argument to a non-const pointer.
A function in stmmac needed a __force to avoid a sparse warning. Added it.
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | mv643xx_eth.c | diff 6469933605a3ecdfa66b98160cde98ecd256cb3f Mon Jun 04 07:44:16 CDT 2012 Joe Perches <joe@perches.com> ethernet: Remove casts to same type
Adding casts of objects to the same type is unnecessary and confusing for a human reader.
For example, this cast:
int y; int *p = (int *)&y;
I used the coccinelle script below to find and remove these unnecessary casts. I manually removed the conversions this script produces of casts with __force, __iomem and __user.
@@ type T; T *p; @@
- (T *)p + p
A function in atl1e_main.c was passed a const pointer when it actually modified elements of the structure.
Change the argument to a non-const pointer.
A function in stmmac needed a __force to avoid a sparse warning. Added it.
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/freescale/ |
H A D | ucc_geth.c | diff 6469933605a3ecdfa66b98160cde98ecd256cb3f Mon Jun 04 07:44:16 CDT 2012 Joe Perches <joe@perches.com> ethernet: Remove casts to same type
Adding casts of objects to the same type is unnecessary and confusing for a human reader.
For example, this cast:
int y; int *p = (int *)&y;
I used the coccinelle script below to find and remove these unnecessary casts. I manually removed the conversions this script produces of casts with __force, __iomem and __user.
@@ type T; T *p; @@
- (T *)p + p
A function in atl1e_main.c was passed a const pointer when it actually modified elements of the structure.
Change the argument to a non-const pointer.
A function in stmmac needed a __force to avoid a sparse warning. Added it.
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | resource_tracker.c | diff 6469933605a3ecdfa66b98160cde98ecd256cb3f Mon Jun 04 07:44:16 CDT 2012 Joe Perches <joe@perches.com> ethernet: Remove casts to same type
Adding casts of objects to the same type is unnecessary and confusing for a human reader.
For example, this cast:
int y; int *p = (int *)&y;
I used the coccinelle script below to find and remove these unnecessary casts. I manually removed the conversions this script produces of casts with __force, __iomem and __user.
@@ type T; T *p; @@
- (T *)p + p
A function in atl1e_main.c was passed a const pointer when it actually modified elements of the structure.
Change the argument to a non-const pointer.
A function in stmmac needed a __force to avoid a sparse warning. Added it.
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|