Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp158191pxm; Fri, 25 Feb 2022 05:47:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJxRD4kHFl2WJKcWcahr72wgFIPCibTg0JYSJk+aNo4b74zCdcFo5FBI5o6CbJ+wSixCzsMf X-Received: by 2002:a05:6402:2694:b0:411:f0b1:7f90 with SMTP id w20-20020a056402269400b00411f0b17f90mr7399387edd.398.1645796842226; Fri, 25 Feb 2022 05:47:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645796842; cv=none; d=google.com; s=arc-20160816; b=w3P6zDftGGr2/LKTtxVL9uOAzdo+WLbLUEpZB7b8iQ/cR4sCJEZ3UGeFJ3nFGBzY8l pP1xaV1gDq4fWA2c4D2X6YJQB6skzkDZKYpSEoWd0wb92wcnUh9xJdG0Doif3GrpMrpa fbnNnCGM/huFvTpK4X8dx4jG+ffV1KNXYGiyxxdz6UnSQ2bqXUcIh9XvFHtKA9TsVOak W3XJXDgcTiJZPLyKwKZj7yqpCucnZO+7RkT/zGMBpWiLPTRlPf6rQ+LsOzoTjiNJe5vS hHKDU1qYkpSfig1J+eesrMgsA5L8wyXyvvr4Rj0IDcj7GwAVgsC0XHBzG2XW2yfWokB9 NH5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=qSg9nyUmdUtGjtYUY4OIcFHTE6kWzLGQkEpKN5flMSM=; b=OakEJXgTFh3fQk16AVBvOSYNYrj1li5yRRQAERJyUn9cqmuMsc+6+WxFdugsIwv0zt eSfFMfmECbGrRAgu0zKmwOxJ+OzQpXp+kwB676RRKDe1TlN8pKdBqXSqk9bMpQAaon6M wlnlALbCZlvQSaP3w0B0e5HxRqNX/kSdqV4TbLUZarFElFMFscU/P5hhU92zAkMKiB6X shERkQwVZqjDfp2XM4Mv0U78phAUlXgseo+ajrk2PWXO7Lhv+1eAu0aU2HrgM8EOj6VQ DVq4UDf0xOS6IH8lz9khV4qiLxP6w2pJeTuAzWXae8uJqOWj7b0TpMd86JKqjsMJsILq CWvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JQKxpsom; 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 ai4-20020a1709069a0400b006b87b291fa4si1483243ejc.165.2022.02.25.05.46.58; Fri, 25 Feb 2022 05:47:22 -0800 (PST) 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=JQKxpsom; 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 S237388AbiBYEbQ (ORCPT + 99 others); Thu, 24 Feb 2022 23:31:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229702AbiBYEbM (ORCPT ); Thu, 24 Feb 2022 23:31:12 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5ED6D1E2FC2; Thu, 24 Feb 2022 20:30:41 -0800 (PST) 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 ams.source.kernel.org (Postfix) with ESMTPS id 175D1B829D0; Fri, 25 Feb 2022 04:30:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5CCC6C340E7; Fri, 25 Feb 2022 04:30:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645763438; bh=K1RaOpayOFOl9YrWjbFso6AxJRaB7d/hqz1cXZ69p68=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=JQKxpsomaZBRaWmc5cvV6ib4A8rCg4TPitG6KtMN/3RrAcjKVTJT4yK2eDFUJ+cMs GGe2lQ0KwF+iTYeA1pEDWDB2RtmKuBiOhrq1UD43RSIKmGPeCxSvHgFkEuaxQ4Olvr 2eAzhesO8mAMjdIVrsZ1nZFTt4sdpEeKUGFwUAwfuxPbqH/Wkgj8BdxrL7OB3VWTTd G6bo95wROzxmQJyLOX4tRd/qfCxU6mfLup3kLD3UTh5ardnvCDEhsvub+4i3ykdyNs K3IteETxgQ/sIy9c1oYc4VbyW0VV1YzXNoLx5Km6wu9MsETEo+EXnMVoPFvUjaAbVy MOmcxBoXdOugg== Message-ID: <824a2d98-e992-0406-518f-adcde2a1372a@kernel.org> Date: Thu, 24 Feb 2022 22:30:31 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v2 12/18] uaccess: fix type mismatch warnings from access_ok() Content-Language: en-US To: Arnd Bergmann , Linus Torvalds , Christoph Hellwig , linux-arch@vger.kernel.org, linux-mm@kvack.org, linux-api@vger.kernel.org, arnd@arndb.de, linux-kernel@vger.kernel.org, viro@zeniv.linux.org.uk Cc: linux@armlinux.org.uk, will@kernel.org, guoren@kernel.org, bcain@codeaurora.org, geert@linux-m68k.org, monstr@monstr.eu, tsbogend@alpha.franken.de, nickhu@andestech.com, green.hu@gmail.com, shorne@gmail.com, deller@gmx.de, mpe@ellerman.id.au, peterz@infradead.org, mingo@redhat.com, mark.rutland@arm.com, hca@linux.ibm.com, dalias@libc.org, davem@davemloft.net, richard@nod.at, x86@kernel.org, jcmvbkbc@gmail.com, ebiederm@xmission.com, akpm@linux-foundation.org, ardb@kernel.org, linux-alpha@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-csky@vger.kernel.org, linux-hexagon@vger.kernel.org, linux-ia64@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, openrisc@lists.librecores.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-um@lists.infradead.org, linux-xtensa@linux-xtensa.org, kernel test robot References: <20220216131332.1489939-1-arnd@kernel.org> <20220216131332.1489939-13-arnd@kernel.org> From: Dinh Nguyen In-Reply-To: <20220216131332.1489939-13-arnd@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 2/16/22 07:13, Arnd Bergmann wrote: > From: Arnd Bergmann > > On some architectures, access_ok() does not do any argument type > checking, so replacing the definition with a generic one causes > a few warnings for harmless issues that were never caught before. > > Fix the ones that I found either through my own test builds or > that were reported by the 0-day bot. > > Reported-by: kernel test robot > Signed-off-by: Arnd Bergmann > --- > arch/arc/kernel/process.c | 2 +- > arch/arm/kernel/swp_emulate.c | 2 +- > arch/arm/kernel/traps.c | 2 +- > arch/csky/kernel/signal.c | 2 +- > arch/mips/sibyte/common/sb_tbprof.c | 6 +++--- > arch/nios2/kernel/signal.c | 20 +++++++++++--------- Acked-by: Dinh Nguyen