All of lore.kernel.org
 help / color / mirror / Atom feed
* [nsa:dev/iio-backend-axi-dds-test 20/20] drivers/iio/dac/adi-axi-dac.c:65:1: warning: non-void function does not return a value
@ 2024-02-01  1:54 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-02-01  1:54 UTC (permalink / raw)
  To: Nuno Sa; +Cc: llvm, oe-kbuild-all, Nuno Sa

tree:   https://github.com/nunojsa/linux dev/iio-backend-axi-dds-test
head:   56a0faf5df7548936623a26c728ff3f0e970ef6a
commit: 56a0faf5df7548936623a26c728ff3f0e970ef6a [20/20] more stuff
config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20240201/202402010942.619gPo9U-lkp@intel.com/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project fdac7d0b6f74f919d319b31a0680c77f66732586)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240201/202402010942.619gPo9U-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/202402010942.619gPo9U-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/iio/dac/adi-axi-dac.c:63:24: warning: unused variable 'st' [-Wunused-variable]
      63 |         struct axi_dac_state *st = iio_backend_get_priv(back);
         |                               ^~
>> drivers/iio/dac/adi-axi-dac.c:65:1: warning: non-void function does not return a value [-Wreturn-type]
      65 | }
         | ^
   drivers/iio/dac/adi-axi-dac.c:69:24: warning: unused variable 'st' [-Wunused-variable]
      69 |         struct axi_dac_state *st = iio_backend_get_priv(back);
         |                               ^~
   drivers/iio/dac/adi-axi-dac.c:70:1: warning: non-void function does not return a value [-Wreturn-type]
      70 | }
         | ^
   4 warnings generated.


vim +65 drivers/iio/dac/adi-axi-dac.c

    60	
    61	static int axi_dac_buffer_preenable(struct iio_backend *back)
    62	{
    63		struct axi_dac_state *st = iio_backend_get_priv(back);
    64	
  > 65	}
    66	

-- 
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:[~2024-02-01  1:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-01  1:54 [nsa:dev/iio-backend-axi-dds-test 20/20] drivers/iio/dac/adi-axi-dac.c:65:1: warning: non-void function does not return a value kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.