Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp522377pxv; Thu, 22 Jul 2021 06:07:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQwJNtY215c/pv1wkSQYa5zCHr5bGsQ95zY82tjve/wCV4hQLQhOPz8f2ygmSJxsJ1J/1C X-Received: by 2002:a17:907:6297:: with SMTP id nd23mr41866365ejc.62.1626959246980; Thu, 22 Jul 2021 06:07:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626959246; cv=none; d=google.com; s=arc-20160816; b=jmi2u2Dhd2FC4gsNjivPlybEB/NQyuAL0JzgiYb8WFQgIN817zsghDjDOKx70FmFvw 6jzm3h4K/+bynuhpeQMqTw5bKzT1JEpkGwmU9k+0Qe++eMuGD9Yao07LDhFnKkLlyoz6 OJuMZ9x2ZhhzXSWkLf7x+IB0nEGDOy7jgRWI+DYxSHIp+TJwrPt1MyQx17INzynoKRNn AKV8pi7dzzJTmwTBdQNW5YS1o5aAJToFBPmGWhkoT5OioR7UW7anascJHgyoRVrLcgum 9dvi/N3/9RY01OA40Y4MdAeIJRzKMRAC6z2E98F9oXTcwsnQAApl6yXsHD1n62+9nq88 bpoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=A/Fkm5U1vs/Jb+IRI46UR/FYVmmw1HinvcOMeq4S2e8=; b=KXRvk2lJE4Dlq6OOcAsDN2WlbNOz/5aTeKEb/+TceP6CschpDc2sZdCg/KEEq+rppo rITKo/VIB8a5LTQchUYvTIa9LNYzFAJV6UKwECBliJ4ZPlai52ChS+ohu/p18tn3Galg CWaOQamgyOK3lTFIIphvpgpD3qcKO4yhPaGeMLpsi4WTWpKbInsKewLqezpipDmI9ysD kjKUZrzimxSn30lAzpnyV0GHbEFjfYa4+J68+AcaRJY83fady7vinGdMhnytIYGVetic 5DQFcMTQKr1dyWq+HlYNRJiXSJBGMK/FQQu3agOSnpSCvRvQs8vcIWhSsZWw0NIcdDsk 1Lqg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m3si30690424edr.6.2021.07.22.06.07.02; Thu, 22 Jul 2021 06:07:26 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232142AbhGVMYB (ORCPT + 99 others); Thu, 22 Jul 2021 08:24:01 -0400 Received: from verein.lst.de ([213.95.11.211]:34185 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232085AbhGVMXH (ORCPT ); Thu, 22 Jul 2021 08:23:07 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 1804968D05; Thu, 22 Jul 2021 15:03:40 +0200 (CEST) Date: Thu, 22 Jul 2021 15:03:39 +0200 From: Christoph Hellwig To: Arnd Bergmann Cc: linux-arch@vger.kernel.org, Arnd Bergmann , "James E.J. Bottomley" , Al Viro , Anton Ivanov , Brian Cain , Chris Zankel , Christian Borntraeger , Christoph Hellwig , Guo Ren , Heiko Carstens , Helge Deller , Jeff Dike , Linus Walleij , Max Filippov , Michal Simek , Richard Weinberger , Thomas Bogendoerfer , Vasily Gorbik , Vineet Gupta , Yoshinori Sato , linux-csky@vger.kernel.org, linux-hexagon@vger.kernel.org, linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linux-s390@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-um@lists.infradead.org, linux-xtensa@linux-xtensa.org, uclinux-h8-devel@lists.sourceforge.jp Subject: Re: [PATCH v3 9/9] asm-generic: reverse GENERIC_{STRNCPY_FROM,STRNLEN}_USER symbols Message-ID: <20210722130339.GI26225@lst.de> References: <20210722124814.778059-1-arnd@kernel.org> <20210722124814.778059-10-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210722124814.778059-10-arnd@kernel.org> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 22, 2021 at 02:48:14PM +0200, Arnd Bergmann wrote: > From: Arnd Bergmann > > Most architectures do not need a custom implementation, and in most > cases the generic implementation is preferred, so change the polariy > on these Kconfig symbols to require architectures to select them when > they provide their own version. > > The new name is CONFIG_ARCH_HAS_{STRNCPY_FROM,STRNLEN}_USER. > > The remaining architectures at the moment are: ia64, mips, parisc, > s390, um and xtensa. We should probably convert these as well, but > I was not sure how far to take this series. Looks good, Reviewed-by: Christoph Hellwig