Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2154553imm; Mon, 3 Sep 2018 21:21:46 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdbye2Fqo3ZZjtQPaba7kIoZ1hnzatdGgqOEGwPDGAyo5IU6ZzgQo/whN5bfo4mNx9wcJIOu X-Received: by 2002:a63:d518:: with SMTP id c24-v6mr28193187pgg.357.1536034906651; Mon, 03 Sep 2018 21:21:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536034906; cv=none; d=google.com; s=arc-20160816; b=ePlkSQ0ywfa4DduOzfowIa77M4r+2+bWryk0cZr2sInGsxAI8LYZHy8GFQIK0XE8Mj yCKOFoMjwihG7CKVGkZgnQxsGZWaooXvnOHZ2nd3MW9PBczPZRLre7IfeVm74O7C5XCr OEDoJu++TmVC/ExKpNj+/pWv4wFs+QGnCZ8MSPGyugWeFPuIah3sv87Hq8i4/5MMzPMM 7tL1BsMlLn25KMu7IByoFIul7EC+1IDfS7PyjN7tHhMJQieDA3FMntiKV7jyupUgBg0k +ZVT3Dx5dsp0dvSxZj2W6k4Q1pcVYhtYCwDBxsp46Mk11zgY/zV5WKstApK6GKJlPOa+ XOCg== 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 :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from :arc-authentication-results; bh=erpr/D7QdU2jwRVkTpWktOGFAMoPJCInT2deZx7dCl4=; b=EHG7cPzIsQBpJXT/+pmSJppgyuxSe0QnR4fmvE6vN2vvvy2b0ligNvr++39oDlrftq 0jEYzBR8pwDju/4ZRk7CI1vY9MTyv3Rr45ctbkwcBrPdkNrSM9/jSnb0LG7t4kCu1r0z 4IjLpRG7mnIBZ8SbRlwEcX0vSh/pf1l0xLz9BDs3vR+RoqwhUIhk9TQM34hWMx8Om20i qVgSYPWaHQqKFGkHlqkna/+5YKM2+CLVMPjlAWEoOWZBE3XbE/6flZVaaREZQEN3/L/1 4ZRYXBhzN+KL/rfuYDiWHxPlrJo+WqZgg6gIci2grTUEjdk3AlySY025FjNcxZ2EoEi3 Q+EQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w9-v6si16479839pgm.93.2018.09.03.21.21.31; Mon, 03 Sep 2018 21:21:46 -0700 (PDT) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726951AbeIDIni convert rfc822-to-8bit (ORCPT + 99 others); Tue, 4 Sep 2018 04:43:38 -0400 Received: from esa1.microchip.iphmx.com ([68.232.147.91]:5623 "EHLO esa1.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726102AbeIDIni (ORCPT ); Tue, 4 Sep 2018 04:43:38 -0400 X-IronPort-AV: E=Sophos;i="5.53,327,1531810800"; d="scan'208";a="20015200" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa1.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 03 Sep 2018 21:20:24 -0700 Received: from CHN-SV-EXMX06.mchp-main.com ([fe80::c5f4:117d:550d:f375]) by CHN-SV-EXCH05.mchp-main.com ([fe80::c1bf:7679:c1f8:4560%15]) with mapi id 14.03.0352.000; Mon, 3 Sep 2018 21:20:24 -0700 From: To: , CC: , , , , Subject: RE: [PATCH 1/4 next] net: lan78xx: Bail out if lan78xx_get_endpoints fails Thread-Topic: [PATCH 1/4 next] net: lan78xx: Bail out if lan78xx_get_endpoints fails Thread-Index: AQHUQ6li8NoOr9NlyUSqzUmzBOdlAKTfhJtw Date: Tue, 4 Sep 2018 04:20:24 +0000 Message-ID: <0573C9D4B793EF43BF95221F2F4CC85159126C@CHN-SV-EXMX06.mchp-main.com> References: <1535994759-8938-1-git-send-email-stefan.wahren@i2se.com> <1535994759-8938-2-git-send-email-stefan.wahren@i2se.com> In-Reply-To: <1535994759-8938-2-git-send-email-stefan.wahren@i2se.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.10.215.7] 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 > We need to bail out if lan78xx_get_endpoints() fails, otherwise the result is > overwritten. > > Fixes: 55d7de9de6c3 ("Microchip's LAN7800 family USB 2/3 to 10/100/1000 > Ethernet") > Signed-off-by: Stefan Wahren Reviewed-by: Raghuram Chary Jallipalli Thanks, -Raghu