From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 543E5C4345F for ; Mon, 22 Apr 2024 20:35:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:Subject:References:In-Reply-To:Message-ID:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=8hhBpNIApklIKnLI/XztSMjZMVYfiU1QjK9xrcxhd8c=; b=CB86zzcSUW0/JqWeAhReFHQw/Q lliukjYlCpq+lMCdD5XKYE06ySZ7sP/JrTrxb1wQb3lPO32JCRgGcTrwZ3MxjCKriWP7pCNlHUufK jJ3K2Y6QXF69D5CVtl5zeIu8TWI0m6RLuetVCkEbR9DtWet0igyxSk1TTgrB0qF6R/UDpQ09h0ZIZ PYezhA8gCIGEzuVxzNu1TzjODtP0rNr6qFGhTA8I6Di/7zh9bXOtcfvxfxkGk6gLrUJAxHVXoBW3n 9MWLQtl9OpXyopECBGt4i8qrv8Un0xV5cBaLj/XNB0KUzwyibVDPaWcmCljFEfRMspcXnBWEOrHkI 60XmoQVw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rz0Nx-0000000Ez87-2mSu; Mon, 22 Apr 2024 20:35:33 +0000 Received: from lithops.sigma-star.at ([195.201.40.130]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rz0Nu-0000000Ez7i-2L0s for linux-um@lists.infradead.org; Mon, 22 Apr 2024 20:35:32 +0000 Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 3D434647A80D; Mon, 22 Apr 2024 22:35:29 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id hbLXo3DjthWs; Mon, 22 Apr 2024 22:35:28 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 8D197609B3C4; Mon, 22 Apr 2024 22:35:28 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id tQFA0JRDxHeL; Mon, 22 Apr 2024 22:35:28 +0200 (CEST) Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lithops.sigma-star.at (Postfix) with ESMTP id 603A1647A80D; Mon, 22 Apr 2024 22:35:28 +0200 (CEST) Date: Mon, 22 Apr 2024 22:35:28 +0200 (CEST) From: Richard Weinberger To: Jani Nikula Cc: Johannes Berg , anton ivanov , linux-um , intel-xe@lists.freedesktop.org, Lucas De Marchi , Tiwei Bie Message-ID: <1006521759.15130.1713818128220.JavaMail.zimbra@nod.at> In-Reply-To: <87frx52btl.fsf@intel.com> References: <87jzmh2chs.fsf@intel.com> <5d1dfb9fce5d7647ff3203080416eadc9806059a.camel@sipsolutions.net> <87frx52btl.fsf@intel.com> Subject: Re: -Wmissing-prototypes warnings in user-mode linux MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [195.201.40.130] X-Mailer: Zimbra 8.8.12_GA_3807 (ZimbraWebClient - FF97 (Linux)/8.8.12_GA_3809) Thread-Topic: -Wmissing-prototypes warnings in user-mode linux Thread-Index: vZ6D8nAA6Q+6wg62ykN4hANATIV+4g== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240422_133530_907191_1317D02A X-CRM114-Status: UNSURE ( 5.00 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-um@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-um" Errors-To: linux-um-bounces+linux-um=archiver.kernel.org@lists.infradead.org ----- Urspr=C3=BCngliche Mail ----- > Von: "Jani Nikula" > An: "Johannes Berg" , "richard" , "anton ivanov" >> I think this series addressed most already? >> >> https://patchwork.ozlabs.org/project/linux-um/list/?series=3D393619 >> >> But I haven't checked myself yet. >=20 > Oh, nice, it certainly helps! >=20 > But after applying that in my branch, I do still get a bunch of > warnings. Exactly. Tiwei Bie, with your v3 series[0] applied, I still see the following build warnings: arch/x86/um/signal.c:559:6: warning: no previous prototype for =E2=80=98sys= _rt_sigreturn=E2=80=99 [-Wmissing-prototypes] 559 | long sys_rt_sigreturn(void) | ^~~~~~~~~~~~~~~~ arch/um/os-Linux/mem.c:28:6: warning: no previous prototype for =E2=80=98ka= san_map_memory=E2=80=99 [-Wmissing-prototypes] 28 | void kasan_map_memory(void *start, size_t len) | ^~~~~~~~~~~~~~~~ arch/um/os-Linux/mem.c:212:13: warning: no previous prototype for =E2=80=98= check_tmpexec=E2=80=99 [-Wmissing-prototypes] 212 | void __init check_tmpexec(void) | ^~~~~~~~~~~~~ arch/x86/um/os-Linux/registers.c:146:15: warning: no previous prototype for= =E2=80=98get_thread_reg=E2=80=99 [-Wmissing-prototypes] 146 | unsigned long get_thread_reg(int reg, jmp_buf *buf) | ^~~~~~~~~~~~~~ arch/um/os-Linux/skas/process.c:107:6: warning: no previous prototype for = =E2=80=98wait_stub_done=E2=80=99 [-Wmissing-prototypes] 107 | void wait_stub_done(int pid) | ^~~~~~~~~~~~~~ arch/um/os-Linux/skas/process.c:683:6: warning: no previous prototype for = =E2=80=98__switch_mm=E2=80=99 [-Wmissing-prototypes] 683 | void __switch_mm(struct mm_id *mm_idp) | ^~~~~~~~~~~ arch/x86/um/vdso/um_vdso.c:16:5: warning: no previous prototype for =E2=80= =98__vdso_clock_gettime=E2=80=99 [-Wmissing-prototypes] 16 | int __vdso_clock_gettime(clockid_t clock, struct __kernel_old_times= pec *ts) | ^~~~~~~~~~~~~~~~~~~~ arch/x86/um/vdso/um_vdso.c:30:5: warning: no previous prototype for =E2=80= =98__vdso_gettimeofday=E2=80=99 [-Wmissing-prototypes] 30 | int __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct tim= ezone *tz) | ^~~~~~~~~~~~~~~~~~~ arch/x86/um/vdso/um_vdso.c:44:21: warning: no previous prototype for =E2=80= =98__vdso_time=E2=80=99 [-Wmissing-prototypes] 44 | __kernel_old_time_t __vdso_time(__kernel_old_time_t *t) | ^~~~~~~~~~~ arch/x86/um/vdso/um_vdso.c:57:1: warning: no previous prototype for =E2=80= =98__vdso_getcpu=E2=80=99 [-Wmissing-prototypes] 57 | __vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *u= nused) | ^~~~~~~~~~~~~ [0] https://patchwork.ozlabs.org/project/linux-um/list/?series=3D397986 Thanks, //richard