Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp9681082imu; Wed, 5 Dec 2018 08:35:47 -0800 (PST) X-Google-Smtp-Source: AFSGD/XT3Z1ownJTqCu2d4NC1SF1oxHlPDAcFg5b+rr7aSPjDAvU4FY2gc7ayVrTFEICP0tKwu+Y X-Received: by 2002:a17:902:6bc4:: with SMTP id m4mr23700541plt.93.1544027747863; Wed, 05 Dec 2018 08:35:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544027747; cv=none; d=google.com; s=arc-20160816; b=Z4+HToIM67Ib0b1jnez9uK23Z2uoUXNIWRgylBM9uUiq5Tp2nVxB1ajZFJOm8ukUOz sgZbVygFLX31bwLI/boJ7hDbiI8/oVwmhM9Lac3O4bwTEfbkdcxYivfST14gycQ7szmi ncgkucOciKH82v0+QIC1fCojO5HU6fs0ky5WPjKGjMtosqzHxSTMDliXzNFaaV2bs9ij FbUL4MIERLWeqZhWcSc43o6Ypfhnw/g7Q/v8cKe1nKdOwn8xkHk4P5CDVkWTEWukvOS8 Z5kx4hJ9hgDmzjL5KJYK+4unn9//BkyiD3B/sb0yTMLbmchPO5jG4AvOd5awDKd4PoZ3 a50A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:cc:to:subject:reply-to :dkim-signature; bh=mPUod0ysDmL+3PPQmnHsuw/tJ9C3I5rasuW6rAmWHzU=; b=qp1nLN0hXEJzCl2aEyi3udJizjBqE7pxF4AsM2lEru3YMtcSLtLKRLpWMKg2SnKRnH 4iGLLYzNLU8UmEay+I3iwtzI+Re4mewBlrJDYe6oW5t2vgnMc2gIdwPRdy3K3+LBZiHQ YcoBVgt2v6iWpzKAcFD7hSnnPJxdJ8G/wUoUULAyA+sCTwCPoNssE937qK5n/QKmthTq VmtrR8FtbxvB6sQowP2/o8p6AWdazPSWzRq+bqpyCRoswbzlxv+gNKHNDDw79m1IVJeZ k+SezYVghaSOnVnLIlhvjWj5OQ1laFnWjfhTqZvuRGwyS28Ux+p/aRirBK2/y9HHyf7/ wbqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=S6yeTMiH; 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 bb4si18958893plb.322.2018.12.05.08.35.31; Wed, 05 Dec 2018 08:35:47 -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; dkim=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=S6yeTMiH; 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 S1727989AbeLEQd7 (ORCPT + 99 others); Wed, 5 Dec 2018 11:33:59 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:38245 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727670AbeLEQd6 (ORCPT ); Wed, 5 Dec 2018 11:33:58 -0500 Received: by mail-wm1-f67.google.com with SMTP id m22so13612754wml.3 for ; Wed, 05 Dec 2018 08:33:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=reply-to:subject:to:cc:references:from:openpgp:autocrypt:message-id :date:user-agent:mime-version:in-reply-to; bh=mPUod0ysDmL+3PPQmnHsuw/tJ9C3I5rasuW6rAmWHzU=; b=S6yeTMiHNV3NVlYAui9o4Mta6qEU5DUICLq1Em0IeQW6HlngwpBT3ePfFsGbmKEaDy kg+mn3Dlgww+2fdJU8xd481JDIPQgdwufTA2vjbIyFb5A+rZfVIqaAJX+GwyzOQVpMcv VGlsGLe00wgtAZ23T/ZolUhPidiBS9mP3y9J1RvBBnQOrsF/i4yUOhWSdXHFbAfanclw GpveZeSFIEzIL2ikoInOC0/yn3G+qA9FIKljxrxBD0YLDlG7g/fUxsPV2AzwGOxnZEga lZbmxYNPV1i2kj2ojVgrtXgSj2SYPajXIYKIYcpsuCFnePh8cyVSTfA2DT75+YQ70Brb 9Tuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:reply-to:subject:to:cc:references:from:openpgp :autocrypt:message-id:date:user-agent:mime-version:in-reply-to; bh=mPUod0ysDmL+3PPQmnHsuw/tJ9C3I5rasuW6rAmWHzU=; b=N4j7Anqk0Iki+m+M4WkK/DJEFNpB540fb/5a3YEOAbxxtBeUY77sg5XbJn8PN5fyD9 CfgxYC2dkXaJjUmE0+EaXxMQPVKlQRVtouINhm65pVSD5vsTJOHCM7spsegtBJFDnxrs yanmiQxv4eVXn/VfVtmBZZYoWgRjsLYwHrSdM+SPD89b26+mJksd5wVPzQLz/0rjMnM7 S2NGyj2aN65i8lvRMKR44kjlPI6AL4SjMLKSJhRggb5RVOH2qXBeadmbmN0Yx70jD7mD PI2Cg2YvuUSQMBYesXCvqp+yKIrVTHRJx+7tCDAq9wxcuLIeHXqIM6OqrUszMrEJD2AS CZBw== X-Gm-Message-State: AA+aEWYFErLSUFcevfLv52S6rsU+PFFLoUx/eWAmC2kJAu6lVpQYkIMl 3bHw+n+2XHpn/acFKxnTKfmahsQkoJJtYQ== X-Received: by 2002:a1c:20cb:: with SMTP id g194mr15900053wmg.77.1544027635949; Wed, 05 Dec 2018 08:33:55 -0800 (PST) Received: from [74.125.133.108] ([149.199.62.131]) by smtp.gmail.com with ESMTPSA id h2sm13512092wrv.87.2018.12.05.08.33.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Dec 2018 08:33:55 -0800 (PST) Reply-To: monstr@monstr.eu Subject: Re: [PATCH 7/7] microblaze: remove the unneeded code just in case file copy fails To: Masahiro Yamada Cc: linux-kbuild@vger.kernel.org, devicetree@vger.kernel.org, Mark Rutland , Rob Herring , linux-kernel@vger.kernel.org References: <1543823457-32478-1-git-send-email-yamada.masahiro@socionext.com> <1543823457-32478-8-git-send-email-yamada.masahiro@socionext.com> From: Michal Simek Openpgp: preference=signencrypt Autocrypt: addr=monstr@monstr.eu; prefer-encrypt=mutual; keydata= xsFNBFFuvDEBEAC9Amu3nk79+J+4xBOuM5XmDmljuukOc6mKB5bBYOa4SrWJZTjeGRf52VMc howHe8Y9nSbG92obZMqsdt+d/hmRu3fgwRYiiU97YJjUkCN5paHXyBb+3IdrLNGt8I7C9RMy svSoH4WcApYNqvB3rcMtJIna+HUhx8xOk+XCfyKJDnrSuKgx0Svj446qgM5fe7RyFOlGX/wF Ae63Hs0RkFo3I/+hLLJP6kwPnOEo3lkvzm3FMMy0D9VxT9e6Y3afe1UTQuhkg8PbABxhowzj SEnl0ICoqpBqqROV/w1fOlPrm4WSNlZJunYV4gTEustZf8j9FWncn3QzRhnQOSuzTPFbsbH5 WVxwDvgHLRTmBuMw1sqvCc7CofjsD1XM9bP3HOBwCxKaTyOxbPJh3D4AdD1u+cF/lj9Fj255 Es9aATHPvoDQmOzyyRNTQzupN8UtZ+/tB4mhgxWzorpbdItaSXWgdDPDtssJIC+d5+hskys8 B3jbv86lyM+4jh2URpnL1gqOPwnaf1zm/7sqoN3r64cml94q68jfY4lNTwjA/SnaS1DE9XXa XQlkhHgjSLyRjjsMsz+2A4otRLrBbumEUtSMlPfhTi8xUsj9ZfPIUz3fji8vmxZG/Da6jx/c a0UQdFFCL4Ay/EMSoGbQouzhC69OQLWNH3rMQbBvrRbiMJbEZwARAQABzR9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wotd30azG5pKDtAkpRqW283+LueDVQ5P/Gwp5V1 9e6oMggSVn53IRVPB4MzTXVm/Q03c5YXPqgP4bPIF624HAPRnUxCWY1yrZuE4zNPG5dfY0PN RmzhqoTJlA== Message-ID: Date: Wed, 5 Dec 2018 17:33:49 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <1543823457-32478-8-git-send-email-yamada.masahiro@socionext.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VC9lh3RBMYJ2PxrENLn0X9aXZwr1h8zaG" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --VC9lh3RBMYJ2PxrENLn0X9aXZwr1h8zaG Content-Type: multipart/mixed; boundary="N41fux6WkqnwveAuf85T0cgflK5D3IJYe"; protected-headers="v1" From: Michal Simek Reply-To: monstr@monstr.eu To: Masahiro Yamada Cc: linux-kbuild@vger.kernel.org, devicetree@vger.kernel.org, Mark Rutland , Rob Herring , linux-kernel@vger.kernel.org Message-ID: Subject: Re: [PATCH 7/7] microblaze: remove the unneeded code just in case file copy fails References: <1543823457-32478-1-git-send-email-yamada.masahiro@socionext.com> <1543823457-32478-8-git-send-email-yamada.masahiro@socionext.com> In-Reply-To: <1543823457-32478-8-git-send-email-yamada.masahiro@socionext.com> --N41fux6WkqnwveAuf85T0cgflK5D3IJYe Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 03. 12. 18 8:50, Masahiro Yamada wrote: > I guess >=20 > || (rm -f $@ && echo false) >=20 > ... should be >=20 > || (rm -f $@ && false) >=20 > since printing the string "false" on the console has no point. >=20 > Moreover, no Makefile needs to delete a target on error explicitly > since commit 9c2af1c7377a ("kbuild: add .DELETE_ON_ERROR special > target"). >=20 > Reuse equivalent cmd_shipped from scripts/Makefile.lib. >=20 > Signed-off-by: Masahiro Yamada > --- >=20 > arch/microblaze/boot/dts/Makefile | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) >=20 > diff --git a/arch/microblaze/boot/dts/Makefile b/arch/microblaze/boot/d= ts/Makefile > index c7324e7..ef00dd3 100644 > --- a/arch/microblaze/boot/dts/Makefile > +++ b/arch/microblaze/boot/dts/Makefile > @@ -12,12 +12,9 @@ $(obj)/linked_dtb.o: $(obj)/system.dtb > # Generate system.dtb from $(DTB).dtb > ifneq ($(DTB),system) > $(obj)/system.dtb: $(obj)/$(DTB).dtb > - $(call if_changed,cp) > + $(call if_changed,shipped) > endif > endif > =20 > -quiet_cmd_cp =3D CP $< $@$2 > - cmd_cp =3D cat $< >$@$2 || (rm -f $@ && echo false) > - > # Rule to build device tree blobs > DTC_FLAGS :=3D -p 1024 >=20 Acked-by: Michal Simek Thanks, Michal --=20 Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Xilinx Microblaze Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs --N41fux6WkqnwveAuf85T0cgflK5D3IJYe-- --VC9lh3RBMYJ2PxrENLn0X9aXZwr1h8zaG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlwH/e0ACgkQykllyylKDCFEFgCglgigA6xbCkCzVbb4ca3lXf3x VGwAn3G9GGsi35LX72UIF44MX2rTBoCi =zclB -----END PGP SIGNATURE----- --VC9lh3RBMYJ2PxrENLn0X9aXZwr1h8zaG--