Quentin LAMBERT

Author's posts

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 …

Continue reading

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 …

Continue reading

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 …

Continue reading

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 …

Continue reading

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 …

Continue reading

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: …

Continue reading

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 …

Continue reading

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 ) …

Continue reading

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 …

Continue reading

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 = …

Continue reading

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.