Quentin LAMBERT

Articles de cet auteur

clk: Convert __clk_get_name(hw->clk) to clk_hw_get_name(hw)

Author: Stephen Boyd <sboyd@codeaurora.org> Use the provider based method to get a clock’s name so that we can get rid of the clk member in struct clk_hw one day. Mostly converted with the following coccinelle script. @@ struct clk_hw *E; @@ -__clk_get_name(E->clk) +clk_hw_get_name(E) Acked-by: Heiko Stuebner Cc: Sylwester Nawrocki Cc: Tomasz Figa Cc: Peter De …

Lire la suite

crypto: caam – Remove unneeded ‘ret’ variable

Author: Fabio Estevam <fabio.estevam@freescale.com> Variable ‘ret’ is only used for returning the value 0. We can make it simpler and just return 0 instead. The semantic patch that makes this change is available in scripts/coccinelle/misc/returnvar.cocci. Signed-off-by: Fabio Estevam Signed-off-by: Herbert Xu — drivers/crypto/caam/ctrl.c | 4 ++– 1 file changed, 2 insertions(+), 2 deletions(-)   diff …

Lire la suite

net: fec: Remove unneeded use of IS_ERR_VALUE() macro

Author: Fabio Estevam <fabio.estevam@freescale.com> There is no need to use the IS_ERR_VALUE() macro for checking the return value from pm_runtime_* functions. Just do a simple negative test instead. The semantic patch that makes this change is available in scripts/coccinelle/api/pm_runtime.cocci. Signed-off-by: Fabio Estevam Signed-off-by: David S. Miller — drivers/net/ethernet/freescale/fec_main.c | 6 +++— 1 file changed, 3 …

Lire la suite

crypto: qat – fix simple_return.cocci warnings

Author: Wu Fengguang <fengguang.wu@intel.com> drivers/crypto/qat/qat_common/adf_sriov.c:258:1-4: WARNING: end returns can be simpified and declaration on line 212 can be dropped Simplify a trivial if-return sequence. Possibly combine with a preceding function call. Generated by: scripts/coccinelle/misc/simple_return.cocci CC: Tadeusz Struk Signed-off-by: Fengguang Wu Signed-off-by: Herbert Xu — drivers/crypto/qat/qat_common/adf_sriov.c | 8 ++—— 1 file changed, 2 insertions(+), 6 deletions(-) …

Lire la suite

ASoC: topology: use kmemdup rather than duplicating its implementation

