Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> This patch rewrites the right hand side of an assignment for expressions of the form: a = (a b); to be: a = b; where = >. This issue was detected and resolved using the following coccinelle script: @@ identifier i; expression e; @@ -i = (i >> e); +i >>= …
Category: Linux
Feb 26 2015
staging: rtl8712: rewrite the right hand side of an assignment
Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> This patch rewrites the right hand side of an assignment for expressions of the form: a = (a b); to be: a = b; where = >. This issue was detected and resolved using the following coccinelle script: @@ identifier i; expression e; @@ -i = (i >> e); +i >>= …
Feb 26 2015
staging: rtl8723au: hal: rewrite the right hand side of an assignment
Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> This patch rewrites the right hand side of an assignment for expressions of the form: a = (a b); to be: a = b; where = >. This issue was detected and resolved using the following coccinelle script: @@ identifier i; expression e; @@ -i = (i >> e); +i >>= …
Feb 26 2015
staging: rtl8723au: hal: rewrite the right hand side of an assignment
Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> This patch rewrites the right hand side of an assignment for expressions of the form: a = (a b); to be: a = b; where = >. This issue was detected and resolved using the following coccinelle script: @@ identifier i; expression e; @@ -i = (i >> e); +i >>= …
Feb 26 2015
staging: rtl8723au: hal: rewrite the right hand side of an assignment
Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> This patch rewrites the right hand side of an assignment for expressions of the form: a = (a b); to be: a = b; where = >. This issue was detected and resolved using the following coccinelle script: @@ identifier i; expression e; @@ -i = (i >> e); +i >>= …
Feb 26 2015
staging: rtl8723au: rewrite the right hand side of an assignment
Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> This patch rewrites the right hand side of an assignment for expressions of the form: a = (a b); to be: a = b; where = >. This issue was detected and resolved using the following coccinelle script: @@ identifier i; expression e; @@ -i = (i >> e); +i >>= …
Feb 26 2015
staging: xgifb: rewrite the right hand side of an assignment
Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> This patch rewrites the right hand side of an assignment for expressions of the form: a = (a b); to be: a = b; where = >. This issue was detected and resolved using the following coccinelle script: @@ identifier i; expression e; @@ -i = (i >> e); +i >>= …
Feb 25 2015
drm/i915: Use enabled value from crtc_state rather than crtc (v2)
Author: Matt Roper <matthew.d.roper@intel.com> As vendors transition their drivers from legacy to atomic there’s some duplication of data between drm_crtc and drm_crtc_state (since unconverted drivers likely won’t have a state structure). i915 is partially converted and does have a crtc->state structure, but still uses direct crtc fields internally in many places, which causes the two …
Feb 24 2015
[media] drivers: media: i2c : s5c73m3: Replace dev_err with pr_err
Author: Tapasweni Pathak <tapaswenipathak@gmail.com> Replace dev_err statement with pr_err to fix null dereference. Found by Coccinelle. Signed-off-by: Tapasweni Pathak Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab — drivers/media/i2c/s5c73m3/s5c73m3-spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff –git a/drivers/media/i2c/s5c73m3/s5c73m3-spi.c b/drivers/media/i2c/s5c73m3/s5c73m3-spi.c index f60b265..63eb190 100644 — a/drivers/media/i2c/s5c73m3/s5c73m3-spi.c +++ b/drivers/media/i2c/s5c73m3/s5c73m3-spi.c @@ -52,7 +52,7 @@ static …
Feb 23 2015
Staging: rtl8712: replace memcpy() by ether_addr_copy() using coccinelle and pack variable
Author: Melike Yurtoglu <aysemelikeyurtoglu@gmail.com> This patch focuses on fixing the following warning generated by checkpatch.pl for the file rtl871x_cmd.c Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) @@ expression e1, e2; @@ – memcpy(e1, e2, ETH_ALEN); + ether_addr_copy(e1, e2); struct _adapter { struct dvobj_priv dvobjpriv; /* 0 40*/ struct mlme_priv mlmepriv; /* 40 …