linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [sailus-media-tree:media-ref 16/39] drivers/media/mc/mc-devnode.c:63:15: error: no member named 'ref' in 'struct media_devnode'
@ 2024-02-09 21:00 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-02-09 21:00 UTC (permalink / raw)
  To: Sakari Ailus; +Cc: llvm, oe-kbuild-all, linux-media

tree:   git://linuxtv.org/sailus/media_tree.git media-ref
head:   f94611d22fa335b7dabf2e7356b4486e5a1f8907
commit: a62c39d46e9076dc500bd9c2f35fcc5e557b4a88 [16/39] media: mc: Refcount the media device
config: i386-randconfig-054-20240208 (https://download.01.org/0day-ci/archive/20240210/202402100414.5Q1MjYkT-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240210/202402100414.5Q1MjYkT-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/202402100414.5Q1MjYkT-lkp@intel.com/

Note: the sailus-media-tree/media-ref HEAD f94611d22fa335b7dabf2e7356b4486e5a1f8907 builds fine.
      It only hurts bisectability.

All errors (new ones prefixed by >>):

>> drivers/media/mc/mc-devnode.c:63:15: error: no member named 'ref' in 'struct media_devnode'
      63 |         if (devnode->ref)
         |             ~~~~~~~  ^
   1 error generated.


vim +63 drivers/media/mc/mc-devnode.c

    56	
    57	/* Called when the last user of the media device exits. */
    58	static void media_devnode_release(struct device *cd)
    59	{
    60		struct media_devnode *devnode = to_media_devnode(cd);
    61	
    62		/* If the devnode has a ref, it is simply released by the user. */
  > 63		if (devnode->ref)
    64			return;
    65	
    66		if (devnode->minor != -1)
    67			media_devnode_free_minor(devnode->minor);
    68	
    69		/* Release media_devnode and perform other cleanups as needed. */
    70		if (devnode->release)
    71			devnode->release(devnode);
    72	}
    73	

-- 
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-09 21:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-09 21:00 [sailus-media-tree:media-ref 16/39] drivers/media/mc/mc-devnode.c:63:15: error: no member named 'ref' in 'struct media_devnode' 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;
as well as URLs for NNTP newsgroup(s).