From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 20FF117543 for ; Sun, 5 Jan 2025 21:07:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736111273; cv=none; b=lFX7QdOruGxJjSl8e4BZWKWO9p1JOXImXl7xuug6wR+8XKvds0lyTHqSRyB38REJA4ZkPyxlH0b+0zdY4eEFH6jt3a6ebedi8jbzi4B8g88QFtA5/MMRTgxvQe+WIDpp2pa6uHgYJaAnU4W+7DrV6N9btWKhZNYZ0o5kxgI0KuU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736111273; c=relaxed/simple; bh=Ksfx8+X8iAo9DgmFvaYWOuXaewtHooQUTjU5zFD5f8I=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=feGra7D9Taf5u6RC73A+UUnSyEjA5pp/TbDU3dyqSGNqDz0UR1WsXnWnPLGHzU6KBIU9+dwXWvRWUM6gFf1V6pmmwRJI/yALO4DG6oRVWKnTFip9mgifofGoSZI9FUSNhbwCbzYgq7+Hcobxq+80UBwOS6Q5fHWFrqhg70HLAWQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=DctNk0dl; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="DctNk0dl" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1736111270; x=1767647270; h=date:from:to:cc:subject:message-id:mime-version; bh=Ksfx8+X8iAo9DgmFvaYWOuXaewtHooQUTjU5zFD5f8I=; b=DctNk0dlc3kxRZya5t9imqsOlXR3RZo3gBGy3O7zK5KSxkdN+OjwkpOd QyQlAfTKfOMEJwQIg54eotSRmQMCoux70cJUqVE93Y1f9J/5Jj8LdDbUo Mzq/gnCqjzL92EmkfM93EIhxuNyTsJgMeqyO4yRBR9eTglslPQGP5erRS fl5lgrsXBpPpQuE+KNjWvLZ7jVlPrqm7AwTmYqG+afD+yAMFZcsSLvrFk Bn/mUcFgkfUiF2uYa87yF77u62I86HcS0lh8tu+otunKucWih4ggI8XLl Sgfl+I62Cyin9SCgUXgfKZHGlQwnB+ReE5LJnBJIQn/Q6qjIHadWVIDWS A==; X-CSE-ConnectionGUID: GIPwyFW2RrGEZgjWEK5+2Q== X-CSE-MsgGUID: bAF4So23TZ6Es3C3PRqpXg== X-IronPort-AV: E=McAfee;i="6700,10204,11306"; a="47249456" X-IronPort-AV: E=Sophos;i="6.12,291,1728975600"; d="scan'208";a="47249456" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jan 2025 13:07:50 -0800 X-CSE-ConnectionGUID: AfNFs8RmR862NDA498WJLw== X-CSE-MsgGUID: jQuDrS/1SMONLfmvgNnDHA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="125549097" Received: from lkp-server01.sh.intel.com (HELO d63d4d77d921) ([10.239.97.150]) by fmviesa002.fm.intel.com with ESMTP; 05 Jan 2025 13:07:48 -0800 Received: from kbuild by d63d4d77d921 with local (Exim 4.96) (envelope-from ) id 1tUXqb-000BzG-2L; Sun, 05 Jan 2025 21:07:45 +0000 Date: Mon, 6 Jan 2025 05:07:32 +0800 From: kernel test robot To: Konstantin Meskhidze Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, =?iso-8859-1?Q?Micka=EBl_Sala=FCn?= Subject: security/landlock/ruleset.c:644: warning: Function parameter or struct member '' not described in 'landlock_init_layer_masks' Message-ID: <202501060543.XG0RGoPB-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Konstantin, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 9244696b34f2a626d7468864420ab6a47289bf10 commit: 0e7410112964168a65578002269ae3b80b207936 landlock: Move and rename layer helpers date: 1 year, 2 months ago config: csky-randconfig-r026-20230729 (https://download.01.org/0day-ci/archive/20250106/202501060543.XG0RGoPB-lkp@intel.com/config) compiler: csky-linux-gcc (GCC) 12.4.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250106/202501060543.XG0RGoPB-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 | Closes: https://lore.kernel.org/oe-kbuild-all/202501060543.XG0RGoPB-lkp@intel.com/ All warnings (new ones prefixed by >>): Use of uninitialized value $param in regexp compilation at scripts/kernel-doc line 1532, line 182. Use of uninitialized value $actual in substitution (s///) at scripts/kernel-doc line 1484, line 182. Use of uninitialized value $actual in substitution (s///) at scripts/kernel-doc line 1484, line 182. Use of uninitialized value $param in substitution (s///) at scripts/kernel-doc line 1588, line 182. Use of uninitialized value $param in pattern match (m//) at scripts/kernel-doc line 1616, line 182. Use of uninitialized value $param in hash element at scripts/kernel-doc line 1626, line 182. Use of uninitialized value $param in pattern match (m//) at scripts/kernel-doc line 1626, line 182. Use of uninitialized value $param in hash element at scripts/kernel-doc line 1627, line 182. Use of uninitialized value $param in pattern match (m//) at scripts/kernel-doc line 1629, line 182. Use of uninitialized value $param in concatenation (.) or string at scripts/kernel-doc line 1630, line 182. security/landlock/ruleset.c:182: warning: Function parameter or struct member '' not described in 'insert_rule' Use of uninitialized value $param in hash element at scripts/kernel-doc line 1645, line 182. Use of uninitialized value $parameterlist[2] in join or string at scripts/kernel-doc line 1806, line 182. security/landlock/ruleset.c:182: warning: Excess function parameter 'layers' description in 'insert_rule' Use of uninitialized value $param in regexp compilation at scripts/kernel-doc line 1532, line 644. Use of uninitialized value $actual in substitution (s///) at scripts/kernel-doc line 1484, line 644. Use of uninitialized value $actual in substitution (s///) at scripts/kernel-doc line 1484, line 644. Use of uninitialized value $param in substitution (s///) at scripts/kernel-doc line 1588, line 644. Use of uninitialized value $param in pattern match (m//) at scripts/kernel-doc line 1616, line 644. Use of uninitialized value $param in hash element at scripts/kernel-doc line 1626, line 644. Use of uninitialized value $param in pattern match (m//) at scripts/kernel-doc line 1626, line 644. Use of uninitialized value $param in hash element at scripts/kernel-doc line 1627, line 644. Use of uninitialized value $param in pattern match (m//) at scripts/kernel-doc line 1629, line 644. Use of uninitialized value $param in concatenation (.) or string at scripts/kernel-doc line 1630, line 644. >> security/landlock/ruleset.c:644: warning: Function parameter or struct member '' not described in 'landlock_init_layer_masks' Use of uninitialized value $param in hash element at scripts/kernel-doc line 1645, line 644. Use of uninitialized value $parameterlist[2] in join or string at scripts/kernel-doc line 1806, line 644. >> security/landlock/ruleset.c:644: warning: Excess function parameter 'layer_masks' description in 'landlock_init_layer_masks' vim +644 security/landlock/ruleset.c 626 627 /** 628 * landlock_init_layer_masks - Initialize layer masks from an access request 629 * 630 * Populates @layer_masks such that for each access right in @access_request, 631 * the bits for all the layers are set where this access right is handled. 632 * 633 * @domain: The domain that defines the current restrictions. 634 * @access_request: The requested access rights to check. 635 * @layer_masks: The layer masks to populate. 636 * 637 * Returns: An access mask where each access right bit is set which is handled 638 * in any of the active layers in @domain. 639 */ 640 access_mask_t landlock_init_layer_masks( 641 const struct landlock_ruleset *const domain, 642 const access_mask_t access_request, 643 layer_mask_t (*const layer_masks)[LANDLOCK_NUM_ACCESS_FS]) > 644 { -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki