Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [tiwai-sound:for-next 28/28] sound/pci/hda/cs35l41_hda_property.c:64:59: warning: ordered comparison of pointer with integer zero
@ 2023-08-15 21:57 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-08-15 21:57 UTC (permalink / raw)
  To: Stefan Binding; +Cc: oe-kbuild-all, alsa-devel, Takashi Iwai

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-next
head:   ef4ba63f12b03532378395a8611f2f6e22ece67b
commit: ef4ba63f12b03532378395a8611f2f6e22ece67b [28/28] ALSA: hda: cs35l41: Support systems with missing _DSD properties
config: loongarch-allyesconfig (https://download.01.org/0day-ci/archive/20230816/202308160506.8lCEeFDG-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230816/202308160506.8lCEeFDG-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/202308160506.8lCEeFDG-lkp@intel.com/

All warnings (new ones prefixed by >>):

   sound/pci/hda/cs35l41_hda_property.c: In function 'cs35l41_add_dsd_properties':
>> sound/pci/hda/cs35l41_hda_property.c:64:59: warning: ordered comparison of pointer with integer zero [-Wextra]
      64 |         for (model = cs35l41_prop_model_table; model->hid > 0; model++) {
         |                                                           ^


vim +64 sound/pci/hda/cs35l41_hda_property.c

    58	
    59	int cs35l41_add_dsd_properties(struct cs35l41_hda *cs35l41, struct device *physdev, int id,
    60				       const char *hid)
    61	{
    62		const struct cs35l41_prop_model *model;
    63	
  > 64		for (model = cs35l41_prop_model_table; model->hid > 0; model++) {

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-08-15 21:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-15 21:57 [tiwai-sound:for-next 28/28] sound/pci/hda/cs35l41_hda_property.c:64:59: warning: ordered comparison of pointer with integer zero kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox