From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Thu, 13 Nov 2014 13:25:28 +0100 (CET) Received: from mail-wg0-f44.google.com ([74.125.82.44]:56211 "EHLO mail-wg0-f44.google.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S27013422AbaKMMZ1g53dl (ORCPT ); Thu, 13 Nov 2014 13:25:27 +0100 Received: by mail-wg0-f44.google.com with SMTP id x12so16736734wgg.17 for ; Thu, 13 Nov 2014 04:25:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=Gi/NsOAsgaKxMTQe2GELTfWRjJN+wmEorG5CKYxlluM=; b=TpduRVsbxyNFrejRJUgacUskrF14Ghxz3FpGGlJdReIdH02fBpFPjw9p78U11YVXuO pAPO07YJ0gZHN2NURVALbIRacOdM9nc4D+/+Z5h+DYiVWJjB/JggW79MGGXHCG5+dhmt IoAZVeurzNAWEnKj4FRDqecNRnOD7SeO+rgHGaCtsk143hpJ3nMV3vltpJtQMCPXcQVe oHGXf5rFyHnzSINzRZF//ZnpYxzkwVbjI08hVMnxGM33IpMZbOALJorCcbf4DVToc0hk G1hczorVT7zwPuSy9LrC9HsyFGA+VItl0U+e1/9jeXsH5JtyoPjNKm5BO28Z88TX7wo+ toFg== X-Received: by 10.194.79.201 with SMTP id l9mr3405086wjx.59.1415881522412; Thu, 13 Nov 2014 04:25:22 -0800 (PST) Received: from localhost (port-8254.pppoe.wtnet.de. [84.46.32.94]) by mx.google.com with ESMTPSA id cu9sm35369108wjb.0.2014.11.13.04.25.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Nov 2014 04:25:21 -0800 (PST) Date: Thu, 13 Nov 2014 13:25:20 +0100 From: Thierry Reding To: Ralf Baechle Cc: Paul Burton , linux-mips@linux-mips.org, Alexander Viro , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 03/10] binfmt_elf: allow arch code to examine PT_LOPROC ... PT_HIPROC headers Message-ID: <20141113122515.GF23422@ulmo> References: <1410420623-11691-1-git-send-email-paul.burton@imgtec.com> <1410420623-11691-4-git-send-email-paul.burton@imgtec.com> <20141112134059.GA12619@ulmo> <20141113001618.GC3839@linux-mips.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7uYPyRQQ5N0D02nI" Content-Disposition: inline In-Reply-To: <20141113001618.GC3839@linux-mips.org> User-Agent: Mutt/1.5.23 (2014-03-12) Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 44116 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: thierry.reding@gmail.com Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips --7uYPyRQQ5N0D02nI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 13, 2014 at 01:16:19AM +0100, Ralf Baechle wrote: > On Wed, Nov 12, 2014 at 02:41:04PM +0100, Thierry Reding wrote: >=20 > > Hi Ralf, > >=20 > > This commit showed up in linux-next and causes a warning in linux/elf.h > > because it doesn't know struct file. I've fixed it locally with this: > >=20 > > --- > > diff --git a/include/linux/elf.h b/include/linux/elf.h > > index 6bd15043a585..dac5caaa3509 100644 > > --- a/include/linux/elf.h > > +++ b/include/linux/elf.h > > @@ -4,6 +4,8 @@ > > #include > > #include > > =20 > > +struct file; > > + > > #ifndef elf_read_implies_exec > > /* Executables for which elf_read_implies_exec() returns TRUE will > > have the READ_IMPLIES_EXEC personality flag set automatically. > > --- > >=20 > > Would you mind squashing that into the above commit to get rid of the > > warning? >=20 > To fix the warnings reported by sfr on powerpc64 this morning I moved > most of the code added to into fs/binfmt_elf.c. That > should also have taken care of the warnings you saw for ARM. These changes didn't make it into today's next, but manually applying them I can indeed verify that the build warning is gone. Thierry --7uYPyRQQ5N0D02nI Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJUZKMrAAoJEN0jrNd/PrOhin0P/2QdZ2yXgtdvYvWELEmWLaQa +xSc3Lznq4yKUQZIOFUnu5mlQCixXqQWt+IS0RYGJkwinSLWOP0HudLQ3mtdlfyp suZMJXsUJsu7cHW6GxUvu6N+NBHZC8cZryVmOEmS72LE9i4JCAvv6zcL+DHv2nqA VrK8iTymt/SOACSFjzqmOfjIBaFlDXOVCj6K70Jr6hrzXlvjzpR0Vzax1VjuhJtY j2FepaaZ7TLfhrABBb2I/phE0JLKnKF9V3+fw9aAOLtvQl2VxVJX+2QKxXZmGlXN 3Af2yzlQfxYSpQ3GcamToqGTos+h+PqBJBRbNe1VYswcJ1niSXjX/utdHJ4NK6vl qyucOEhuZF132qTVqQbIeGG8cztMHnXXxPNyY9ZumEhxEbICFXjxE2daywPtJZ5Z RWsZ1ulbKY+H12Fa6hmLTsFDjCBtcfBNBWXtNnVY4IlvJCwXbDoItexjR9uVXzos 5whWtsHmb1lmmrgoBrI3bfULZSeSaxauQ2rOePAIosgHT7TdisETP8Ih7OBEkFP+ T/uWsfZAL93Vpt0hW5nfMvZpjzK5CAAOcfwceLrLTqTz4amO2eXRMZEnN0ebOEz3 NFV2Cy6FVk1cEvlSy8MDP9sBKdyFRXGHZBUhJwGue5AEz8Xzjs6q/drLZk52d26u G6Z40dryPmObkfaOzyR9 =Qh9f -----END PGP SIGNATURE----- --7uYPyRQQ5N0D02nI--