Articles de cet auteur
Jul 03 2014
drm/i915: Emphasize that ctx->obj & ctx->is_initialized refer to the legacy rcs ctx
Author: Oscar Mateo <oscar.mateo@intel.com> We have already advanced that Logical Ring Contexts have their own kind of backing objects, but everything will be better explained in the Execlists series. For now, suffice it to say that the current backing object is only ever used with the render ring, so we’re making this fact more explicit …
Jul 03 2014
staging: ced1401: Add void declarations in zero-arg functions.
Author: Chi Pham <fempsci@gmail.com> Added explicit void declarations to zero-argument function headers. The following coccinelle script was used: @addvoid@ identifier f; @@ f( + void ) { … } Signed-off-by: Chi Pham Signed-off-by: Greg Kroah-Hartman — drivers/staging/ced1401/userspace/use1401.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff –git a/drivers/staging/ced1401/userspace/use1401.c b/drivers/staging/ced1401/userspace/use1401.c index 9ebddbd..d589311 100644 …
Jul 03 2014
iommu/fsl: Add void declarations in zero-arg functions.
Author: Chi Pham <fempsci@gmail.com> Added explicit void declarations to zero-argument function headers. The following coccinelle script was used: @addvoid@ identifier f; @@ f( + void ) { … } Signed-off-by: Chi Pham Signed-off-by: Joerg Roedel — drivers/iommu/fsl_pamu.c | 2 +- drivers/iommu/fsl_pamu_domain.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff –git a/drivers/iommu/fsl_pamu.c …
Jun 29 2014
netfilter: nft_log: fix coccinelle warnings
Author: Fengguang Wu <fengguang.wu@intel.com> net/netfilter/nft_log.c:79:44-45: Unneeded semicolon Removes unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Pablo Neira Ayuso Signed-off-by: Fengguang Wu Signed-off-by: Pablo Neira Ayuso — net/netfilter/nft_log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff –git a/net/netfilter/nft_log.c b/net/netfilter/nft_log.c index 5b1a4f5..bde05f28 100644 — a/net/netfilter/nft_log.c +++ b/net/netfilter/nft_log.c @@ -76,7 +76,7 @@ static int nft_log_init(const …
Jun 26 2014
ecryptfs: Drop cast
Author: Himangi Saraogi <himangi774@gmail.com> This patch does away with cast on void * and the if as it is unnecessary. The following Coccinelle semantic patch was used for making the change: @r@ expression x; void* e; type T; identifier f; @@ ( *((T *)e) | ((T *)x)[…] | ((T *)x)->f | – (T *) e …
Jun 26 2014
NFSv4: Drop cast
Author: Himangi Saraogi <himangi774@gmail.com> This patch does away with the cast on void * as it is unnecessary. The following Coccinelle semantic patch was used for making the change: @r@ expression x; void* e; type T; identifier f; @@ ( *((T *)e) | ((T *)x)[…] | ((T *)x)->f | – (T *) e ) Signed-off-by: …
Jun 26 2014
fuse: inode: drop cast
Author: Himangi Saraogi <himangi774@gmail.com> This patch removes the cast on data of type void * as it is not needed. The following Coccinelle semantic patch was used for making the change: @r@ expression x; void* e; type T; identifier f; @@ ( *((T *)e) | ((T *)x)[…] | ((T *)x)->f | – (T *) e …
Jun 26 2014
HID: roccat: Drop cast
Author: Himangi Saraogi <himangi774@gmail.com> This patch removes the cast on data of type void* as it is not needed. The following Coccinelle semantic patch was used for making the change: @r@ expression x; void* e; type T; identifier f; @@ ( *((T *)e) | ((T *)x)[…] | ((T *)x)->f | – (T *) e ) …
Jun 22 2014
net: phy: at803x: fix coccinelle warnings
Author: Fengguang Wu <fengguang.wu@intel.com> drivers/net/phy/at803x.c:196:26-32: ERROR: application of sizeof to pointer sizeof when applied to a pointer typed expression gives the size of the pointer Generated by: scripts/coccinelle/misc/noderef.cocci Signed-off-by: Fengguang Wu Acked-by: Daniel Mack Signed-off-by: David S. Miller — drivers/net/phy/at803x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff –git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c …
Jun 21 2014
Staging: rtl8192e: adjust error handling
Author: Himangi Saraogi <himangi774@gmail.com> This patch removes a test in error handling code by adding a return path. The Coccinelle semantic match that found the problem is: // @@ expression E,E1,E2; @@ E = alloc_etherdev(…) … when != E = E1 if (…) { … free_netdev(E); … return …; } … when != E = …