Author: Andrzej Hajda <a.hajda@samsung.com> The patch was generated using fixed coccinelle semantic patch scripts/coccinelle/api/memdup.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2014320 Signed-off-by: Andrzej Hajda Signed-off-by: Mark Brown — sound/soc/soc-topology.c | 6 +++— 1 file changed, 3 insertions(+), 3 deletions(-)   diff –git a/sound/soc/soc-topology.c b/sound/soc/soc-topology.c index f038c6e..8620dbf 100644 — a/sound/soc/soc-topology.c +++ b/sound/soc/soc-topology.c @@ -832,12 +832,12 @@ static int soc_tplg_denum_create_values(struct soc_enum …

Lire la suite

ASoC: intel: use kmemdup rather than duplicating its implementation

Author: Andrzej Hajda <a.hajda@samsung.com> The patch was generated using fixed coccinelle semantic patch scripts/coccinelle/api/memdup.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2014320 Signed-off-by: Andrzej Hajda Signed-off-by: Mark Brown — sound/soc/intel/atom/sst/sst_ipc.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   diff –git a/sound/soc/intel/atom/sst/sst_ipc.c b/sound/soc/intel/atom/sst/sst_ipc.c index 5a27861..3dc7358 100644 — a/sound/soc/intel/atom/sst/sst_ipc.c +++ b/sound/soc/intel/atom/sst/sst_ipc.c @@ -352,10 +352,9 @@ void sst_process_reply_mrfld(struct intel_sst_drv *sst_drv_ctx, …

Lire la suite

ALSA: firewire: use kmemdup rather than duplicating its implementation

Author: Andrzej Hajda <a.hajda@samsung.com> The patch was generated using fixed coccinelle semantic patch scripts/coccinelle/api/memdup.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2014320 Signed-off-by: Andrzej Hajda Signed-off-by: Takashi Iwai — sound/firewire/oxfw/oxfw-stream.c | 9 +++—— 1 file changed, 3 insertions(+), 6 deletions(-)   diff –git a/sound/firewire/oxfw/oxfw-stream.c b/sound/firewire/oxfw/oxfw-stream.c index 873d40f..77ad5b9 100644 — a/sound/firewire/oxfw/oxfw-stream.c +++ b/sound/firewire/oxfw/oxfw-stream.c @@ -512,12 +512,11 @@ assume_stream_formats(struct snd_oxfw *oxfw, enum …

Lire la suite

net/xfrm: use kmemdup rather than duplicating its implementation

Author: Andrzej Hajda <a.hajda@samsung.com> The patch was generated using fixed coccinelle semantic patch scripts/coccinelle/api/memdup.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2014320 Signed-off-by: Andrzej Hajda Signed-off-by: Steffen Klassert — net/xfrm/xfrm_user.c | 6 ++—- 1 file changed, 2 insertions(+), 4 deletions(-)   diff –git a/net/xfrm/xfrm_user.c b/net/xfrm/xfrm_user.c index 0cebf1f..a8de9e3 100644 — a/net/xfrm/xfrm_user.c +++ b/net/xfrm/xfrm_user.c @@ -925,12 +925,10 @@ static int xfrm_dump_sa(struct sk_buff …

Lire la suite

UBIFS: use kmemdup rather than duplicating its implementation

Author: Andrzej Hajda <a.hajda@samsung.com> The patch was generated using fixed coccinelle semantic patch scripts/coccinelle/api/memdup.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2014320 Signed-off-by: Andrzej Hajda Reviewed-by: Richard Weinberger Signed-off-by: Artem Bityutskiy — fs/ubifs/lpt.c | 6 ++—- fs/ubifs/tnc.c | 3 +– 2 files changed, 3 insertions(+), 6 deletions(-)   diff –git a/fs/ubifs/lpt.c b/fs/ubifs/lpt.c index dc9f27e..9a51710 100644 — a/fs/ubifs/lpt.c +++ b/fs/ubifs/lpt.c @@ …

Lire la suite

staging/lustre: use kmemdup rather than duplicating its implementation

Author: Andrzej Hajda <a.hajda@samsung.com> The patch was generated using fixed coccinelle semantic patch scripts/coccinelle/api/memdup.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2014320 Signed-off-by: Andrzej Hajda Signed-off-by: Greg Kroah-Hartman — drivers/staging/lustre/lustre/obdclass/acl.c | 6 ++—- 1 file changed, 2 insertions(+), 4 deletions(-)   diff –git a/drivers/staging/lustre/lustre/obdclass/acl.c b/drivers/staging/lustre/lustre/obdclass/acl.c index bc3fc47..933456c 100644 — a/drivers/staging/lustre/lustre/obdclass/acl.c +++ b/drivers/staging/lustre/lustre/obdclass/acl.c @@ -104,11 +104,10 @@ static int lustre_posix_acl_xattr_reduce_space(posix_acl_xattr_header **header, …

Lire la suite

BtrLinux
Résumé de la politique de confidentialité

Ce site utilise des cookies afin que nous puissions vous fournir la meilleure expérience utilisateur possible. Les informations sur les cookies sont stockées dans votre navigateur et remplissent des fonctions telles que vous reconnaître lorsque vous revenez sur notre site Web et aider notre équipe à comprendre les sections du site que vous trouvez les plus intéressantes et utiles.