Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp848618rwd; Tue, 16 May 2023 08:24:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ72E3HLlhsrb6OJGwY828XtGSU2JvxTGQwdjNw/6O3hr671XcTUyMDx+cEQ41gPszpSYi7K X-Received: by 2002:a05:6a21:339a:b0:106:a78f:be22 with SMTP id yy26-20020a056a21339a00b00106a78fbe22mr4354845pzb.31.1684250645907; Tue, 16 May 2023 08:24:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684250645; cv=none; d=google.com; s=arc-20160816; b=qdI347ePRnGjsXTGQa2S8LvCYjCt82pZ2FpRnKUPDSzYOH8eVkPDCqkNvVNQ7v2GCW IuDULnACDT09fZeMqQVBtKho1eC7Zqxp3pRwrPjkpArSnLMqnZv7U+nI4FcoKoISTGo0 lH6L5cNSzBoEws+t/jgVW5JoWnIgvsGOMu7CtRxKGYH3qM9+jmwJTBxFfF3kPtMpdvqo vbq3DwnbsqYh2iZCpXzutlb0JChM+fp9CJgEaQqxGAHfhfUyxyPlFzNnj/J/zapskMdW Sx8wDpF5XNP0NNP6t3P959tAdio9CyL0zfxZDDcsigBFFny9QkDU3p7sstRqQ1+CN1o0 Sevw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=sB90JXQDOeyco7siuADX0RQFcqy8yX0EH3jyFgf35Gg=; b=D39PjwBQjOaXh/xo5XWTPjH1jZY2k5Ynk0O/EFpWLCh4cfzQ4u06vM54WqqSFcWJcV rLsv1+MoXHgBw0IJlZAkBaboqZ81a2gZlkED79sstJzV8vhAH3Qbf0709XKgeztRDIDH 8oP2sS+AJm76nYnKqc0wAKto6fAVgptR3/OZ9+CLg/nMdzVrU8oHmf/tSHTORHTKAoGI JVgBiL1kMd1mcI6Zi5xoAdkyjv1UB6zoG5ERsEIxcW1QtgwKK8VlQYetGtl6aIitNAPP GQLNVmOYsJgF0Eaant7ygqfLVt2FpQPpb/2J1ege6VBZNlKRXRo7q9gCATrpuCwDzD2c 5zmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NuywaGJn; 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 x29-20020aa7957d000000b0063b5875dd22si19492803pfq.308.2023.05.16.08.23.49; Tue, 16 May 2023 08:24:05 -0700 (PDT) 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=NuywaGJn; 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 S233966AbjEPPO6 (ORCPT + 99 others); Tue, 16 May 2023 11:14:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234115AbjEPPOy (ORCPT ); Tue, 16 May 2023 11:14:54 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0466440E6 for ; Tue, 16 May 2023 08:14:54 -0700 (PDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 95FC762A54 for ; Tue, 16 May 2023 15:14:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A57F2C433A1; Tue, 16 May 2023 15:14:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684250093; bh=a7GjnD9cBzjW1/0/iwpljCUZP6WY2SAzUWpu+dZUMvQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NuywaGJnETBHsbFqcC5PrZuIwrOo4pKkR6efYSdKcvyM26yEA+RFj3GyPAJ4ZzasO Mv0vagGgpeo9eBuiMdGwcE10fEAoahzVZ9I3WcqPozLxFou+5+HBVOIIVkcSpAhwUj wW4xFVl/GfugudVnkEs75SwPbQgomtgICS15Ui0aury490AD+Gxhw0B4l9RA0FyORI A0kRidYAnXDkeNN1LGzBHbcDtJIYI0/hr/E0pm7ZNIkXPrcu6dESDBy1D9lTHOCDvU 0KqkxD4zMen9xvCxIgi1DHoeSw8e8eN3jbM2gOUhIPsKJYlDzH5mLZOkFVXvmUCr8J J/X4N1yAy9I/g== From: Will Deacon To: Catalin Marinas , Min-Hua Chen Cc: kernel-team@android.com, Will Deacon , kernel test robot , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64/mm: mark private VM_FAULT_X defines as vm_fault_t Date: Tue, 16 May 2023 16:14:41 +0100 Message-Id: <168424504378.603922.13211388957168018213.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20230502151909.128810-1-minhuadotchen@gmail.com> References: <20230502151909.128810-1-minhuadotchen@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit 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,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On Tue, 2 May 2023 23:19:06 +0800, Min-Hua Chen wrote: > This patch fixes several sparse warnings for fault.c: > > arch/arm64/mm/fault.c:493:24: sparse: warning: incorrect type in return expression (different base types) > arch/arm64/mm/fault.c:493:24: sparse: expected restricted vm_fault_t > arch/arm64/mm/fault.c:493:24: sparse: got int > arch/arm64/mm/fault.c:501:32: sparse: warning: incorrect type in return expression (different base types) > arch/arm64/mm/fault.c:501:32: sparse: expected restricted vm_fault_t > arch/arm64/mm/fault.c:501:32: sparse: got int > arch/arm64/mm/fault.c:503:32: sparse: warning: incorrect type in return expression (different base types) > arch/arm64/mm/fault.c:503:32: sparse: expected restricted vm_fault_t > arch/arm64/mm/fault.c:503:32: sparse: got int > arch/arm64/mm/fault.c:511:24: sparse: warning: incorrect type in return expression (different base types) > arch/arm64/mm/fault.c:511:24: sparse: expected restricted vm_fault_t > arch/arm64/mm/fault.c:511:24: sparse: got int > arch/arm64/mm/fault.c:670:13: sparse: warning: restricted vm_fault_t degrades to integer > arch/arm64/mm/fault.c:670:13: sparse: warning: restricted vm_fault_t degrades to integer > arch/arm64/mm/fault.c:713:39: sparse: warning: restricted vm_fault_t degrades to integer > > [...] Applied to arm64 (for-next/fixes), thanks! [1/1] arm64/mm: mark private VM_FAULT_X defines as vm_fault_t https://git.kernel.org/arm64/c/d91d58087806 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev