All of lore.kernel.org
 help / color / mirror / Atom feed
* [jsarha:topic/chromeos-4.19-s0ix 7414/9999] security/container/process.c:367:5: warning: no previous prototype for 'csm_set_contid'
@ 2024-01-17 20:43 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-01-17 20:43 UTC (permalink / raw)
  Cc: oe-kbuild-all

tree:   https://github.com/jsarha/linux topic/chromeos-4.19-s0ix
head:   430bdaa0a8c38697780f45a148964d71951df11f
commit: 92dff21f44ad18e109b6e086a29141fe474b3782 [7414/9999] CHROMIUM: security: Container Monitoring LSM
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20240118/202401180411.aPUEx6IX-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240118/202401180411.aPUEx6IX-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/202401180411.aPUEx6IX-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> security/container/process.c:367:5: warning: no previous prototype for 'csm_set_contid' [-Wmissing-prototypes]
     367 | u64 csm_set_contid(struct task_struct *task)
         |     ^~~~~~~~~~~~~~


vim +/csm_set_contid +367 security/container/process.c

   366	
 > 367	u64 csm_set_contid(struct task_struct *task)
   368	{
   369		u64 cid;
   370	
   371		/* TODO: Report error to the backend */
   372		if (WARN_ON(!task->audit))
   373			return AUDIT_CID_UNSET;
   374	
   375		cid = atomic_inc_return(&contid);
   376		task->audit->contid = cid;
   377		return cid;
   378	}
   379	

-- 
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-01-17 20:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-17 20:43 [jsarha:topic/chromeos-4.19-s0ix 7414/9999] security/container/process.c:367:5: warning: no previous prototype for 'csm_set_contid' 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.