From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sfi-mx-2.v28.ch3.sourceforge.com ([172.29.28.122] helo=mx.sourceforge.net) by 235xhf1.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1L7ryo-0005HV-Oq for user-mode-linux-devel@lists.sourceforge.net; Wed, 03 Dec 2008 13:41:26 +0000 Received: from cmpxchg.org ([85.214.51.133]) by 72vjzd1.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) id 1L7ryf-00083C-Dk for user-mode-linux-devel@lists.sourceforge.net; Wed, 03 Dec 2008 13:41:26 +0000 Date: Wed, 3 Dec 2008 14:40:35 +0100 From: Johannes Weiner Message-ID: <20081203134035.GA17560@cmpxchg.org> References: <2375c9f90812021451hfd77292yf2463ca99d07b88e@mail.gmail.com> <20081203012051.GA8953@cmpxchg.org> <2375c9f90812030432m771984edkdd0c599bbae9bb3c@mail.gmail.com> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: <2375c9f90812030432m771984edkdd0c599bbae9bb3c@mail.gmail.com> Subject: Re: [uml-devel] [Patch] uml: drop const qualifier for kernel_execve() List-Id: The user-mode Linux development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: user-mode-linux-devel-bounces@lists.sourceforge.net To: =?iso-8859-1?Q?Am=E9rico?= Wang Cc: Andrew Morton , jdike@addtoit.com, LKML , user-mode-linux-devel@lists.sourceforge.net On Wed, Dec 03, 2008 at 12:32:02PM +0000, Am=E9rico Wang wrote: > On Wed, Dec 3, 2008 at 1:20 AM, Johannes Weiner wrot= e: > > On Tue, Dec 02, 2008 at 10:51:09PM +0000, Am=E9rico Wang wrote: > >> UML implementation of kernel_execve() should not have const qualifier, > >> because it will finally call do_execve() which doesn't have. > > > > And you made sure that do_execve() is correctly annotated? > > > = > Yes, I checked that. Good. Then please fix up do_execve() or let the warning stand out as a reminder. Hannes ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great priz= es Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=3D100&url=3D/ _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752220AbYLCNlW (ORCPT ); Wed, 3 Dec 2008 08:41:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750781AbYLCNlM (ORCPT ); Wed, 3 Dec 2008 08:41:12 -0500 Received: from cmpxchg.org ([85.214.51.133]:41369 "EHLO cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750763AbYLCNlM (ORCPT ); Wed, 3 Dec 2008 08:41:12 -0500 Date: Wed, 3 Dec 2008 14:40:35 +0100 From: Johannes Weiner To: =?iso-8859-1?Q?Am=E9rico?= Wang Cc: LKML , Andrew Morton , jdike@addtoit.com, user-mode-linux-devel@lists.sourceforge.net Subject: Re: [Patch] uml: drop const qualifier for kernel_execve() Message-ID: <20081203134035.GA17560@cmpxchg.org> References: <2375c9f90812021451hfd77292yf2463ca99d07b88e@mail.gmail.com> <20081203012051.GA8953@cmpxchg.org> <2375c9f90812030432m771984edkdd0c599bbae9bb3c@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2375c9f90812030432m771984edkdd0c599bbae9bb3c@mail.gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 03, 2008 at 12:32:02PM +0000, Américo Wang wrote: > On Wed, Dec 3, 2008 at 1:20 AM, Johannes Weiner wrote: > > On Tue, Dec 02, 2008 at 10:51:09PM +0000, Américo Wang wrote: > >> UML implementation of kernel_execve() should not have const qualifier, > >> because it will finally call do_execve() which doesn't have. > > > > And you made sure that do_execve() is correctly annotated? > > > > Yes, I checked that. Good. Then please fix up do_execve() or let the warning stand out as a reminder. Hannes