Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp805545ybz; Fri, 1 May 2020 08:52:01 -0700 (PDT) X-Google-Smtp-Source: APiQypKT5pb1JPPqRtsSVShBIWMHUaQ9nPHXYBz5AyEcF8bJDrwfnQcsodx9C1kOSuVRAfh6PVDj X-Received: by 2002:a05:6402:749:: with SMTP id p9mr3910208edy.75.1588348321473; Fri, 01 May 2020 08:52:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588348321; cv=none; d=google.com; s=arc-20160816; b=mBvwIJAx1zzw1qHeNNVR4cLGEkwYnjeXrxXjfCtYOxC7Ks0gwMwW5TsUUyAojy/3ki iKGXvK0uNQ/ZkbyLvt+zri93WkPLCMSRTrViOdA56EhxUKEYdzaxekILGTnmn/LEFkfx rTaWLS5JVwDgQxLXtZyfjKYcjf6dmL8ncTSH64vi6JVeU1LosthL1Y4PQMSHYoN42r+v 2Nhz9f155mYKv2OaIBmA+37DnCsxtWF8Ys7PwWD/pXtfB2ITM06PSLHtNguOTjH/6lvA B1tC1aWlvUHtLHbyRAzVBhn+myRG0scsQcG9JjnoIEQ0M1jR+BzLOMyfbtMn2XHG9kOq 2zHQ== 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=s4RTZ0CbhEIBMzYEl8v7jF1WWsPB2iFQM6cIOM/+yR0=; b=TVFY1pvLwuuho+MYG2xLO616VNkzVOUVuMptF9d690x1Lu35h2O3YRoH4uk0rVvt9R /PMbOctAoRJbJPxu3PkEEY3KPiBCVSbtAuqNglh0PXSaOHtBJNuIOQPp88cWu3azyFvX oG4MNkFO642geHAp57IyOFA08QOjlIs5A7tBq4hB57xVdQ0R6Wa+PEXmh5kszdYRzosI oiyXRWG+4nEKz8Bz+3yfuVM580xG2o5MAAOTsm23MGrs2kTGfjJIaJdzwUY2D9+jovlB q/zp1sUA7EclMrC/2v1pUI/nxZpkWipYQ+8olfdzOhL6TbBob/uHgpkG+dM9CQJOx/Yc q6Ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=GaLqkKvW; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r11si1802455edq.390.2020.05.01.08.51.38; Fri, 01 May 2020 08:52:01 -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=@redhat.com header.s=mimecast20190719 header.b=GaLqkKvW; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729531AbgEAPt3 (ORCPT + 99 others); Fri, 1 May 2020 11:49:29 -0400 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:38327 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728946AbgEAPt2 (ORCPT ); Fri, 1 May 2020 11:49:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1588348167; 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: in-reply-to:in-reply-to:references:references; bh=s4RTZ0CbhEIBMzYEl8v7jF1WWsPB2iFQM6cIOM/+yR0=; b=GaLqkKvWTYTrc6tqt5/OOucH3GKho7qLnk6H+bFY+oln4tcoZrL0YtKwDgiLWlEJWZI28a hPDgXRmN2ODo+KgnjoiP3hjkwVv4xyVfUULiQ0TbSBSgEtRitpqiYoLVt092q+A02ehgSL m2L/iiO+kXJzxhLSIO794sUovAhdo18= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-141-qLj1j1XkOU-fwqAOIoMv5w-1; Fri, 01 May 2020 11:49:23 -0400 X-MC-Unique: qLj1j1XkOU-fwqAOIoMv5w-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 744481902EBB; Fri, 1 May 2020 15:49:22 +0000 (UTC) Received: from treble (ovpn-114-104.rdu2.redhat.com [10.10.114.104]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B9A3761524; Fri, 1 May 2020 15:49:19 +0000 (UTC) Date: Fri, 1 May 2020 10:49:17 -0500 From: Josh Poimboeuf To: Peter Zijlstra Cc: Arnd Bergmann , the arch/x86 maintainers , Linux Kernel Mailing List Subject: Re: Remaining randconfig objtool warnings, linux-next-20200428 Message-ID: <20200501154917.azhvf2wtfo6stlkl@treble> References: <20200501010733.ptvgzl3nbxybo4rd@treble> <20200501123319.GC3762@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200501123319.GC3762@hirez.programming.kicks-ass.net> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 01, 2020 at 02:33:19PM +0200, Peter Zijlstra wrote: > On Thu, Apr 30, 2020 at 08:07:33PM -0500, Josh Poimboeuf wrote: > > On Thu, Apr 30, 2020 at 04:05:07PM +0200, Arnd Bergmann wrote: > > > lib/strncpy_from_user.o: warning: objtool: strncpy_from_user()+0x133: call to do_strncpy_from_user() with UACCESS enabled > > > lib/strnlen_user.o: warning: objtool: strnlen_user()+0x122: call to do_strnlen_user() with UACCESS enabled > > > > Does this fix it? > > > > GCC is a moron, a static function with inline and a single callsite, > let's out-of-line it, shees!, try this instead: Yeah, that's easier :-) -- Josh