Quentin LAMBERT

Articles de cet auteur

ASoC: adau1977: fix simple_return.cocci warnings

Author: kbuild test robot <fengguang.wu@intel.com> sound/soc/codecs/adau1977.c:496:5-8: WARNING: end returns can be simpified Simplify a trivial if-return sequence. Possibly combine with a preceding function call. Generated by: scripts/coccinelle/misc/simple_return.cocci Signed-off-by: Fengguang Wu Signed-off-by: Mark Brown — sound/soc/codecs/adau1977.c | 5 +—- 1 file changed, 1 insertion(+), 4 deletions(-)   diff –git a/sound/soc/codecs/adau1977.c b/sound/soc/codecs/adau1977.c index c5b1b8e..3fb09c1 100644 — a/sound/soc/codecs/adau1977.c …

Lire la suite

KVM: x86: drop unneeded null test

Author: Julia Lawall <Julia.Lawall@lip6.fr> If the null test is needed, the call to cancel_delayed_work_sync would have already crashed. Normally, the destroy function should only be called if the init function has succeeded, in which case ioapic is not null. Problem found using Coccinelle. Suggested-by: Michael S. Tsirkin Signed-off-by: Julia Lawall Signed-off-by: Paolo Bonzini — arch/x86/kvm/ioapic.c …

Lire la suite

pinctrl: use ERR_CAST instead of ERR_PTR/PTR_ERR

Author: Fabian Frederick <fabf@skynet.be> Inspired by scripts/coccinelle/api/err_cast.cocci Signed-off-by: Fabian Frederick Signed-off-by: Linus Walleij — include/linux/pinctrl/consumer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/include/linux/pinctrl/consumer.h b/include/linux/pinctrl/consumer.h index 18eccef..d7e5d60 100644 — a/include/linux/pinctrl/consumer.h +++ b/include/linux/pinctrl/consumer.h @@ -142,7 +142,7 @@ static inline struct pinctrl * __must_check pinctrl_get_select( s = pinctrl_lookup_state(p, name); if (IS_ERR(s)) { …

Lire la suite

drm/i915: use ERR_CAST instead of ERR_PTR/PTR_ERR

Author: Fabian Frederick <fabf@skynet.be> Inspired by scripts/coccinelle/api/err_cast.cocci Signed-off-by: Fabian Frederick Reviewed-by: Jani Nikula Signed-off-by: Daniel Vetter — drivers/gpu/drm/i915/intel_drv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h index ddf3fefd..ea20edb 100644 — a/drivers/gpu/drm/i915/intel_drv.h +++ b/drivers/gpu/drm/i915/intel_drv.h @@ -1419,7 +1419,7 @@ intel_atomic_get_crtc_state(struct drm_atomic_state *state, struct drm_crtc_state *crtc_state; crtc_state = drm_atomic_get_crtc_state(state, &crtc->base); if …

Lire la suite

video: fbdev: tdfxfb: use arch_phys_wc_add() and ioremap_wc()

Author: Luis R. Rodriguez <mcgrof@suse.com> This driver uses the same area for MTRR as for the ioremap(). Convert the driver from using the x86 specific MTRR code to the architecture agnostic arch_phys_wc_add(). arch_phys_wc_add() will avoid MTRR if write-combining is available, in order to take advantage of that also ensure the ioremap’d area is requested as …

Lire la suite

video: fbdev: rivafb: use arch_phys_wc_add() and ioremap_wc()

Author: Luis R. Rodriguez <mcgrof@suse.com> This driver uses the same area for MTRR as for the ioremap(). Convert the driver from using the x86 specific MTRR code to the architecture agnostic arch_phys_wc_add(). arch_phys_wc_add() will avoid MTRR if write-combining is available, in order to take advantage of that also ensure the ioremap’d area is requested as …

Lire la suite

video: fbdev: pm3fb: use arch_phys_wc_add() and ioremap_wc()

Author: Luis R. Rodriguez <mcgrof@suse.com> This driver uses the same area for MTRR as for the ioremap(). Convert the driver from using the x86 specific MTRR code to the architecture agnostic arch_phys_wc_add(). arch_phys_wc_add() will avoid MTRR if write-combining is available, in order to take advantage of that also ensure the ioremap’d area is requested as …

Lire la suite

video: fbdev: pm2fb: use arch_phys_wc_add() and ioremap_wc()

Author: Luis R. Rodriguez <mcgrof@suse.com> This driver uses the same area for MTRR as for the ioremap(). Convert the driver from using the x86 specific MTRR code to the architecture agnostic arch_phys_wc_add(). arch_phys_wc_add() will avoid MTRR if write-combining is available, in order to take advantage of that also ensure the ioremap’d area is requested as …

Lire la suite

video: fbdev: i810: use arch_phys_wc_add() and ioremap_wc()

Author: Luis R. Rodriguez <mcgrof@suse.com> The same area used for MTRR is used for the ioremap() area. Convert the driver from using the x86 specific MTRR code to the architecture agnostic arch_phys_wc_add(). arch_phys_wc_add() will avoid MTRR if write-combining is available, in order to take advantage of that also ensure the ioremap’d area is requested as …

Lire la suite

video: fbdev: aty: use arch_phys_wc_add() and ioremap_wc()

Author: Luis R. Rodriguez <mcgrof@suse.com> Convert the driver from using the x86 specific MTRR code to the architecture agnostic arch_phys_wc_add(). arch_phys_wc_add() will avoid MTRR if write-combining is available, in order to take advantage of that also ensure the ioremap’d area is requested as write-combining. There are a few motivations for this: a) Take advantage of …

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.