Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp1541585rwl; Thu, 5 Jan 2023 15:27:49 -0800 (PST) X-Google-Smtp-Source: AMrXdXtWyrrgBjJQhLvFYoHF5KLU8vLGtyPw6i+KKQ+bMUOwAA65lEwmxm/tx1Z3YC4wRnSmoFnv X-Received: by 2002:a17:902:8c89:b0:193:62a:80c8 with SMTP id t9-20020a1709028c8900b00193062a80c8mr2003647plo.45.1672961269559; Thu, 05 Jan 2023 15:27:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672961269; cv=none; d=google.com; s=arc-20160816; b=G2yE3PjZ6xGlhQPKIKgjNddSOEd+Ansac9V/0KxBcSAVk3uW9KvHOlJyV/poR4K8pq wX5kheMi7BmR/R2zgVrgwBg42p0GjKxW/ffaCgje1ODIQ/Cg5q5eIFSqzGciPGVtizCA r8TY8Kss8ljkbRUUUK/K3cSLekvRiMlbJ+MxwFCNkWKriZeIIyEebvccHVzfNyR0hqS/ BDl4omgHltiAY1cZUV+P44naZz96DwYe6oXuP9r03OfUE7UMhKCZzgrNAyHLtLAfaUsI 0Pa8sFfmiDXug9WI6+VejcKxZtEvMBez6V3WetmstJYO6P7UlqSBxt7Wz9+fHxLWMn2i oncw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=OSe/wvP/msKZbEierxjG+7siaEyydzUfq3+uxXH/mJU=; b=QqfzJaDLwPuUMOUyIAkP1OUkbuFZFPiFGfefOxmsBrdtedfi3RCxSpZawu1+b0pQKa VdWLY/bWAGsm4FffOG/naDWpT5PDu060c+uFQwXaslx/giNwXI8mPzTWLlgHyLEwdxI1 Ui32hrpwVxh92YU/ZKvuQuuBS98LsnYMAjwZtiUkZPXgWNOTQkpQ/X3CM66Eyo5HslC0 2dcYu+ZMjTp+8qrEgQTdTOFgTys78c7n+gf9qrUINgAsQOURqhEqHZD+rLp9j9hQiazE CsUWzD2gpVlDB+yInYA7gmh7irWseBmfXzap+Ley5rhWs01BCbiaH1GCh+XA+Pf3HLNF iDpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VEYHaVbd; 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 y11-20020a17090322cb00b00189efa12957si10524995plg.126.2023.01.05.15.27.42; Thu, 05 Jan 2023 15:27:49 -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=VEYHaVbd; 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 S236112AbjAEXAZ (ORCPT + 57 others); Thu, 5 Jan 2023 18:00:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232437AbjAEXAT (ORCPT ); Thu, 5 Jan 2023 18:00:19 -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 E45644882B for ; Thu, 5 Jan 2023 15:00:18 -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 9FF30B81BFA for ; Thu, 5 Jan 2023 23:00:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 4B40FC433F2; Thu, 5 Jan 2023 23:00:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672959616; bh=D5EHiJpROSuZ6P66ntkt9Xvxx1BijBthqB0kyLC3nmo=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=VEYHaVbdtW1o3ZVcYpOmTq9pILMnqMklO0d56bWmskp84HvyAxtrkVNSQXLi9w1q0 zy3853jqxRn/e3f4rTiCmj4yAi+C7NbwlnPlgPltF93DF7D/i2dlVaNZifoBA5atrx f8drl/AnI3LWBvkYTpwBFmMOmh+YdiZD9BGqTDRKU8sdBV8qQ6An4dOk3S8BS5fXGv otqdlZLHikVXWyw78mro6MJf7ZlCQk4gUpfh+YtOJml8F4pU0vSH4j5KdlKb36ULB9 pVBwNaY2k0bcpVAMujm4e/TLjUzbrVaW4qUBZ3gpkclhHBfOHXbs9BCKwzxNzwoA0K f75Cy+7cmBShA== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 2B355E4D007; Thu, 5 Jan 2023 23:00:16 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] riscv: uaccess: fix type of 0 variable on error in get_user() From: patchwork-bot+linux-riscv@kernel.org Message-Id: <167295961617.27641.4395161455545202996.git-patchwork-notify@kernel.org> Date: Thu, 05 Jan 2023 23:00:16 +0000 References: <20221229170545.718264-1-ben-linux@fluff.org> In-Reply-To: <20221229170545.718264-1-ben-linux@fluff.org> To: Ben Dooks Cc: linux-riscv@lists.infradead.org, paul.walmsley@sifive.com, palmer@dabbelt.com, linux-kernel@vger.kernel.org, aou@eecs.berkeley.edu 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,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 Hello: This patch was applied to riscv/linux.git (fixes) by Palmer Dabbelt : On Thu, 29 Dec 2022 17:05:45 +0000 you wrote: > If the get_user(x, ptr) has x as a pointer, then the setting > of (x) = 0 is going to produce the following sparse warning, > so fix this by forcing the type of 'x' when access_ok() fails. > > fs/aio.c:2073:21: warning: Using plain integer as NULL pointer > > Signed-off-by: Ben Dooks > > [...] Here is the summary with links: - riscv: uaccess: fix type of 0 variable on error in get_user() https://git.kernel.org/riscv/c/b9b916aee671 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html