Received: by 2002:ab2:1c04:0:b0:1f7:53ba:1ebe with SMTP id f4csp103810lqg; Fri, 26 Apr 2024 09:53:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUiztPjnzJaZinlbTpdULJlfn5ryg4bBIoD3fIRB299Ux4D6oA/Suuh/80DwRGTjSCCL2EtUp5CQKl7ZluI8L8lhNWmxg7ZeYxuPXYZ+g== X-Google-Smtp-Source: AGHT+IEIt6A8HY7jt2O/iqkDEpfyOkSYUEwklBZMfLmODaVuyyY2XcbB8xtnhqr5LSV9b8l6BzHe X-Received: by 2002:a05:6a00:2d07:b0:6f3:ea4b:d1c1 with SMTP id fa7-20020a056a002d0700b006f3ea4bd1c1mr219166pfb.1.1714150438158; Fri, 26 Apr 2024 09:53:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714150438; cv=pass; d=google.com; s=arc-20160816; b=eE67T3cfaeab5IoYSN0kuzU3la4f+lldqtsBxaDjYg6BfVI1it2p6KMzsgpC0ZWyxc nfZ5dnFcSHRRPLXZabb8kjVR9m1Wj2p1v7uykAjI9ujqC4x1PVP3ENBiEOmSLay9r0Rr 6EjUVVv1gMAvQchqjyWD3z/xaPy0BUdD2YzsN6GsCKGQ+0AMvImRad4gU1/Ao+12QvGZ uEnqWHRbvOnGRLQReUFvpnXIAuJisFkiBK/tm0X9WLICgS3rDHVdtaTnpv1z3JfAaPAa Dn9mgrYrxT+MHuHx3s/oYfNWGSLw+jelhneRAdP1vO9Tz05/2n+wkbI/F+AarB/r+Q19 vzKw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=organization:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=tBtPIXi+rvEw3wbCS1VSegp0Z10302lkbOiZNzORGzQ=; fh=QyYl6wfIGTTyuzX6cgJb2Xh82/Bx0f/r95RMc0weKSo=; b=dAod6eyFN4opvopKqCi+0n8wVF9QFDL+CWxt0JqzdBSNFW9J8xiiV7naknpM1nFEZq BJWwPzaE477r76FQfVs59IsGpXk1PdEV6dssNamB4uW1svRlJI2psJ5N2GeK+WznAMcm Vcgl6/qGT6r27kmD3y7vf4BV25ebHYrZcynP7vT2kE48QQyHVVYN6tIILb3Wak3GfNyG NCwBNWjf0yREFFBiiBLl1Gq8Ju3rKaW5fHm7FEFkJYcptUXQgTmhnlmGiePbaodZxKRc DJGwl5Hljm7nkUsYueBXKQbgBww26LurRuz4WmQGQynU6E5ooZwRI/sd0psKoScatUwK i63A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=E4EzyH2i; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-160411-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160411-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id k7-20020a63ba07000000b0060f19e5f5e9si390265pgf.63.2024.04.26.09.53.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 09:53:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-160411-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=E4EzyH2i; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-160411-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160411-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id A5995288DA4 for ; Fri, 26 Apr 2024 16:53:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 85D55158D96; Fri, 26 Apr 2024 16:53:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="E4EzyH2i" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.18]) (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 13A4A1DFED; Fri, 26 Apr 2024 16:53:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714150389; cv=none; b=gxqUSc1w3Yvnr2XbGpMo226XUsovjKspbJ+RxBU0mlikvBNrnTW/Mg2YR87BKlzm9R+cHHrkSWvSis4gXesFLsh+DHKXoPKMHi6plGX2z+u398pJYlaXkWDEeEmJv+dBHrM/D3odfj86Mkdw+Vu1oX90enLZ0sEBz6VPIS6/OWk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714150389; c=relaxed/simple; bh=veQ+dhE8G1BdzaaEA/HYxIrWBiGfNwdrNrQ2IFkCquU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=k9nTfXTwxtaRXWsT6wLzR0d7RkqDFrdBTgF46FpzCnzxx+s9JGzhqxWewLvuxK9KIXmNgQ93T/6S8jD649fmT1n2A0YXQNcNZB0qJMnRtPy7l9iY3GlkodXKhiKj12FTJMPxudkbWW8gg0zFjdA/txqRKwk3uRdqrsjGNm3wbzM= 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=E4EzyH2i; arc=none smtp.client-ip=198.175.65.18 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1714150388; x=1745686388; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=veQ+dhE8G1BdzaaEA/HYxIrWBiGfNwdrNrQ2IFkCquU=; b=E4EzyH2ih2HB/eS20c6OlyVcevLq/687EBKvNpZeMCQLdqc9W+6AwyWP cUdmQTjPiwKlwFeh9kS+FwswHFR0vwJIb0nyWBF27g/gfW6SRpgtjpalD K7y3c+/QKGdZEjtOu2TGMjrYlP8i5g8ZYYGtRG1bD3B7YnKrOcpNTKlnk WqfwQ4Mi69sE9d6AWl1l1ro1wyfNRkY+RPugaHB7GU2vjryvpP2/AhLox ChDlXNVINvH5IajrS8lUznx4Fw65c5WJiF1rQR5K1x8KdcH+CF+Om6Y+l FLr4dGpUvZgTvFguxOtpni1upnAoiaqse+W/u7hsw0hsVMTxNM37KMQ1m Q==; X-CSE-ConnectionGUID: +BmqvzZaRB+gSkPFih7EWw== X-CSE-MsgGUID: g48AtrXJS32wmkGcAPTw+A== X-IronPort-AV: E=McAfee;i="6600,9927,11056"; a="10055857" X-IronPort-AV: E=Sophos;i="6.07,233,1708416000"; d="scan'208";a="10055857" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by orvoesa110.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Apr 2024 09:53:08 -0700 X-CSE-ConnectionGUID: 153tFidVRoqD87XFi/qplw== X-CSE-MsgGUID: /LXoW1lLRhiDGJLBRfHgjg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,233,1708416000"; d="scan'208";a="30283579" Received: from smile.fi.intel.com ([10.237.72.54]) by orviesa004.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Apr 2024 09:53:05 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1s0Ooo-00000001Odb-2I7z; Fri, 26 Apr 2024 19:53:02 +0300 Date: Fri, 26 Apr 2024 19:53:02 +0300 From: Andy Shevchenko To: Jason Gunthorpe Cc: Konstantin Taranov , nathan@kernel.org, kotaranov@microsoft.com, sharmaajay@microsoft.com, longli@microsoft.com, leon@kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH rdma-next 1/1] RDMA/mana_ib: fix missing ret value Message-ID: References: <1713881751-21621-1-git-send-email-kotaranov@linux.microsoft.com> <20240423150315.GA891022@nvidia.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 In-Reply-To: <20240423150315.GA891022@nvidia.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Tue, Apr 23, 2024 at 12:03:15PM -0300, Jason Gunthorpe wrote: > On Tue, Apr 23, 2024 at 07:15:51AM -0700, Konstantin Taranov wrote: > > From: Konstantin Taranov > > > > Set ret to -ENODEV when netdev_master_upper_dev_get_rcu > > returns NULL. > > > > Fixes: 8b184e4f1c32 ("RDMA/mana_ib: Enable RoCE on port 1") > > Signed-off-by: Konstantin Taranov > > --- > > drivers/infiniband/hw/mana/device.c | 1 + > > 1 file changed, 1 insertion(+) > > Applied to for-next, thanks So, what's wrong with my patch that had been sent _before_ this one? At bare minimum I would like to see an explanation. -- With Best Regards, Andy Shevchenko