From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C986BC77B6E for ; Wed, 12 Apr 2023 16:34:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=vdJyTd2aw3EG5FbfJO3qJUDpq4gTE5MPT2jaxnB7I3g=; b=p0QlcCFGu4JSeO F4fiTNWV/1FVpHspOMkUCcy73Kvok+jsB2e7ydd1PBAVP/lLg7t6EbGOT9YHrlFmGvJYCGazz34QP MUUEr1I0TmrX4dwSJuDSk3sTy/s18lYlfBnHSz3rb5Zod8/kcLujv048FD2G6XWDmnHsRvfja47C6 CweEMYZv08Rg2I9ZF7DDR+8V2eI/JchixJVwqH/NpIIYaRAhQEsVvsoIBUEzLdzRCnyNuaq2JKGuo FqzkgW1U2r81W1fVKcj67Hiw/y3X04/ojVLM+m7rw64fbEgxYCo0gq67HnsknQn1gbQhjlfkxihvz NeuLVuXqetqaMRr6CotA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pmdPi-003ova-3A; Wed, 12 Apr 2023 16:33:43 +0000 Received: from mga03.intel.com ([134.134.136.65]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pmdPf-003ov0-2H for linux-arm-kernel@lists.infradead.org; Wed, 12 Apr 2023 16:33:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1681317219; x=1712853219; h=date:from:to:cc:subject:message-id:mime-version; bh=bWPHuwZ0T6uH6uRghf/4C6XQApSmztrzfwHcZoX1Khw=; b=JK+RSWfX7prYBrI2YHcOtk/UukfByS6uwJuSku/zujI6oYvu9xHowLgK Gpa9bQ/9tDO0YqZUFLBQU9f7K0pDKwPVGcMyE1w4T2jXV3Oztn2xc3hs6 LJ2diQIkXLuvrGvJMmFTti/HC+oegeyU+iX56M1ACyP26Pz/r1HArv+fQ mUgqn+/C6W2UcRp/HIFmi0CVjP4puSuZOC4La7MoMjPjw4bijXkOXhM2Q IbB9znreZSUuIc+WQn57MCHSDtArVPt/cL+ftKYg2bebXK4UdlGhJFM7X UBXf0405P2fEsV7Zo+3cGicl8nEE8jR3CePqTUL30dFMaJBiH6+DM9TnA A==; X-IronPort-AV: E=McAfee;i="6600,9927,10678"; a="346627658" X-IronPort-AV: E=Sophos;i="5.98,339,1673942400"; d="scan'208";a="346627658" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2023 09:33:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10678"; a="758312690" X-IronPort-AV: E=Sophos;i="5.98,339,1673942400"; d="scan'208";a="758312690" Received: from lkp-server01.sh.intel.com (HELO b613635ddfff) ([10.239.97.150]) by fmsmga004.fm.intel.com with ESMTP; 12 Apr 2023 09:33:17 -0700 Received: from kbuild by b613635ddfff with local (Exim 4.96) (envelope-from ) id 1pmdPI-000Xsd-2M; Wed, 12 Apr 2023 16:33:16 +0000 Date: Thu, 13 Apr 2023 00:33:16 +0800 From: kernel test robot To: Vasileios Bimpikas Cc: oe-kbuild-all@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Michal Simek Subject: [xilinx-xlnx:xlnx_rebase_v6.1_LTS 85/1065] drivers/staging/xroeframer/sysfs_xroe.c:106: warning: expecting prototype for version_store(). Prototype was for enable_store() instead Message-ID: <202304130053.uaUXEmMa-lkp@intel.com> MIME-Version: 1.0 Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230412_093339_803385_C67D221B X-CRM114-Status: GOOD ( 13.24 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v6.1_LTS head: e5753363b5e03fc0a3055d5476c6cca93e9ea28b commit: 3c408a647a4607b8940ff6432e8af0bf18429b1d [85/1065] staging: Add xroeframer driver config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20230413/202304130053.uaUXEmMa-lkp@intel.com/config) compiler: sh4-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/Xilinx/linux-xlnx/commit/3c408a647a4607b8940ff6432e8af0bf18429b1d git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx git fetch --no-tags xilinx-xlnx xlnx_rebase_v6.1_LTS git checkout 3c408a647a4607b8940ff6432e8af0bf18429b1d # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sh olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sh SHELL=/bin/bash drivers/irqchip/ drivers/media/i2c/ drivers/media/mc/ drivers/net/ethernet/xilinx/ drivers/of/ drivers/ptp/ drivers/spi/ drivers/staging/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202304130053.uaUXEmMa-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/staging/xroeframer/sysfs_xroe.c:106: warning: expecting prototype for version_store(). Prototype was for enable_store() instead >> drivers/staging/xroeframer/sysfs_xroe.c:552: warning: expecting prototype for utils_sysfs_store_wrapper(). Prototype was for utils_sysfs_show_wrapper() instead -- >> drivers/staging/xroeframer/sysfs_xroe_framer_ipv6.c:504: warning: expecting prototype for xroe_sysfs_ipv4_exit(). Prototype was for xroe_sysfs_ipv6_exit() instead -- >> drivers/staging/xroeframer/sysfs_xroe_framer_udp.c:176: warning: expecting prototype for xroe_sysfs_ipv6_exit(). Prototype was for xroe_sysfs_udp_exit() instead vim +106 drivers/staging/xroeframer/sysfs_xroe.c 91 92 /** 93 * version_store - Writes to the framer's enable status register 94 * @kobj: The kernel object of the entry 95 * @attr: The attributes of the kernel object 96 * @buff: The buffer containing the enable status 97 * @count: The number of characters typed by the user 98 * 99 * Reads the user input and accordingly writes the framer's enable status 100 * to the sysfs entry 101 * 102 * Return: XROE_SIZE_MAX or the value of "count", if that's lesser, on success 103 */ 104 static ssize_t enable_store(struct kobject *kobj, struct kobj_attribute *attr, 105 const char *buff, size_t count) > 106 { 107 u32 enable = 0; 108 109 xroe_size = min_t(size_t, count, (size_t)XROE_SIZE_MAX); 110 strncpy(xroe_tmp, buff, xroe_size); 111 if (strncmp(xroe_tmp, "true", xroe_size) == 0) 112 enable = 1; 113 else if (strncmp(xroe_tmp, "false", xroe_size) == 0) 114 enable = 0; 115 utils_sysfs_store_wrapper(CFG_MASTER_INT_ENABLE_ADDR, 116 CFG_MASTER_INT_ENABLE_OFFSET, 117 CFG_MASTER_INT_ENABLE_MASK, enable, kobj); 118 return xroe_size; 119 } 120 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel