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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6DADFC43334 for ; Mon, 11 Jul 2022 21:49:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231281AbiGKVtR (ORCPT ); Mon, 11 Jul 2022 17:49:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229591AbiGKVtR (ORCPT ); Mon, 11 Jul 2022 17:49:17 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0D782A279; Mon, 11 Jul 2022 14:49:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=4cZ/07UdteYTunOJgUSMZk6FfJ+mgv+0nvVtmZCiItY=; b=Gf1hUDtHuNEv/Cv0EaQiT65ykV 9uKau4TZ+/wXRb5GYad+TJyav8s3M3l4g3SX3gszBOc/gOsfH9xtWcDn06rl9zzJfL4qPDnekLs9S xypb6S8xrsgcEo+QjUyXMYY3OWO86LrTo7NdkOyjHHULdAlWGMorE1f19rfrpzfiB2uRz+5WFnXLS lNF1v4kckNXSmV5mKc/6vgDvzcZKV+FtBH+bFZRjU/6wamDn9GUdEvR94bfngeIOwXEkufSCdsDd4 Ia9B0ThXOFABYRuK2uAAloQRjubF901zms/qVpgkqtekORgSdo9ZPN/HBb4ufLuqmPWSHygCDLSFT rK0HDEXg==; Received: from [2601:1c0:6280:3f0::a6b3] by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1oB1HG-00549N-GH; Mon, 11 Jul 2022 21:49:14 +0000 Message-ID: Date: Mon, 11 Jul 2022 14:49:13 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: linux-next: Tree for Jul 11 (uml) Content-Language: en-US To: Stephen Rothwell , Linux Next Mailing List Cc: Linux Kernel Mailing List , linux-um References: <20220711211220.795af291@canb.auug.org.au> From: Randy Dunlap In-Reply-To: <20220711211220.795af291@canb.auug.org.au> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org On 7/11/22 04:12, Stephen Rothwell wrote: > Hi all, > > Changes since 20220708: > Since last week, building uml for i386 has had build warnings on allnoconfig, defconfig, and tinyconfig: In file included from ../arch/um/include/asm/processor-generic.h:13, from ../arch/x86/um/asm/processor.h:41, from ../include/linux/rcupdate.h:30, from ../include/linux/rculist.h:11, from ../include/linux/pid.h:5, from ../include/linux/sched.h:14, from ../include/linux/ptrace.h:6, from ../arch/um/kernel/skas/syscall.c:7: ../arch/um/kernel/skas/syscall.c: In function 'handle_syscall': ../arch/x86/um/shared/sysdep/syscalls_32.h:14:10: warning: cast between incompatible function types from 'long int (*)(struct pt_regs)' to 'long int (*)(struct syscall_args)' [-Wcast-function-type] 14 | ((long (*)(struct syscall_args)) \ | ^ ../arch/x86/um/asm/ptrace.h:36:62: note: in definition of macro 'PT_REGS_SET_SYSCALL_RETURN' 36 | #define PT_REGS_SET_SYSCALL_RETURN(r, res) (PT_REGS_AX(r) = (res)) | ^~~ ../arch/um/kernel/skas/syscall.c:46:33: note: in expansion of macro 'EXECUTE_SYSCALL' 46 | EXECUTE_SYSCALL(syscall, regs)); | ^~~~~~~~~~~~~~~ ../arch/x86/um/tls_32.c: In function 'get_free_idx': ../arch/x86/um/tls_32.c:68:13: warning: the comparison will always evaluate as 'true' for the address of 'tls_array' will never be NULL [-Waddress] 68 | if (!t->arch.tls_array) | ^ In file included from ../arch/x86/um/asm/processor.h:10, from ../include/linux/rcupdate.h:30, from ../include/linux/rculist.h:11, from ../include/linux/pid.h:5, from ../include/linux/sched.h:14, from ../arch/x86/um/tls_32.c:7: ../arch/x86/um/asm/processor_32.h:22:31: note: 'tls_array' declared here 22 | struct uml_tls_struct tls_array[GDT_ENTRY_TLS_ENTRIES]; | ^~~~~~~~~ ../arch/x86/um/tls_32.c: In function 'get_tls_entry': ../arch/x86/um/tls_32.c:243:13: warning: the comparison will always evaluate as 'true' for the address of 'tls_array' will never be NULL [-Waddress] 243 | if (!t->arch.tls_array) | ^ ../arch/x86/um/asm/processor_32.h:22:31: note: 'tls_array' declared here 22 | struct uml_tls_struct tls_array[GDT_ENTRY_TLS_ENTRIES]; | ^~~~~~~~~ -- ~Randy