Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4490314imu; Fri, 30 Nov 2018 19:02:25 -0800 (PST) X-Google-Smtp-Source: AFSGD/VXs+3kRmFizQYXextAM6k7o3XF3tqHvRtIOomW/PRe1y3sVn8NuTu5Rapb6+MfEqR2cgUz X-Received: by 2002:a17:902:1103:: with SMTP id d3-v6mr7589678pla.249.1543633345765; Fri, 30 Nov 2018 19:02:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543633345; cv=none; d=google.com; s=arc-20160816; b=mVegt8aKDdn6I6QOW5EwiAqzKNcrr+qhMGCCrc2xUCgawz2SCr6Y+LenhN8zYTYywO av0/d+sH/o9fYootmVn9PMKbhogFE/5z7HljNdehLbU39F9ezbLQ2ZdCb2qIybHNYO08 oOw+SszMpMbAO9tOh/PixskKYm6vMnfh1hqyCeWjULhYe2vJfQ3kKqDPG2h78Dh4sxrh cOKsxwl3tY0arHga/aKvFSF8YJttgXJ4y1nQd4wevdZjgMinz+13qgMZC40JJY34oBBi nLzvFmLucHSBjyYqLgx8dnEKHlN4KNyL7Keo9+Q2m13ZdjFqMbULqqGL38yXZ6r/m4KF MAUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :dlp-reaction:dlp-version:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=MTormdidTqFCUoZ5Jd4XHqSYt0t15nC+NUakKeE6v68=; b=Wtk2nMX4bChvGMfk1d8C3ksZEjSg3QXUWul5yuctu7J6CxLyV/VWC5wZk3zXiVcMKG uwt8wpATw/XVlwPP2WreeKH9DWCHNVf4OqOdF9c3qhComlkO4O96+tmkfGDFZu8aYyZ+ rFOYGKTtdTeyDQw5vy41hIv4Iv4JPH4XiNySl58+HZ7znct0D0vP+YdXPgTtXkwTr9zC TgCfsjV3AEz+8ZHLGHld/r7oRjJLwKDMONeyHRJ2ShH1qKvU0ldO4tRgcZ/B8WN+BSeB CB7A1luOI+MQ7UFlUxj2huWDCvp5MPgPFUq+km3tT8PFZ/PQn9xYo44QHZge8DwUb97l xtWw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t9si6868182plz.427.2018.11.30.19.02.10; Fri, 30 Nov 2018 19:02:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726615AbeLAONA convert rfc822-to-8bit (ORCPT + 99 others); Sat, 1 Dec 2018 09:13:00 -0500 Received: from mga02.intel.com ([134.134.136.20]:45218 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726139AbeLAONA (ORCPT ); Sat, 1 Dec 2018 09:13:00 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Nov 2018 19:01:33 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,300,1539673200"; d="scan'208";a="279585298" Received: from orsmsx110.amr.corp.intel.com ([10.22.240.8]) by orsmga005.jf.intel.com with ESMTP; 30 Nov 2018 19:01:33 -0800 Received: from orsmsx113.amr.corp.intel.com (10.22.240.9) by ORSMSX110.amr.corp.intel.com (10.22.240.8) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 30 Nov 2018 19:01:33 -0800 Received: from orsmsx101.amr.corp.intel.com ([169.254.8.195]) by ORSMSX113.amr.corp.intel.com ([169.254.9.125]) with mapi id 14.03.0415.000; Fri, 30 Nov 2018 19:01:32 -0800 From: "Brown, Aaron F" To: YueHaibing , "davem@davemloft.net" , "Kirsher, Jeffrey T" CC: "netdev@vger.kernel.org" , "intel-wired-lan@lists.osuosl.org" , "linux-kernel@vger.kernel.org" Subject: RE: [Intel-wired-lan] [PATCH net-next] e100: Fix passing zero to 'PTR_ERR' warning in e100_load_ucode_wait Thread-Topic: [Intel-wired-lan] [PATCH net-next] e100: Fix passing zero to 'PTR_ERR' warning in e100_load_ucode_wait Thread-Index: AQHUgAY7/1emlZVOn0O6g8b+qGpdU6VpRCFg Date: Sat, 1 Dec 2018 03:01:31 +0000 Message-ID: <309B89C4C689E141A5FF6A0C5FB2118B965CB705@ORSMSX101.amr.corp.intel.com> References: <20181119124819.15860-1-yuehaibing@huawei.com> In-Reply-To: <20181119124819.15860-1-yuehaibing@huawei.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.22.254.138] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > From: Intel-wired-lan [mailto:intel-wired-lan-bounces@osuosl.org] On > Behalf Of YueHaibing > Sent: Monday, November 19, 2018 4:48 AM > To: davem@davemloft.net; Kirsher, Jeffrey T > Cc: netdev@vger.kernel.org; YueHaibing ; intel- > wired-lan@lists.osuosl.org; linux-kernel@vger.kernel.org > Subject: [Intel-wired-lan] [PATCH net-next] e100: Fix passing zero to > 'PTR_ERR' warning in e100_load_ucode_wait > > Fix a static code checker warning: > drivers/net/ethernet/intel/e100.c:1349 > e100_load_ucode_wait() warn: passing zero to 'PTR_ERR' > > Signed-off-by: YueHaibing > --- > drivers/net/ethernet/intel/e100.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Tested-by: Aaron Brown