Patch "ASoC: tas2781: Fix a warning reported by robot kernel test" has been added to the 6.9-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    ASoC: tas2781: Fix a warning reported by robot kernel test

to the 6.9-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     asoc-tas2781-fix-a-warning-reported-by-robot-kernel-.patch
and it can be found in the queue-6.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 4feffa26a7fa734df23d49a3242b48194ba5870b
Author: Shenghao Ding <shenghao-ding@xxxxxx>
Date:   Sun May 5 20:23:45 2024 +0800

    ASoC: tas2781: Fix a warning reported by robot kernel test
    
    [ Upstream commit 1ae14f3520b1a0ad144610a3f592c81a3e81cd1b ]
    
    Fix a warning reported by robot kernel test that 'fw_entry' in function
    'tas2781_load_calibration' is used uninitialized with compiler
    sh4-linux-gcc (GCC) 13.2.0, an update of copyright and a correction of the
    comments.
    
    Fixes: ef3bcde75d06 ("ASoc: tas2781: Add tas2781 driver")
    Signed-off-by: Shenghao Ding <shenghao-ding@xxxxxx>
    Link: https://lore.kernel.org/r/20240505122346.1326-1-shenghao-ding@xxxxxx
    Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/sound/soc/codecs/tas2781-fmwlib.c b/sound/soc/codecs/tas2781-fmwlib.c
index 45760fe195237..a6be81adcb839 100644
--- a/sound/soc/codecs/tas2781-fmwlib.c
+++ b/sound/soc/codecs/tas2781-fmwlib.c
@@ -1,8 +1,8 @@
 // SPDX-License-Identifier: GPL-2.0
 //
-// tasdevice-fmw.c -- TASDEVICE firmware support
+// tas2781-fmwlib.c -- TASDEVICE firmware support
 //
-// Copyright 2023 Texas Instruments, Inc.
+// Copyright 2023 - 2024 Texas Instruments, Inc.
 //
 // Author: Shenghao Ding <shenghao-ding@xxxxxx>
 
@@ -1878,7 +1878,7 @@ int tas2781_load_calibration(void *context, char *file_name,
 {
 	struct tasdevice_priv *tas_priv = (struct tasdevice_priv *)context;
 	struct tasdevice *tasdev = &(tas_priv->tasdevice[i]);
-	const struct firmware *fw_entry;
+	const struct firmware *fw_entry = NULL;
 	struct tasdevice_fw *tas_fmw;
 	struct firmware fmw;
 	int offset = 0;




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux