From patchwork Thu Feb 2 05:28:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 51707 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp52856wrn; Wed, 1 Feb 2023 21:30:37 -0800 (PST) X-Google-Smtp-Source: AK7set/1UPYbxCQ3BAE09oqRmQjH1rCQJfvj9QotOCnN4hWOsNnfXzZNtBkESUkwzZ81JUtar6r5 X-Received: by 2002:a17:902:ca83:b0:194:52ed:7a2b with SMTP id v3-20020a170902ca8300b0019452ed7a2bmr4259005pld.39.1675315837010; Wed, 01 Feb 2023 21:30:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675315836; cv=none; d=google.com; s=arc-20160816; b=M1qm/Bow/Pa2hg8bWzN2pmx/U/ZozRSyt0nF863uL1/2czewzVrwxl5roGX/rbXQQB dEdokev5Qh3yw8AkRiM+Eir7KyWSV7pT/4WBtRMi56YjpvKvChqNkzWnMzFFWB+6iRxQ K3QHnTqqqRq0u37nRqSyNau0qlU8t6UiQ0L4Q85nRB+ByfPoL/58Wa3B9SQequUfc1ix Ozapw0fj2hJ2ZA5Eo41g0BoEU7EZUhUGOm/xqmfTicGP8Vb/uZ19EiYXHSQLz14XqqUJ SJH2CSNEijGYXtW+sqzf7TpPKNztRhqji0yrZpIT0kDE0CdiTYcCElIJv8h2W4b3J/XX kEKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=w67uANH4ICcPjfB8P29IxwXnWVdeW1WrLI1ybFP3zFc=; b=FAXvkxB2C0NoHFUmUz+6tvViwMdfOO8Mprm6eF3a2GG+nG2torKD9UgV3ElZ3NXuZd uwMG0M2O3wHR3v1bsxm45eiyh/KPBeJfLKGhq1AH+iQXnBTuObRLsfwJNBW/WUeRIzn0 /HkLOaLh8mEUmxjScayMOZkwr69VBRyezEK0LtxFjFo2Xtd2OMTNvJXkH2EhImeHkN+A +0G7mQG9pXlmCEopSQgeteeTlj/ip6lTFchQ+t1OowwwieBd2vM6gfWckIU3z0okbv8s EnwWSrENBZCwA4J8TWPOLLFXJgyvzysI/1IDC5BEitjM8P3a7/y2AJ4EWFDrbXZoujl2 rfJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=EgFOqzZg; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c18-20020a170903235200b00198b022d9d0si4012874plh.12.2023.02.01.21.30.24; Wed, 01 Feb 2023 21:30:36 -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=@infradead.org header.s=bombadil.20210309 header.b=EgFOqzZg; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232071AbjBBFaO (ORCPT + 99 others); Thu, 2 Feb 2023 00:30:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232112AbjBBF3I (ORCPT ); Thu, 2 Feb 2023 00:29:08 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 249004DCF6; Wed, 1 Feb 2023 21:28:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=w67uANH4ICcPjfB8P29IxwXnWVdeW1WrLI1ybFP3zFc=; b=EgFOqzZgATVHmdjgAO46/5IsWl RsxdGD2hL0Ruted5K+p7hu/ejZk6XfT+eQJetFvQSbrZhg7jfypEoXIKhQ5Z0d1elKhuKSsL4Ub18 W8w0Lb0Dd63DFKAoWs2Qy72lFcFO1N4jIsrO0KQMsACEcvQyRnWFOKvKuKgCcxjoYOI+yC9BTJghY 8LRhYT73bu82wd2BXbPv/xjhL6lsfxnq/9vnCXoruE9P184k9seNMKni6zWzxy3Cc50EEzkf3w+b1 0iOlj30H6PeZxWQ27SrEXpR8Gb3x7WOeWNoTAUdz3k4wYjY+WUCR+PGUxJvTEmD2LrE0JlHklgtMS N2biYzzg==; Received: from [2601:1c2:d00:6a60::9526] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pNS8u-00ERRM-FW; Thu, 02 Feb 2023 05:28:16 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Al Viro , Yoshinori Sato , Rich Felker , linux-sh@vger.kernel.org, John Paul Adrian Glaubitz , Arnd Bergmann , Andrew Morton Subject: [PATCH] >>>>>>>>>>>>>>>>>>>>>>>>> BLURB <<<<<<<<<<<<<<<<<<< Date: Wed, 1 Feb 2023 21:28:13 -0800 Message-Id: <20230202052813.27427-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,SUBJ_ALL_CAPS autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756695979448775402?= X-GMAIL-MSGID: =?utf-8?q?1756695979448775402?= ../arch/sh/include/asm/checksum_32.h: In function 'csum_and_copy_from_user': ../arch/sh/include/asm/checksum_32.h:53:14: error: implicit declaration of function 'access_ok' [-Werror=implicit-function-declaration] 53 | if (!access_ok(src, len)) | ^~~~~~~~~ Fixes: 7fe8970a78a1 ("sh32: convert to csum_and_copy_from_user()") Signed-off-by: Randy Dunlap Cc: Al Viro Cc: Yoshinori Sato Cc: Rich Felker Cc: linux-sh@vger.kernel.org Cc: John Paul Adrian Glaubitz Cc: Arnd Bergmann Cc: Andrew Morton --- arch/sh/include/asm/checksum_32.h | 1 + 1 file changed, 1 insertion(+) diff -- a/arch/sh/include/asm/checksum_32.h b/arch/sh/include/asm/checksum_32.h --- a/arch/sh/include/asm/checksum_32.h +++ b/arch/sh/include/asm/checksum_32.h @@ -7,6 +7,7 @@ */ #include +#include /* * computes the checksum of a memory block at buff, length len,