Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1616202rdb; Tue, 20 Feb 2024 01:26:29 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVzVuM/50Z9rayh+Pf+TbEHNWV1x2foeotW2UWHKwhqBSDksTZqzB6f/b3r/iVUEkuIZxzTtvw1axJazg9d6LctMwfBxDFxhIV41WiQ4g== X-Google-Smtp-Source: AGHT+IHwtMdl3euTDud/XgDHZvsQ8CFxQoY78c0XOF0m/RlF8FRl1knDR2xTyhO/EFz3uBVsNgkx X-Received: by 2002:a05:622a:11d0:b0:42d:feeb:64df with SMTP id n16-20020a05622a11d000b0042dfeeb64dfmr10550402qtk.36.1708421188830; Tue, 20 Feb 2024 01:26:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708421188; cv=pass; d=google.com; s=arc-20160816; b=Ssdo7N8/POYNO/IrjVDYLhosGR/4Vm3Ez5VNll7CwwhCRT1GjNirZ7gvZTF0DS43cu iVFgVaHYw+CGSr5/K4v/liOodbXTEe2iusAi6ACTt0ihtFyLpIEG2nRbhH3RLDswM+GF 3vrp2yvasjS0Gbn6cLHIUesvy6msDKE9t8MF2aYv60VTl8nxeMV6r1g9bONnZlrEjDBP 2IFaWiDIbiIO3vhJpTLaEnKOs/3uTVd9S80DtuUxVffwyuAw2Wevkchi2y6uO99R3Wo4 nrEvOiRV5UZPRHCFXBrwD+6vGMadmSIH4LsdROhonN2um2OdD+YZq/NvCkXKaXK33Obx Da6g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=8crrVWkHmhwqKXm6QN+CJfpq4y3+z6Y5nfHF0NVzzGE=; fh=K9uACjtpULNtEK4mHmugs5OZ89si6C0iXYVtxe+86jU=; b=YqZhAjoiA4A/YPmDALH6F3Gm4UoXR6yaLMe/2uJkUpSCLpugGR4oPviVVD1jsYvDJP H23narR3Nv/qcLSExVghuA80VdIAeJkPGv7j0Ad391FAqqqDVx7ZZ7s3Py19Btyostsc uqTuAUwXdT/raNJV3KGUvIXDdQ80QT0ijbcrY85zuCpsDN5tKr8Jae1o0fd8sF1S8JMP lgNMu6j+M4aJJPaWQ9+uu7DJBZZfR/GX/eCbPeCkSmCvh51gbJTzDRU5y2QnTzYlITG1 kHntZROFeclj4AbWK4BoJexGg524SoLtGlRoRXWjs45/QzEXZIMgRDkebw+ZZaA5qsnO fNkw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=U7pcmF76; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-72689-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72689-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id r5-20020a05622a034500b0042c67c6f2a1si8610747qtw.608.2024.02.20.01.26.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 01:26:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72689-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=U7pcmF76; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-72689-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72689-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id D80B21C24A4A for ; Tue, 20 Feb 2024 09:25:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DD73D60BA7; Tue, 20 Feb 2024 09:25:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="U7pcmF76" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 109BA604B1; Tue, 20 Feb 2024 09:25:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708421122; cv=none; b=tujjscjLMh1hJ9157ALOoWREjlbZh7Jvxmew1jpu7D6sDOQJNwiKbyQgvNRV/M6bkEJwtq6rktm8YMb7tH6lupYBoe47lfCJHUTaOOljoqvcbQJ7YQfQIicnkZM/weaFqcVpKOgYJJ+cam6QATJDF7Qm6X1BybIkYLWqMzPThGo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708421122; c=relaxed/simple; bh=bnuFd1QRUEyv+W3wv1XgCrLia9XbR75ETipxWj4UVKw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=NYgJiiVVx+UMYEmytitqWKFWMWyAnM/XxMjl5dBV64hQMoEHmqsME60yiOjo0327jFKpqluYlrW0qixhc292/8/2s0ZT6ZDj6KCy/NPfoWwOu+1/rsmDKzKH2AxWfKPnHBFmNPvs2qzj4jfMH1XFVlPatwLUCIjfhZsCWOpMxfI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=U7pcmF76; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 01F9AC43390; Tue, 20 Feb 2024 09:25:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708421121; bh=bnuFd1QRUEyv+W3wv1XgCrLia9XbR75ETipxWj4UVKw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=U7pcmF76j21Fnb9Sum8eSFeQlk5fdn1qhwhW76f4rJ+Wf95NnTyZFDXs+3xPQtEzW v66py3Svs4myMhRgR7YY7zR4hfyhwI0KDL4PipKoOOZWtf2Tz5+GvzLwUF75fqZoCA Ca/30qzJb7R0NjMASLBFMJDbubLy9KSwevZIEprh7Gy3A28Ft39PhEIBBCmTxX1cgr 9VEOwpesiJf7XPu4cteYNaTKLK9IoGqqkjUnB1mwavwaKkXx4seQV0w4NFjVy9ZfcY Gd8SSOzPB7uCs2UoSj0Br7Q0Q4hd8DT/ONBdN+NMd2I3Q162eZSdWYnW+42jLx/R4h Ei7NgEdB5RK+w== From: Christian Brauner To: Li zeming Cc: Christian Brauner , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, viro@zeniv.linux.org.uk, jack@suse.cz Subject: =?utf-8?q?Re=3A_=5BPATCH=5D_libfs=3A_Remove_unnecessary_=E2=80=980?= =?utf-8?q?=E2=80=99_values_from_ret?= Date: Tue, 20 Feb 2024 10:25:07 +0100 Message-ID: <20240220-locken-penibel-e4cff570c3cc@brauner> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240220062030.114203-1-zeming@nfschina.com> References: <20240220062030.114203-1-zeming@nfschina.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=899; i=brauner@kernel.org; h=from:subject:message-id; bh=bnuFd1QRUEyv+W3wv1XgCrLia9XbR75ETipxWj4UVKw=; b=owGbwMvMwCU28Zj0gdSKO4sYT6slMaReyf8t56jHK3qTMZv1C9uSD055LX/4hadHbb7UksBgf CWQSzero5SFQYyLQVZMkcWh3SRcbjlPxWajTA2YOaxMIEMYuDgFYCKFEQy/mDZre2gm5VxfpJ+r d7fh0GKXifbnLlxqEDpvHWX9dEsqI8P/gBCPGYknF1ZYxuUZsxRsfJclEXD38s/co4p7+y+eil3 CAwA= X-Developer-Key: i=brauner@kernel.org; a=openpgp; fpr=4880B8C9BD0E5106FC070F4F7B3C391EFEA93624 Content-Transfer-Encoding: 8bit On Tue, 20 Feb 2024 14:20:30 +0800, Li zeming wrote: > ret is assigned first, so it does not need to initialize the assignment. > > 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. It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated. Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch. tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: vfs.misc [1/1] libfs: Remove unnecessary ‘0’ values from ret https://git.kernel.org/vfs/vfs/c/297ff2f5a0e4