public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: Nathan Chancellor <nathan@kernel.org>
To: kernel test robot <lkp@intel.com>
Cc: Rob Herring <robh@kernel.org>,
	llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	Mark Brown <broonie@kernel.org>
Subject: Re: [broonie-ci:v2_20231004_robh_asoc_dt_matching_and_header_cleanups 90/90] sound/soc/tegra/tegra210_amx.c:553:10: warning: variable 'soc_data' is uninitialized when used here
Date: Mon, 6 Nov 2023 09:49:50 -0700	[thread overview]
Message-ID: <20231106164950.GA1218555@dev-arch.thelio-3990X> (raw)
In-Reply-To: <202311060343.4TQWWtdK-lkp@intel.com>

On Mon, Nov 06, 2023 at 03:40:17AM +0800, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/ci.git v2_20231004_robh_asoc_dt_matching_and_header_cleanups
> head:   2e52f94da275deea7cf5f16b3d8fe9c43529a41d
> commit: 2e52f94da275deea7cf5f16b3d8fe9c43529a41d [90/90] ASoC: Use device_get_match_data()
> config: powerpc64-allyesconfig (https://download.01.org/0day-ci/archive/20231106/202311060343.4TQWWtdK-lkp@intel.com/config)
> compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231106/202311060343.4TQWWtdK-lkp@intel.com/reproduce)
> 
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202311060343.4TQWWtdK-lkp@intel.com/
> 
> All warnings (new ones prefixed by >>):
> 
> >> sound/soc/tegra/tegra210_amx.c:553:10: warning: variable 'soc_data' is uninitialized when used here [-Wuninitialized]
>      553 |                                             soc_data->regmap_conf);
>          |                                             ^~~~~~~~
>    include/linux/regmap.h:1104:45: note: expanded from macro 'devm_regmap_init_mmio'
>     1104 |         devm_regmap_init_mmio_clk(dev, NULL, regs, config)
>          |                                                    ^~~~~~
>    include/linux/regmap.h:1090:24: note: expanded from macro 'devm_regmap_init_mmio_clk'
>     1090 |                                 dev, clk_id, regs, config)
>          |                                                    ^~~~~~
>    include/linux/regmap.h:735:6: note: expanded from macro '__regmap_lockdep_wrapper'
>      735 |                 fn(__VA_ARGS__, &_key,                                  \
>          |                    ^~~~~~~~~~~
>    sound/soc/tegra/tegra210_amx.c:538:40: note: initialize the variable 'soc_data' to silence this warning
>      538 |         struct tegra210_amx_soc_data *soc_data;
>          |                                               ^
>          |                                                = NULL
>    1 warning generated.

Just for the record, this was fixed by commit 41cb1126bed1 ("ASoC:
tegra: Fix -Wuninitialized in tegra210_amx_platform_probe()").

Cheers,
Nathan

      reply	other threads:[~2023-11-06 16:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-05 19:40 [broonie-ci:v2_20231004_robh_asoc_dt_matching_and_header_cleanups 90/90] sound/soc/tegra/tegra210_amx.c:553:10: warning: variable 'soc_data' is uninitialized when used here kernel test robot
2023-11-06 16:49 ` Nathan Chancellor [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231106164950.GA1218555@dev-arch.thelio-3990X \
    --to=nathan@kernel.org \
    --cc=broonie@kernel.org \
    --cc=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox