Received: by 10.213.65.68 with SMTP id h4csp827571imn; Fri, 6 Apr 2018 09:33:24 -0700 (PDT) X-Google-Smtp-Source: AIpwx496O2n3cFRE4cTilxRv/xUv8PIF0Ghe8mpErqaUDEzXBuGajElhTlAyGDW91LmktooNOlve X-Received: by 2002:a17:902:8a93:: with SMTP id p19-v6mr28805160plo.256.1523032404890; Fri, 06 Apr 2018 09:33:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523032404; cv=none; d=google.com; s=arc-20160816; b=eTd3tplALu2AfQ1XBK0SRdyayIkwKOrplkwek6quO+/UhH9ZoqHKlvSKyXLDNK0xb9 GlmaSw4BXynPq64vnV5ys4pCT1wbE7TQEgMEMNVr8L7qhPq2dCmPGCazdsKZ6Y4tO59w mE5T5xAAKSdNGeHXhmerUA/Gr8K2uRO8ezCNDdIQ0+aWQz0uJJtcUuYdF9HcjtqJ2Vcr YytnDdeYywJLIik+QlyG0Obxw8c9SaJNkK812OWid3QCdeFwoZ5ZEzYGR16Uu9SdyrY8 oFRwNWRPLEKZ/dn5k45DhXfpzcoxxWYkTQD02KaQfhQaGHVmPBda8eEZErUPwp3fwSsQ FiUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject :dkim-signature:arc-authentication-results; bh=qADpZoDGAa3m8X2E9EdVic/XPW1baF5qhg0TygjXql8=; b=pz/RzjlTK3pddoH7JfYeFetClfDI3/DruCUtz38DPm6E7kB/mTSQX4kfkJbd8oVYQL QAlDbFUopdNMLH3CipoPdpxVASLYSwLbqjXkUicgZrNeksgdOWPJhx5yo2YyHZXP9bQq KH1uEuFzChI6kOZjpn0UqGF6E0XGWERU9K5Qdw7JnVv7DcnC6TjLY33vWMLtiDWjFryC iRml4DGflR3FMWbmZKrRJs7W0p8U8p6xvZohFxkLMRNivKiBJ1mxDoWWbjWVCwJZ+m8m igxhO2kiMGHn6VNZSLrrME5R402C7xQTX9wp/R9b4Z+FTCL/M+VaYHje+amrH/xEbXxG RNTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=JusqM6u6; 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=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y21si8350244pfi.195.2018.04.06.09.33.10; Fri, 06 Apr 2018 09:33:24 -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=@oracle.com header.s=corp-2017-10-26 header.b=JusqM6u6; 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=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751869AbeDFQa7 (ORCPT + 99 others); Fri, 6 Apr 2018 12:30:59 -0400 Received: from aserp2130.oracle.com ([141.146.126.79]:47220 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751384AbeDFQa6 (ORCPT ); Fri, 6 Apr 2018 12:30:58 -0400 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w36G4Cri109733; Fri, 6 Apr 2018 16:30:41 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=qADpZoDGAa3m8X2E9EdVic/XPW1baF5qhg0TygjXql8=; b=JusqM6u6kjveRw4aXuETTfwSC5KpvUnsY7LIUu8ilo16x5+8VqMExUvSnU4nk6L5kJ4B xONQK9kYtH5+Js8aVETWIupz8u6H1NUjwjaR4DXV5KxB0FrpseQRvNvDZUkLrOkRONQl js/fdXrDduudq06YfMGf/IcEv87o3zu6inCOW4ADYa9CaWBCt8p1cnyEjkcjL6jLCw0g 1LQZFaUpqaloUcKP0VFL+V0NMVZZbXmGYm2UbWlyzdbyDxRNAwhmId1/t59V+UEpLb9S vRfDQCugHZ6skFr6l8nPXWEApB06Aveu+4U4KyikV3KqC42f7VpUteo6oY6aq4vBtm+7 0g== Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp2130.oracle.com with ESMTP id 2h5kc2dqmr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 06 Apr 2018 16:30:41 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w36GUeai019712 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 6 Apr 2018 16:30:41 GMT Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w36GUdCx017843; Fri, 6 Apr 2018 16:30:39 GMT Received: from [10.209.243.127] (/10.209.243.127) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 06 Apr 2018 09:30:39 -0700 Subject: Re: [PATCH] drivers/memory: can't open emif-asm-offsets.s for writing To: Anders Roxell , tony@atomide.com, d-gerlach@ti.com Cc: rmk+kernel@armlinux.org.uk, linux-kernel@vger.kernel.org References: <20180406130030.745-1-anders.roxell@linaro.org> From: Santosh Shilimkar Organization: Oracle Corporation Message-ID: <938b0adb-e1b1-2825-14b9-8352b1b23ad8@oracle.com> Date: Fri, 6 Apr 2018 09:30:36 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180406130030.745-1-anders.roxell@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8854 signatures=668697 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=740 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1804060162 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/6/2018 6:00 AM, Anders Roxell wrote: > Build failes due to that the directory isn't created before we execute > the build rule. > cc1: fatal error: can’t open ‘drivers/memory/emif-asm-offsets.s’ for > writing: No such file or directory compilation terminated. > drivers/memory/Makefile.asm-offsets:2: recipe for target 'drivers/memory/emif-asm-offsets.s' failed > make[2]: *** [drivers/memory/emif-asm-offsets.s] Error 1 > Makefile:1060: recipe for target > 'arch/arm/mach-omap2' failed > make[1]: *** [arch/arm/mach-omap2] Error 2 > make[1]: *** Waiting for unfinished jobs.... > > Current code adds a file check before checking the dependency, in > filechk it does mkdir -p $(dir $@). > > Fixes: 41d9d44d7258 ("ARM: OMAP2+: pm33xx-core: Add platform code needed for PM") > Signed-off-by: Anders Roxell > --- Acked-by: Santosh Shilimkar