Quentin LAMBERT

Author's posts

ASoC: wm5102: Use put_unaligned_be16

Author: Vaishali Thakkar <vthakkar1994@gmail.com> This patch introduces the use of function put_unaligned_be16. This is done using Coccinelle and semantic patch used is as follows: @a@ typedef u16, __be16, uint16_t; {u16,__be16,uint16_t} e16; identifier tmp; expression ptr; expression y,e; type T; @@ – tmp = cpu_to_be16(y); ? tmp = e @@ type T; identifier a.tmp; @@ – …

Continue reading

ALSA: Deletion of checks before the function call “iounmap”

Author: Markus Elfring <elfring@users.sourceforge.net> The iounmap() function performs also input parameter validation. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Takashi Iwai — sound/aoa/soundbus/i2sbus/core.c | 13 ++++++——- sound/arm/aaci.c | 4 ++– sound/drivers/ml403-ac97cr.c | 3 +– sound/isa/msnd/msnd_pinnacle.c | 3 +– sound/parisc/harmony.c | …

Continue reading

ALSA: sb: Delete an unnecessary check before the function call “snd_emux_free”

Author: Markus Elfring <elfring@users.sourceforge.net> The snd_emux_free() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Takashi Iwai — sound/isa/sb/emu8000_synth.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   diff …

Continue reading

ALSA: aoa: Delete an unnecessary check before the function call “snd_pcm_suspend_all”

Author: Markus Elfring <elfring@users.sourceforge.net> The snd_pcm_suspend_all() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Takashi Iwai — sound/aoa/soundbus/i2sbus/core.c | 6 ++—- 1 file changed, 2 insertions(+), 4 deletions(-)   diff …

Continue reading

ASoC: Intel: Delete an unnecessary check before the function call “release_firmware”

Author: Markus Elfring <elfring@users.sourceforge.net> The release_firmware() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Mark Brown — sound/soc/intel/sst/sst_loader.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   diff …

Continue reading

ASoC: fsi: Deletion of unnecessary checks before the function call “clk_enable”

Author: Markus Elfring <elfring@users.sourceforge.net> The clk_enable() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Mark Brown — sound/soc/sh/fsi.c | 9 +++—— 1 file changed, 3 insertions(+), 6 deletions(-)   diff …

Continue reading

ASoC: Intel: Delete an unnecessary check before the function call “sst_dma_free”

Author: Markus Elfring <elfring@users.sourceforge.net> The sst_dma_free() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Mark Brown — sound/soc/intel/sst-dsp.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   diff …

Continue reading

ALSA: emux: Delete an unnecessary check before the function call “snd_sf_free”

Author: Markus Elfring <elfring@users.sourceforge.net> The snd_sf_free() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Takashi Iwai — sound/synth/emux/emux.c | 6 +—– 1 file changed, 1 insertion(+), 5 deletions(-)   diff …

Continue reading

ALSA: oxygen: Delete an unnecessary check before the function call “snd_pcm_suspend”

Author: Markus Elfring <elfring@users.sourceforge.net> The snd_pcm_suspend() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Takashi Iwai — sound/pci/oxygen/oxygen_lib.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   diff …

Continue reading

ALSA: emu10k1: Delete an unnecessary check before the function call “kfree”

Author: Markus Elfring <elfring@users.sourceforge.net> The kfree() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Takashi Iwai — sound/pci/emu10k1/p16v.c | 7 ++—– 1 file changed, 2 insertions(+), 5 deletions(-)   diff …

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.