Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6158473rwl; Tue, 4 Apr 2023 08:35:38 -0700 (PDT) X-Google-Smtp-Source: AKy350YEYUPy8oA/7S3doatTVqOQ3Ie/D6ZaiDtyFYNy8mXXdxxjY90r9ijW2PIKFnuOUR7EXynz X-Received: by 2002:a17:902:c612:b0:1a1:956e:542f with SMTP id r18-20020a170902c61200b001a1956e542fmr2706467plr.19.1680622538366; Tue, 04 Apr 2023 08:35:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680622538; cv=none; d=google.com; s=arc-20160816; b=UkYoWjGduoANOfsqpflC733gmaIZlp0UeSykQeNnP5qnvm7HbX6U4l0YPkGDGmAbmy fHupZfk8h8T7sGjpRTqyWGNH8xegIhDJ7Y9Z4leX/6MOKYFAoTpsRHuhTvaJish2U8Bx PUki3MmrM+joF1Ro/BupndDBmBUYUyQL5n5CgQ2vdbs2/7pbhos7QUoFjh2RZ9gc0z/J CkedfpetZf3DuVVVdj1y6JNSgYM7yyn/e9HAjx/ggJC6YwKlWP1Wy6vkuzDdi8NgyOoy 4TuPCIUEvkZLeXin2I4QzsIfsk9si7rYKFquXeHQ7BFc/5f1eHMJYjsku+bVvBY32Mny 2h9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=+msMLPlx9SUT/PArtodKxXivBBhbHkzYYMwNK0RK8Ts=; b=Js3hPghzcdVprCsIs4G/QWxA7pKIcfS27frtSbEv3QXu7Ky6f+s+4V76UdirNmhNDl YpuilIjLOvAifFxaou4o6D8wgKjdsMTNCuBtPXSLcsPnEktUSMLadJthE9lH2EVxMMfa ZKBSiOsuWsEY8GHu7BnL31BClL8UY2vMgAZkaofwX3uKynVhuto/i/KeKux/1BjBevqc z2yy40qpLvs/rkFvfGAFLo23dYBhmpn+sqLZTzIAJONrBWdSPms5/js2gLiyRPyyLreY 85r+7i2nZoKNoziNYvoE9uZcj0otWRG0NVw3YuBwlm1q0myNg1RVC+YtkGGuWD4CFFWy VBaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=W+EL8IIl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n8-20020a170902d2c800b001a060012dfcsi11034679plc.114.2023.04.04.08.35.25; Tue, 04 Apr 2023 08:35:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=W+EL8IIl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235059AbjDDPaT (ORCPT + 99 others); Tue, 4 Apr 2023 11:30:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234708AbjDDPaR (ORCPT ); Tue, 4 Apr 2023 11:30:17 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BE591984 for ; Tue, 4 Apr 2023 08:30:15 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2169063603 for ; Tue, 4 Apr 2023 15:30:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 16458C433D2; Tue, 4 Apr 2023 15:30:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680622214; bh=i/w5GGBWoyeO6zs1YesUe2Rk58yoxoPxBwHISLrYctY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=W+EL8IIlvhf2BKu/Eqf6hL2knF2luLeLru6p6SL9LJpASQ+Rde1pp0msZl8nttNt/ RffZyaEFuU+pDwOnhMj7U0RfenhCx0IEhHCKLJ3hLJ+TK1HooqHLcrdpxlBW2/mbKp 6e9YlntwG155BYF/vx5UATvXSoWov2OvGfo7c++fvfXiIsyEo2XGUwFcjC1f6COqdi 2bGLDzX7cOiiHSfiYRWBlmSTKrVOk6PfF1bqQp1EECv9RulcDv1+Tk9dxpBOzGFRwY fkfYjHr3hvZr4jbqdrEfdjsTAORRn7eLt1rYoeqM4MYBwfGBb/KFr+6cZDKj81WYYY SK+t5Q+AUCkHQ== Date: Tue, 4 Apr 2023 08:30:12 -0700 From: Nathan Chancellor To: Josh Triplett Cc: kernel test robot , Andrew Morton , linux-kernel@vger.kernel.org, llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Linux Memory Management List Subject: Re: [PATCH] prctl: Add PR_GET_AUXV to copy auxv to userspace Message-ID: <20230404153012.GA1702188@dev-arch.thelio-3990X> References: <202304041715.c3b7aJd4-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 04, 2023 at 09:07:59PM +0900, Josh Triplett wrote: > On Tue, Apr 04, 2023 at 05:58:51PM +0800, kernel test robot wrote: > > reproduce (this is a W=1 build): > > Right, I *really* need to start doing W=1 builds. (Am I missing > something, or did kernel builds once emit warnings about type mismatches > on `min` by default?) I see this warning in a normal ARCH=arm allmodconfig build (i.e., without W=1). Perhaps you never did a 32-bit build, since that is the only way this warning would appear? > > >> kernel/sys.c:2383:23: warning: comparison of distinct pointer types ('typeof (sizeof (mm->saved_auxv)) *' (aka 'unsigned int *') and 'typeof (len) *' (aka 'unsigned long *')) [-Wcompare-distinct-pointer-types] > > Will fix in v2. > Cheers, Nathan