Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 060A2C433DB for ; Thu, 18 Feb 2021 17:41:58 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AF93B64E3E for ; Thu, 18 Feb 2021 17:41:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AF93B64E3E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=makrotopia.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:To:From:Date: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=+w2MVBahrgdE0UXHxk+qsZghEUDYUnPPcjJHhiZE56s=; b=dTR1XA4rZCPK791ZSFzVQ8UyOm pT0/w3qiZjSEBTkzb7Rhe5Wd4zaZ0UxyOjvhoDDwenhCQrFyMRhK1Enig67hknzHbtYwdYdPsucEt v6M0gaYMco8MYgHGeyJqu0Lxq8cjgtke+8BX/vV2Hkfr9o5WEpV1KUZUzoVkUmKzP5IuRB11SMuwB E88xLfJ88kMiFBO6DZlpzdnz0dQwfeaWkRj0c7/ycwzEFrJOO4UjraCaupOgwSSwpx+FKExs0EPlu jwpw6QjtCjRiBvm7hutD+q2yQk/Fmo03vW+7ZSemjaLQLIgizR0q8KihmbXuEW9qIA2XRkBYDJY5f 3DDkUxvg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lCnHO-00019E-1J; Thu, 18 Feb 2021 17:39:54 +0000 Received: from fudo.makrotopia.org ([2a07:2ec0:3002::71]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1lCnHL-00018g-HG for linux-arm-kernel@lists.infradead.org; Thu, 18 Feb 2021 17:39:52 +0000 Received: from local by fudo.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.93.0.4) (envelope-from ) id 1lCnHG-00017r-Ho; Thu, 18 Feb 2021 18:39:46 +0100 Date: Thu, 18 Feb 2021 17:39:39 +0000 From: Daniel Golle To: Daniel =?iso-8859-1?Q?Gonz=E1lez?= Cabanelas Subject: small oddity in commit "power: reset: add driver for LinkStation power off" Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210218_123951_586928_B5615DB2 X-CRM114-Status: GOOD ( 16.33 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Daniel, I stumbled upon a slight oddity in acommit you have contributed. Please see my comment below. > commit a7f79f99541eff4e6bcae0014eb08d3019337565 > Author: Daniel Gonz=E1lez Cabanelas > Date: Wed Jul 15 15:35:14 2020 +0200 > = > power: reset: add driver for LinkStation power off > = > Some Buffalo LinkStations perform the power off operation, at restart > time, depending on the state of an output pin (LED2/INTn) at the ethe= rnet > PHY. This pin is also used to wake the machine when a WoL packet is > received by the PHY. > = > The driver is required by the Buffalo LinkStation LS421DE (ARM MVEBU), > and other models. Without it, the board remains forever halted if a > power off command is executed, unless the PSU is disconnected and > connected again. > = > Add the driver to provide the power off function and also make the WoL > feature to be available. > = > Signed-off-by: Daniel Gonz=E1lez Cabanelas > Signed-off-by: Sebastian Reichel > ... > diff --git a/drivers/power/reset/Makefile b/drivers/power/reset/Makefile > index 5710ca4695170..c51eceba9ea39 100644 > --- a/drivers/power/reset/Makefile > +++ b/drivers/power/reset/Makefile > @@ -10,6 +10,7 @@ obj-$(CONFIG_POWER_RESET_GEMINI_POWEROFF) +=3D gemini-p= oweroff.o > obj-$(CONFIG_POWER_RESET_GPIO) +=3D gpio-poweroff.o > obj-$(CONFIG_POWER_RESET_GPIO_RESTART) +=3D gpio-restart.o > obj-$(CONFIG_POWER_RESET_HISI) +=3D hisi-reboot.o > +obj-${CONFIG_POWER_RESET_LINKSTATION} +=3D linkstation-poweroff.o Why are you using curly brackets (ie. shell variable) here instead of normal parentheses (ie. Make variable)? It might work, but if there is no special reason for this, we should just be consistent with the rest of the file. Cheers Daniel _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel