Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp4630087ybg; Mon, 8 Jun 2020 12:44:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx71GZkbz8LeYSjRvV9UTolSuRxOZiiFAXfXDU1mYZb5fZS1O5+KZGvQfP6dSXBemIA5Zd3 X-Received: by 2002:a17:906:670d:: with SMTP id a13mr22817523ejp.290.1591645496809; Mon, 08 Jun 2020 12:44:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591645496; cv=none; d=google.com; s=arc-20160816; b=0FcKNZ1JijdJ1kDgRjl+68e6VMl4SCEiAF0aF+nVOGnAKSKdgwkzdZsC/jmwxrwZ1v 8SgNlgTOdImZFnnkVYysDPmRuNCBHWAwFbLZnMKaY7yJq4iXChEBdgN+8yPkSW1ETwBZ R/uhqVMALidBD2KGoIez3y7/LAu5n5Da2JeEj/HpYWVjXAKRyh/ETmkrLYnR82xbOM71 3oxGn+8r/SHQT023ryxzH/lYygxKU9gnkGm9xcwCLPprAgvBYGyM9awYBlUrPmRBDjWB 4kQVV5DR3+4hE5SOJ8NcwgPOy1BZwx0vWShWZ06WqIKekElPqExVCtPHvJhQU8prf4cK Mqog== 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:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=dCPdfHY3b4SJMjy1igOIQZqz+WhDVbR2ecXgIC5dVPI=; b=mXEq4CTCvg8l81bSy8u7gXwS/a/G9D+9gN7lCtWfal9kwREhZyNWNeaaRlqQuAWmuU g3hFND+BlmHWtrV7WpaFGkD21rIrQs1vDDbri208GnuxtfN75THB10OO9CRJzEG2a90F bF0c6iG4PnyZToFBj6gNqQted4dXmpn4kV9xYTFq0rcf/QsrHBPcTiCv3HNVxFEQYhHZ dWlAl0SQmUQO8yb4wGyJYBTOcEXGH9T8ePMHJbgFr2rvAeeSkWzmVEhvHw/jzCEo3E5Z EKhskUMAGKeWCl19eKki8km0ZUgf55RHRM8YulbnhXSsyZf3e4iMtAKGprizDR6tyh69 X4Xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=KtM+79hH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v6si8655537ejh.379.2020.06.08.12.44.33; Mon, 08 Jun 2020 12:44:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=KtM+79hH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726529AbgFHTmy (ORCPT + 99 others); Mon, 8 Jun 2020 15:42:54 -0400 Received: from mail.skyhub.de ([5.9.137.197]:55758 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726409AbgFHTmx (ORCPT ); Mon, 8 Jun 2020 15:42:53 -0400 Received: from zn.tnic (p200300ec2f26d700ade61a8be514ef2f.dip0.t-ipconnect.de [IPv6:2003:ec:2f26:d700:ade6:1a8b:e514:ef2f]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id A2EEF1EC02B1; Mon, 8 Jun 2020 21:42:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1591645372; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=dCPdfHY3b4SJMjy1igOIQZqz+WhDVbR2ecXgIC5dVPI=; b=KtM+79hHUbFa7x/eC4H4e2fQ/16JDwfETDFBD3HxVvxhIlU+rvVjkY7WJ03nTCQdu8DuwU /IMewNXZSkxOkDFirrKsXQN8bkZoUH+XRe2da0m0eCwnfiwjTFzTBblKGF/85W6jspdSAf /2a2k/cWPRtxQLRoRRHp932c1INvVA0= Date: Mon, 8 Jun 2020 21:42:45 +0200 From: Borislav Petkov To: Boris Ostrovsky Cc: Benjamin Thiel , Juergen Gross , x86 ML , LKML Subject: Re: [PATCH] x86/xen: Fix a -Wmissing prototypes warning for xen_start_kernel() Message-ID: <20200608194245.GC21538@zn.tnic> References: <20200606142721.19486-1-b.thiel@posteo.de> <21d6821e-e488-138e-a0be-2177c4aa13b2@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <21d6821e-e488-138e-a0be-2177c4aa13b2@oracle.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 08, 2020 at 03:30:13PM -0400, Boris Ostrovsky wrote: > TBH I am not sure it's worth a new header file for a routine that is > only called from assembly (and never returns). I'd just add the > prototype right above function definition, with a comment describing > why. Right, that works too. > I see a few examples of this in the tree. Or maybe we even have an > attribute for this case? Not that I'm aware of. > (I also suspect the same may be needed for xen_prepare_pvh() BTW). Yeah, Benni is working through the rest of them. Btw, the final goal of this whole work is to enable -Wmissing-prototypes by default on x86. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette