From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A1BEF159565; Mon, 19 Aug 2024 23:02:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724108522; cv=none; b=nhjlEBik3XMbr7MPSkFT0kiXilKoX5DFrkT+c9hKHy3/gzzcfxm8qkk8tz60/6nH0zBfE+ogXZqgjtzeiTXYyJv98b1mv826aAlwC/cb6So/GSIE3ZCv6qXGI497SOpULhqC0X1pcmELZacPacF2LGds26PKjUsNiSqaqbWL2V4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724108522; c=relaxed/simple; bh=aOQ/AvfwIXKWVE9u2nssUAmSoql78J0GzbDbsxKCxiI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=MxCeqyk7M5z+7CrS+xlpjxmR28ukisxCeW91RZ80t4c/3w3T4RrT7pqOO6C13CrGYQmyPXXbojFoim0F8YNPu6C+DuoKRiDwZCdCqC5MFakRqmw9mKGgaMdoWZ9PUihIYqBaMN+lFY4GkiCo5/N4sezbp6KYrjHf+VlKC5zFSUc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=beJ5alPc; arc=none smtp.client-ip=209.85.210.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="beJ5alPc" Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-713e460f920so1517399b3a.1; Mon, 19 Aug 2024 16:02:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724108520; x=1724713320; darn=lists.linux.dev; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=PRthf3/5zB/bDozkCUHPPkJX2b7Asaxsbf+UdOFSa5w=; b=beJ5alPcWlGDpLmYI/Q0rs7EsQBSv2F8yr04cYIsZLT9VhLBHafZCsmShm05OJqCGL zfqB9vlHg2qPWBq2iwhJK/qJJ5wW32+oamTo2xU7PCxGHhNVCktjefFPe2ionDAB/xHi 6Ne4zV/nvuBhJRt0T+jGJuHyUH+2+XX41WNsIX/Y5s1hP2TZkkglnLy4q3cRRB2Qsusv ygZGQKmr8l0PfBt1l8Nz73TIG2mbT3zcYd2on4M8Cfn0Hwua9GGN2vR539aQ5zz8kZGo ln7GPqcJ5L5A5R41GX/t10YbWQywK+Yk6C0iH7RXLZt1kyuZiA+4ygOdrHZEmS7Ef5m9 cvEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724108520; x=1724713320; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=PRthf3/5zB/bDozkCUHPPkJX2b7Asaxsbf+UdOFSa5w=; b=aFlXMqMXbF8jUmU+WvMsOJ8aggmuOfL494p12qqLFtV35b1/PM8BLVyggML/Or64NZ u7/Fq9WkikahjbPYtwqU2BXkLRR4dmIRXKDKy5INhyU8rBz8cztwsYnYTBllFlubUwsG UI5Sy456LmYA3gxwnTWP/m5QzRBboYUucgzYlpxj7cFKhVtJoe6tw//mfGz5E1hvtj3f vLtnLIDO7uB06y6cjJicP91yBeZQucYU9ebtizLRf8ErPoU5zuK3bCqW2tKhasmu1+1j ECVogiMV/33arFi45KO4Sj/Wf1toqpfPndednisdR4+xOaPVlPbvrQBfRSioAR2T7M7A FuoA== X-Forwarded-Encrypted: i=1; AJvYcCUV2REhrzz6b4TkpMLYi5BEfV+hbOl1HGNEMHfwmkrAJi7xea/PiWzVoyuAArMNKeapvlq6@lists.linux.dev, AJvYcCVVOAv+dzEtiQEuwnusOXcVE5z0WFlEocBG8Ci4VJpVn3R1EZjfo1oU2wFSiRE3cXLZi9ITW3wNsMVWAJpWTg==@lists.linux.dev X-Gm-Message-State: AOJu0YyCObx9KJ3BvzRY1geAUTaXSgB7bTExABD8SXYYfY1aS+YKH8YR l6Drx2qn7vtjClEAUpTTvhStDT8dXuzcCN7rALvcjA6UZYOMr5sR X-Google-Smtp-Source: AGHT+IF5pDD59PObLd1+d0FpzEGL2rUuQ8YOBhWOfSRzQSN31gavhpsQRaKLr+k2w5mGg2FPQ/xeYQ== X-Received: by 2002:a05:6a21:3984:b0:1c3:a411:dc49 with SMTP id adf61e73a8af0-1c90505aa0bmr12293118637.51.1724108519776; Mon, 19 Aug 2024 16:01:59 -0700 (PDT) Received: from Laptop-X1 ([43.228.180.230]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7127ae07443sm7080128b3a.48.2024.08.19.16.01.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Aug 2024 16:01:59 -0700 (PDT) Date: Tue, 20 Aug 2024 07:01:53 +0800 From: Hangbin Liu To: kernel test robot Cc: netdev@vger.kernel.org, llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Jay Vosburgh , "David S . Miller" , Jakub Kicinski , Paolo Abeni , Eric Dumazet , Nikolay Aleksandrov , Tariq Toukan , Jianbo Liu , Sabrina Dubroca Subject: Re: [PATCHv2 net-next 2/3] bonding: Add ESN support to IPSec HW offload Message-ID: References: <20240819075334.236334-3-liuhangbin@gmail.com> <202408200431.wjjkEZ2m-lkp@intel.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202408200431.wjjkEZ2m-lkp@intel.com> On Tue, Aug 20, 2024 at 05:17:52AM +0800, kernel test robot wrote: > Hi Hangbin, > > kernel test robot noticed the following build errors: > > [auto build test ERROR on net-next/main] > > url: https://github.com/intel-lab-lkp/linux/commits/Hangbin-Liu/bonding-add-common-function-to-check-ipsec-device/20240819-195504 > base: net-next/main > patch link: https://lore.kernel.org/r/20240819075334.236334-3-liuhangbin%40gmail.com > patch subject: [PATCHv2 net-next 2/3] bonding: Add ESN support to IPSec HW offload > config: x86_64-buildonly-randconfig-001-20240820 (https://download.01.org/0day-ci/archive/20240820/202408200431.wjjkEZ2m-lkp@intel.com/config) > compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1) > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240820/202408200431.wjjkEZ2m-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/202408200431.wjjkEZ2m-lkp@intel.com/ > > All errors (new ones prefixed by >>): > > drivers/net/bonding/bond_main.c:434:10: error: returning 'void *' from a function with incompatible result type 'struct net_device' > 434 | return NULL; > | ^~~~ > include/linux/stddef.h:8:14: note: expanded from macro 'NULL' > 8 | #define NULL ((void *)0) > | ^~~~~~~~~~~ > drivers/net/bonding/bond_main.c:442:10: error: returning 'void *' from a function with incompatible result type 'struct net_device' > 442 | return NULL; > | ^~~~ > include/linux/stddef.h:8:14: note: expanded from macro 'NULL' > 8 | #define NULL ((void *)0) > | ^~~~~~~~~~~ > drivers/net/bonding/bond_main.c:446:9: error: returning 'struct net_device *' from a function with incompatible result type 'struct net_device'; dereference with * > 446 | return real_dev; > | ^~~~~~~~ > | * > drivers/net/bonding/bond_main.c:630:11: error: assigning to 'struct net_device *' from incompatible type 'struct net_device' > 630 | real_dev = bond_ipsec_dev(xs); > | ^ ~~~~~~~~~~~~~~~~~~ > drivers/net/bonding/bond_main.c:658:11: error: assigning to 'struct net_device *' from incompatible type 'struct net_device' > 658 | real_dev = bond_ipsec_dev(xs); > | ^ ~~~~~~~~~~~~~~~~~~ > >> drivers/net/bonding/bond_main.c:668:2: error: use of undeclared identifier 'rhel_dev'; did you mean 'real_dev'? Hmm, weird... I tried to build the patch via `vng` before post, with CONFIG_XFRM_OFFLOAD=y in tools/testing/selftests/drivers/net/bonding/config. But looks it's not build in. Next time I need to double check.. Thanks Hangbin