Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1816860rdb; Sun, 19 Nov 2023 11:31:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IEOKsC1JkPuzKdGo6AECVvwfQzr0jw8y4d//nwxwiNHEosGM1MpXA3T6IKJBSHFrT8T8IT0 X-Received: by 2002:a05:6a20:4f92:b0:187:afb0:c2f7 with SMTP id gh18-20020a056a204f9200b00187afb0c2f7mr5404139pzb.45.1700422281559; Sun, 19 Nov 2023 11:31:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700422281; cv=none; d=google.com; s=arc-20160816; b=YiwSBMg0XoWudAu9E90qfqvbFNPHWFZK8LDHbHQMC4g9W/aN//82OOtb1Rwol+OhPy UtMl8J4+TJR377+g3p4BAPXIA6ZsAYyck51oGwGUT0KczB5Z0tgDqJtl5Ldo0Bi6BA6J OQewXjllg2hDkiojOp4jF2lkapAjvg1JNpppR90SF0/39DAzG+e+smXAmWdeedfuTaRR cbuF7K+FnLGfkdEcaDnpIV+ZapohOsMswE/+w578563BKXm2hUnus9490cz13o1qMk4t DPpWqfz5eGqKzOOjv1TEgVAcKyvPMpi8Q+MUqafxOS1/WE3zqqGVpoTf4NhgyJFwD0tD HHOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=7aUcJjRVXDxpnYA76901a4Ly0hZgpuBycPqglh71vNU=; fh=kqkhoqoKX75yJhuVR1C5ixGbPtHNns/+HKiTUNLh+nM=; b=OjQK5R/jwB2BNsOvPIn6/+7jx/olwEbVmVLQLOrvqYWSH5Acsqys4A0UAAgWR0xBU0 TlJkmkCcn0lDW2Hm9H/UdApqLvMVdSeTaM+TjxjK3e2rtUWfAKnq9sspE+2eaRNkV5sU QAa92n71CftIUKTQbuWEzvhoXHSjId7P3EJUPE311W58adFIiMJkjyShGDyF9X3/WaGZ Lu1Hl/p817vD9IuxXlBFNrWGG0l4nxIilCo9YN++yMcf9aRXIUbyEZ10DCCIPn7FCbFI 47SySnZ13nTt3UkdL57vZm78C6gt64oi1z+5ToIh61zGfUVunJ5i7OCkzDOp06pCpXKB oP8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dd31hVAY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id u24-20020a63df18000000b005c1ccaca5c4si6653300pgg.873.2023.11.19.11.31.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 11:31:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dd31hVAY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 12DE38080D63; Sun, 19 Nov 2023 11:30:49 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230027AbjKSTaX (ORCPT + 99 others); Sun, 19 Nov 2023 14:30:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229555AbjKSTaT (ORCPT ); Sun, 19 Nov 2023 14:30:19 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C96C611D for ; Sun, 19 Nov 2023 11:30:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700422214; x=1731958214; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=ETOrYbqa1HeiKSHWQehgF4FTHmbnCJsLsFMNwZnGaRA=; b=dd31hVAYui87GdT4p0A3oPg1136s17bOIaCTnHsqGZtbJHiUV9hHUSck 7f3yWSobVvqcPhF228wMlMyOPCJ8UzZIBFRIdHxizK7gzq2M9fhpyWi/c hVGWLbSpXiaKC9cncE8HMUKRSaR4MWpLtGFBinSKOy+egGTj8Yo6fCMcx CC0uQlu3dr0kRVFYAHYLXZeGNHbM5p2jNN+L1TJiLrPX7HH3g3AEWUuRr e/VhJ/jVV+bU6y4VmKYf9c7TqhQmPLh2w9YuzQDAbbrTSlutHLEl06Mnp PgVpOjU9TDrAWzbytHdA3apAX8s/lCoBoggbOewBCAWViCiMmkPTqfFfj A==; X-IronPort-AV: E=McAfee;i="6600,9927,10899"; a="13072003" X-IronPort-AV: E=Sophos;i="6.04,212,1695711600"; d="scan'208";a="13072003" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Nov 2023 11:30:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10899"; a="939608783" X-IronPort-AV: E=Sophos;i="6.04,212,1695711600"; d="scan'208";a="939608783" Received: from lkp-server02.sh.intel.com (HELO b8de5498638e) ([10.239.97.151]) by orsmga005.jf.intel.com with ESMTP; 19 Nov 2023 11:30:10 -0800 Received: from kbuild by b8de5498638e with local (Exim 4.96) (envelope-from ) id 1r4nUd-0005Tr-2p; Sun, 19 Nov 2023 19:30:07 +0000 Date: Mon, 20 Nov 2023 03:29:53 +0800 From: kernel test robot To: Saeed Mahameed , Arnd Bergmann , Greg Kroah-Hartman Cc: oe-kbuild-all@lists.linux.dev, Jason Gunthorpe , Leon Romanovsky , Jiri Pirko , Leonid Bloch , Itay Avraham , Jakub Kicinski , linux-kernel@vger.kernel.org, Saeed Mahameed Subject: Re: [PATCH v2 5/5] misc: mlx5ctl: Add umem reg/unreg ioctl Message-ID: <202311200350.qRmXknpI-lkp@intel.com> References: <20231119092450.164996-6-saeed@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231119092450.164996-6-saeed@kernel.org> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Sun, 19 Nov 2023 11:30:49 -0800 (PST) Hi Saeed, kernel test robot noticed the following build warnings: [auto build test WARNING on char-misc/char-misc-testing] [also build test WARNING on rdma/for-next linus/master v6.7-rc1 next-20231117] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Saeed-Mahameed/misc-mlx5ctl-Add-mlx5ctl-misc-driver/20231119-215311 base: char-misc/char-misc-testing patch link: https://lore.kernel.org/r/20231119092450.164996-6-saeed%40kernel.org patch subject: [PATCH v2 5/5] misc: mlx5ctl: Add umem reg/unreg ioctl config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20231120/202311200350.qRmXknpI-lkp@intel.com/config) compiler: alpha-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231120/202311200350.qRmXknpI-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/202311200350.qRmXknpI-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from include/uapi/linux/posix_types.h:5, from include/uapi/linux/types.h:14, from include/linux/types.h:6, from include/linux/kcsan-checks.h:14, from include/asm-generic/barrier.h:17, from arch/alpha/include/asm/barrier.h:21, from arch/alpha/include/asm/rwonce.h:10, from include/linux/compiler.h:251, from include/linux/build_bug.h:5, from include/linux/container_of.h:5, from include/linux/list.h:5, from include/linux/miscdevice.h:5, from drivers/misc/mlx5ctl/main.c:4: drivers/misc/mlx5ctl/main.c: In function 'mlx5ctl_compat_ioctl': include/linux/stddef.h:8:14: error: called object is not a function or function pointer 8 | #define NULL ((void *)0) | ^ include/linux/fs.h:1837:26: note: in expansion of macro 'NULL' 1837 | #define compat_ptr_ioctl NULL | ^~~~ drivers/misc/mlx5ctl/main.c:441:16: note: in expansion of macro 'compat_ptr_ioctl' 441 | return compat_ptr_ioctl(file, cmd, arg); | ^~~~~~~~~~~~~~~~ >> drivers/misc/mlx5ctl/main.c:442:1: warning: control reaches end of non-void function [-Wreturn-type] 442 | } | ^ vim +442 drivers/misc/mlx5ctl/main.c 434 435 static long mlx5ctl_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) 436 { 437 if (cmd == MLX5CTL_IOCTL_UMEM_UNREG) /* arg is a scalar */ 438 return mlx5ctl_ioctl(file, cmd, arg); 439 440 /* arg is a pointer */ 441 return compat_ptr_ioctl(file, cmd, arg); > 442 } 443 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki