Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9155002ybi; Tue, 23 Jul 2019 22:57:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqyKrwGvgV30zZ4cE4D3UtYuRky5tCa2cJS+odNU9PJyHrzZmHI0iaKMNdri97SB9bHMwvO4 X-Received: by 2002:a17:90a:2506:: with SMTP id j6mr51571331pje.129.1563947857066; Tue, 23 Jul 2019 22:57:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563947857; cv=none; d=google.com; s=arc-20160816; b=x8bW04gkZY0+mXArGkGq62UlcRxbmz7rUojucnCokDdfonZt2hHBUELnaG+XamR1py c4XtSQdzYFJ/ouCmNqzf088x3hCcmz3sN4j39H7ScBW2QmRbc4hqxYqmdOS3sy9O1ht1 RH28HugUlVOPQnDkJvxLaIqj3IaLrxq3NoQ8K5eyUg2l00+tdL68zxK3K/+yVMsVMWTi KVz+IjG2n4NFixPP75qW628bT4Hs/Unx6ei7ndAPhaW45O594ANpo2XqZVkNbK8Sjbwx R8wfpcL4apUwS2Onp7oeRf8D+phCOAheyOqdBU8ICXfO9cQWQk8FTo8OOH1aV3Rfcfvu dxiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=E6VQtWP2Qork1ITHffxNTt9vOJoeld9a+/tl+suTeZs=; b=etkZomyQoMftM8HEJjZ3Pwv11ICXO2ERCP1i9mmsVtrtbXcrlSyly/6tsoLWfUU5aA bZjgqOiAvLrQgXZz0hIColwJtLVgLUF4WPOxxMfQcU8YQehpHIbfCD+EHMsRncjrOVq8 b1bByrKwBL554acJgss+hKO2ACTnXbsvJ/vaJD76Raz7gDjfZ3tDAZBexYWyBfeTa/Em Rb4xohvOZVKf42RZjvkkkfbbSwRWGGij6q/HsyAltvcgWENrz0EocXnU1JWpJu2EdAvI onQQD0YTL+sjS6vIl+ITjRqGNftCr/dtlUN94yhKGDxcCxC6yuJo6NFkq8egd5qVEQm5 a2yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QUdjUPQ6; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e11si15565233pgi.121.2019.07.23.22.57.22; Tue, 23 Jul 2019 22:57:37 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QUdjUPQ6; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726247AbfGXF4r (ORCPT + 99 others); Wed, 24 Jul 2019 01:56:47 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:43012 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725909AbfGXF4r (ORCPT ); Wed, 24 Jul 2019 01:56:47 -0400 Received: by mail-io1-f68.google.com with SMTP id k20so87005050ios.10; Tue, 23 Jul 2019 22:56:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=E6VQtWP2Qork1ITHffxNTt9vOJoeld9a+/tl+suTeZs=; b=QUdjUPQ6JMmP0H3wsWzvspkk/2zFluSDgd7egZhjHKPWA9mwGimY+3zfCDG3YjNPjn ZaFNic6ggJSNuSdYItOHrgMq7rLWr83NAo531nOApeTlFyFPbY0bQ/lshQiHa4wUIRbj 8Adtv9CVaZh744oEUjQMCuJZbTyo3Q5IqMHJNgdHD7O3YPFg/yXmej46kH3IkJAatg3f ZA3EHIRMSUhREgbOq4IGhPG9av9I/srQ7wry2B4ykFnoOWld8MH4vRfpdPpsfa34vipE stlyHTSnalTq1vXoi+2sW5qmEhozDTX91NTX1/Bc2stDuMcY9NPJeeQO9LMXVolJjndP 7j1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=E6VQtWP2Qork1ITHffxNTt9vOJoeld9a+/tl+suTeZs=; b=EllVBld73IoZlFWXcDs5t1ILxZRvaCddPFypIub7axXFLX0jg2XTGMCtJdDEkxP8BX U4qolhGbtpc1mEieI4AJ1SNHK1HdHpB+iWS8fmvI0jSGxf37FUkFK1quba6IJWT/UbzI Nx+TJAU+ACFh9rvM+zWahQiOE0dZgHHvB4dy5llv+WQBil3zaX+AvKIpRYdqALS2Exbq PO3HM1zFlNTbK7HvAV9C5g1CX0+S4tCiE0J6h4JGa6XCDJM+6D51UtnvQIv3y/3hC0tb RYREEb/FhTRXerF4XEyh1h510IPqEuocfDzLKoIG5j9EJWQ4wrEvD14jcfslOZGRUKwa FgeQ== X-Gm-Message-State: APjAAAWiYClxLolXofdN79ekblWK8+yRkexEdLHI7IGmM8/4uEe1m3TY iT3Dj5OGnZSs5VzPyALe9CooD5/EtocrmA== X-Received: by 2002:a02:c6b8:: with SMTP id o24mr11826016jan.80.1563947806251; Tue, 23 Jul 2019 22:56:46 -0700 (PDT) Received: from JATN (c-73-243-191-173.hsd1.co.comcast.net. [73.243.191.173]) by smtp.gmail.com with ESMTPSA id s10sm108747905iod.46.2019.07.23.22.56.44 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 23 Jul 2019 22:56:45 -0700 (PDT) Date: Tue, 23 Jul 2019 23:56:44 -0600 From: Kelsey Skunberg To: David Miller Cc: iyappan@os.amperecomputing.com, keyur@os.amperecomputing.com, quan@os.amperecomputing.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bjorn@helgaas.com, skhan@linuxfoundation.org, linux-kernel-mentees@lists.linuxfoundation.org Subject: Re: [PATCH v2] drivers: net: xgene: Remove acpi_has_method() calls Message-ID: <20190724055644.GA103525@JATN> References: <20190722030401.69563-1-skunberg.kelsey@gmail.com> <20190723185811.8548-1-skunberg.kelsey@gmail.com> <20190723.140646.505566792140054611.davem@davemloft.net> <20190723.140739.379654507424022463.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190723.140739.379654507424022463.davem@davemloft.net> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 23, 2019 at 02:07:39PM -0700, David Miller wrote: > From: David Miller > Date: Tue, 23 Jul 2019 14:06:46 -0700 (PDT) > > > From: Kelsey Skunberg > > Date: Tue, 23 Jul 2019 12:58:11 -0600 > > > >> acpi_evaluate_object will already return an error if the needed method > >> does not exist. Remove unnecessary acpi_has_method() calls and check the > >> returned acpi_status for failure instead. > >> > >> Signed-off-by: Kelsey Skunberg > >> --- > >> Changes in v2: > >> - Fixed white space warnings and errors > > > > Applied to net-next. > > Wow did you even build test this? Reverted... > This patch has definitely been a mess, so thank you for your time and sticking with me here. I thought my build tests included these files, though discovered they did not. Since submitting v2, I was able to reproduce the same errors you listed and corrected the problem in v3. I also realized my .git/post-commit file needed to be fixed, so the white space problem in v1 should also not be a problem in the future. Please let me know if you notice anything else I can improve on. I will learn from my mistakes and really appreciate advice. Thank you again, David. Best Regards, Kelsey