Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp4423097pxt; Wed, 11 Aug 2021 05:53:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxSJqH8kHHx9/cI30ESkkhmNvYIMJJ3XA4O1HRPriQmWsfw4J/YnWrXlds7IORjaxXCHmAN X-Received: by 2002:a17:906:3b87:: with SMTP id u7mr3655537ejf.66.1628686389498; Wed, 11 Aug 2021 05:53:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628686389; cv=none; d=google.com; s=arc-20160816; b=aJ0TyVSrgSEwTf5RFO9Um79zoP6ynLXTBDw7e93UHMxNIOql9d+fAzazpWYHADhLiL 7CbNPDWsrfA31TDSPPnpgG1FzF5VNyAFW70Do5p9NGTHMHqTCeKJNHDjG9hNCrusOyt5 Ms7JcXP/Ebg0uyzjrEtHXnFD5IEQjd1J9p61+K+lXxqsSr8ufZaEbTFC9l9o3MDFCBTe ItdbPiOMeVmbl+banWzg6WWeG1ApEahW9WfaJieOg7crbbwqZFwskEc00dWwgBa2jGiK uN9xWidPbtDGfA7fTpaSppLHlTuMF+3Yfu/yrWheKQrF1FwtlVJbguxRMOtSdzBse1+/ Wo9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=R7YUlV4wpwi9zJjHCDf8ou2KMFsmWOX14k++kPJ/lRw=; b=Zv6do5cqfwIrqGJ5g1qyh3mZD7jb5PY33sLazqvQBGnj5zoYC+sh+rmTThdCEwR0IS CJHPmQoJSCsmh4QNFx7xc8EMxOGdrJCuWWXm80nH5hHCXRoHZOd8pVnY/h2aF433MyD/ QdaKi5oxUwRWjtMeXOmdNWLSZyS7mewIJDLMkVqZ9zL3Mw9T36Des2Y7wSMQ6p0CwApW I6VFIfJ8UhBfA50wL7/MoL3JUD+8kjx2zI7f4fUBR6M67lR/d/U/6X7W7sSFxbRospXm AttuL+DWc029vuwXJnHQk9+wfDuKdUG5wOfTKWRSUSZuzQuBWGyQ5YL48ITZUsDOjJKF 2C8g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k10si24941758ejk.439.2021.08.11.05.52.42; Wed, 11 Aug 2021 05:53:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230182AbhHKMvD (ORCPT + 99 others); Wed, 11 Aug 2021 08:51:03 -0400 Received: from mga07.intel.com ([134.134.136.100]:51583 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229793AbhHKMvD (ORCPT ); Wed, 11 Aug 2021 08:51:03 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10072"; a="278861581" X-IronPort-AV: E=Sophos;i="5.84,313,1620716400"; d="scan'208";a="278861581" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2021 05:50:39 -0700 X-IronPort-AV: E=Sophos;i="5.84,313,1620716400"; d="scan'208";a="590083571" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2021 05:50:36 -0700 Received: from andy by smile with local (Exim 4.94.2) (envelope-from ) id 1mDngk-007pI5-Q6; Wed, 11 Aug 2021 15:50:30 +0300 Date: Wed, 11 Aug 2021 15:50:30 +0300 From: Andy Shevchenko To: Sergey Ryazanov Cc: "David S. Miller" , netdev , open list , Loic Poulain , Johannes Berg , Jakub Kicinski Subject: Re: [PATCH v2 2/2] wwan: core: Unshadow error code returned by ida_alloc_range)) Message-ID: References: <20210806085413.61536-1-andriy.shevchenko@linux.intel.com> <20210806085413.61536-2-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 06, 2021 at 11:35:04PM +0300, Sergey Ryazanov wrote: > On Fri, Aug 6, 2021 at 5:20 PM Andy Shevchenko > wrote: > > On Fri, Aug 6, 2021 at 5:14 PM Sergey Ryazanov wrote: > >> On Fri, Aug 6, 2021 at 12:00 PM Andy Shevchenko > >> wrote: > >>> ida_alloc_range)) may return other than -ENOMEM error code. > >>> Unshadow it in the wwan_create_port(). > >>> > >>> Signed-off-by: Andy Shevchenko > >> > >> A small nitpick, looks like "ida_alloc_range))" in the description is > >> a typo and should be "ida_alloc_range()". Besides this: > > > > Shall I resend? > > Yes, please. And specify the target tree in the subject, please. See > patchwork warning [1, 2]. The first patch is a clear bug fix, so it > should be targeted to the 'net' tree, while the second patch despite > its usefulness could not be considered a bug fix, so it should be > targeted to the 'net-next' tree. Subjects could be like this: > > [PATCHv3 net 1/2] wwan: core: Avoid returning NULL from wwan_create_dev() > [PATCHv3 net-next 2/2] wwan: core: Unshadow error code returned by > ida_alloc_range() > > Or since the second patch is not depends on the first one and patches > target different trees, patches could be submitted independently: > > [PATCHv3 net] wwan: core: Avoid returning NULL from wwan_create_dev() > [PATCHv3 net-next] wwan: core: Unshadow error code returned by ida_alloc_range() Split and sent separately, thanks! > 1. https://patchwork.kernel.org/project/netdevbpf/patch/20210806085413.61536-1-andriy.shevchenko@linux.intel.com/ > 2. https://patchwork.kernel.org/project/netdevbpf/patch/20210806085413.61536-2-andriy.shevchenko@linux.intel.com/ -- With Best Regards, Andy Shevchenko