Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1870208rwd; Mon, 15 May 2023 04:23:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7fkn+9rk/1PCuILBGY6bhOxfijyctdD8fp3a9Em1huZYTvsn638qqk0zidloxpVzZXEkCj X-Received: by 2002:a17:903:24e:b0:1a8:431:9e14 with SMTP id j14-20020a170903024e00b001a804319e14mr39908494plh.25.1684149830760; Mon, 15 May 2023 04:23:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684149830; cv=none; d=google.com; s=arc-20160816; b=wj9kqs+C1njXdBx/AssvHa9kqedBu1m57ZolGm4rbq7PaF3IcvStf4OsYdGPwmgqzb JqhxBa1NPEqcMRtANgfc0ZmkFL8YRoZ0WGCMKbRHcgMLJ92stx6B6XZDofwjtFl0igWA lQGAMwi/oAi6nMFIUHnSqVny3usONexPCO4WrZHCceOF/NWpyqqOzP9Xb/Wwqas4Z11m QQXYDc76K79mszZNLBW/nGWeaeAFPEmAOVF0nz2QOjjMBOWrFo2dMMr/OXuZNEkMDPV+ hOovVWCR/udpxDbDdZ97REPs8tamcsgyHC3aKgLDe3LXb/cxNhHrRr6BifYaqHeMzbyH 270w== 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=Eu4i1lbBhSPEGLGtWQtFLBokudJ0G1IbP1EYBKLhslQ=; b=kak/6/VDDERzdRqv+N9UDjQxqHifsDVvyyM/kjYcubaXq3lCVv5E4YXrO96WBhwWxY +bJMy4LR2OL2C6/tLWZgqcnwWG8Bkzu5SvmIaEnnR39trGkb0lUbWRU8215MsOSllqa9 +1ERfzzGYjcVaSYl2AGcr1m3oy4/6gkY7ghHfFx8JVjW+h/wJXdOK5AmkNZ7qT9ho8jx BNV3sSzwYOY4Qm+Uu6xD+Sqdzbfii9qwOFNLg9MALOJvXmrekWh0+XLMNv3gEACapGzI 8FZ0RL7uGI+Ew3cOsVRVH0rWMLAKhBDiJPzwqRvwVP26NmuVF2GAY9I5v4PPv7Y2IeWj abWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EzxVXexV; 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 jb4-20020a170903258400b001aad604bb95si14859918plb.152.2023.05.15.04.23.36; Mon, 15 May 2023 04:23:50 -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=EzxVXexV; 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 S241028AbjEOLSJ (ORCPT + 99 others); Mon, 15 May 2023 07:18:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240305AbjEOLSI (ORCPT ); Mon, 15 May 2023 07:18:08 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91D46114; Mon, 15 May 2023 04:18:07 -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 2DB9F622A2; Mon, 15 May 2023 11:18:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9EE52C433EF; Mon, 15 May 2023 11:18:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684149486; bh=XPqJC1famnX99qOLE2B4jz1Qeg8LKXnvOXIOuG7G6eA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EzxVXexVyRZzIVNPG9xjRIgvqeXwwbX6DzX6d5RbrXLvTBWCJZkk9AOhtCK4Q+8WL 0wlxTCQ1rmytwtxnfMZo7ajHpNGqWpCF3tOWFzuHJr5mmhVYjt8zohuYmGoatKf2uA zOT3HwwIShqtRovw+U6MHRN3K5JAjQ3SNa1i/58PCUxATt6VlFdJV0wsIIn68DZhM6 mkzLa8RbsyVzySA/B+IwhGqXVF09FKyZchx6h3Sr33AOKZvOf1DKeQ0/2R2//USd3g 6gl6C08iO3Rrz6BG12sPLgs2QeGfu5Zq0iUpoArX6nv/JAxIPb+Mg3bamCvgpugGej QkCBBhRBXZDng== From: Christian Brauner To: Min-Hua Chen Cc: Christian Brauner , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-unionfs@vger.kernel.org, Alexander Viro , Miklos Szeredi Subject: Re: [PATCH] fs: fix incorrect fmode_t casts Date: Mon, 15 May 2023 13:17:58 +0200 Message-Id: <20230515-hirsch-robust-fb5b936fb943@brauner> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230502232210.119063-1-minhuadotchen@gmail.com> References: <20230502232210.119063-1-minhuadotchen@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=865; i=brauner@kernel.org; h=from:subject:message-id; bh=XPqJC1famnX99qOLE2B4jz1Qeg8LKXnvOXIOuG7G6eA=; b=owGbwMvMwCU28Zj0gdSKO4sYT6slMaQkiTw4sO3m3kSZS7+a6u8+j/DV3+GwU1p5WgDHxqZDcz1O 7dLk6ShlYRDjYpAVU2RxaDcJl1vOU7HZKFMDZg4rE8gQBi5OAZjIbWtGhnWM1TdmsCfWHTrp0tn7Uv rJquhZaVummj4uVtZ06RFfc4GR4X5ljVjnthMzywWrL+xdqRgT/eHGqZ8z7371fqzjFDCjjxsA X-Developer-Key: i=brauner@kernel.org; a=openpgp; fpr=4880B8C9BD0E5106FC070F4F7B3C391EFEA93624 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 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 Wed, 03 May 2023 07:22:08 +0800, Min-Hua Chen wrote: > Use __FMODE_NONOTIFY instead of FMODE_NONOTIFY to fixes > the following sparce warnings: > fs/overlayfs/file.c:48:37: sparse: warning: restricted fmode_t degrades to integer > fs/overlayfs/file.c:128:13: sparse: warning: restricted fmode_t degrades to integer > fs/open.c:1159:21: sparse: warning: restricted fmode_t degrades to integer > > > [...] Applied to the vfs.misc branch of the vfs/vfs.git tree. Patches in the vfs.misc branch should appear in linux-next soon. Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it. tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: vfs.misc [1/1] fs: fix incorrect fmode_t casts https://git.kernel.org/vfs/vfs/c/079ad16ded46