From nobody Thu Mar 14 00:47:37 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Tw7yK4WV6z5Dmwt; Thu, 14 Mar 2024 00:47:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tw7yK3sgbz4HPh; Thu, 14 Mar 2024 00:47:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710377257; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=L4JAnC1CQDoZjWCuaY5PISEGHdiItF9r04yWvdYGR7c=; b=nGsi76WDa/itHEkqETWaJ5BfiiFqItS0C3aQ5Ca3H0bcQDq4qPnMnya61cpp8swq3MwRkn JSzaVjNEht4JLs/KfH2UqGlGjF/IaGEVzufA4SwkKriC/Oo8z/cSuVwI7aqWExf4vqEaBn sNcwAL3GnlotIquk9E45ypH7r5+NM4et0kGCs4WdHQNy8DUMFIqLk2+Ws8HLHfsSlo9vHP ZO6Fqbg5h9swZCB4PzFPEAuZKGbtFHqLGLhYdaeKrLw0KZk5dggO1LkSjpWV3U1L3qTYQ1 ijNfw7E0mSgO9X0b3L4U4J/89k8HtgvE4FgOEh3tiDQH0sr/o3enojersKQNPA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710377257; a=rsa-sha256; cv=none; b=A7UBJsnukvcfzxTeQ/qFg+F+6/gj8Z0xGvxSV48FxZBAmZOzI6Dq4UOMIQbpk8BK2hqEmY tqTTocUsSC/C8eEiccrovQNWUnLv8WVb/5CZ//hI2P4IWx26zwDRFhUxeyyTH+goLjWRFb T3VnBcd931lPjWTwu96Kv8xIMk/LOW25W3Sq3IK8hzgDjicpufivmI2pczhUs+juFw40Gg NFlcgXB6VMQDA1I61xP/XVa/GUmCiJeWzHC+gbaN3ZeVBdRw8EIw1TEUKvwLUxhZpDDf/k 2vHkk5vc0ZVoc/LKAs2fvHXa7uX5I3HlOacGWxut4RmNthke2ctXwp58GsvHOw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710377257; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=L4JAnC1CQDoZjWCuaY5PISEGHdiItF9r04yWvdYGR7c=; b=qaLAMCgDvg9IYu9VTiUIzdYJ1catgyI11Y65kWIJzTtkFN7PKL2h1PxMpukvb02Zk0CEdS 5INaYm7IMOmMW1Igfpu+63qcWSyizT52yrOnmnK1h7megTSMs6L0ARBmLMKDbRbcgQ0Exu yNP1zBagqLPVXhDUYMVtRelKiKI6YB054rGMcziURAq0KdJFzvWIQVSQEZT3XQhKVd7IOi SNCCtWY5qARY8xpc4eLIRP5X6LrjuZC68uaLrkd3gRMcS6cOg8Au5ooo3hjjK57HwDlEnF OeWPOYvRWsaw4HSzetIiSrwba0lTcyzR5fNXP/u5taclXuJDMpKLx6pxelJXUg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Tw7yK3TcBz152b; Thu, 14 Mar 2024 00:47:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 42E0lb4B029299; Thu, 14 Mar 2024 00:47:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42E0lbvK029296; Thu, 14 Mar 2024 00:47:37 GMT (envelope-from git) Date: Thu, 14 Mar 2024 00:47:37 GMT Message-Id: <202403140047.42E0lbvK029296@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 4794e34384f0 - stable/13 - nullfs_mount(): remove unneeded cast List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 4794e34384f00577e7eaf9dbf8be7724f3a39ef6 Auto-Submitted: auto-generated The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=4794e34384f00577e7eaf9dbf8be7724f3a39ef6 commit 4794e34384f00577e7eaf9dbf8be7724f3a39ef6 Author: Konstantin Belousov AuthorDate: 2024-03-08 18:37:43 +0000 Commit: Konstantin Belousov CommitDate: 2024-03-13 00:31:20 +0000 nullfs_mount(): remove unneeded cast (cherry picked from commit 0724293331e4c35c0a8cc5b8922a153545725c24) --- sys/fs/nullfs/null_vfsops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/fs/nullfs/null_vfsops.c b/sys/fs/nullfs/null_vfsops.c index 0285a5e45e51..e08ed2f55d38 100644 --- a/sys/fs/nullfs/null_vfsops.c +++ b/sys/fs/nullfs/null_vfsops.c @@ -174,8 +174,8 @@ nullfs_mount(struct mount *mp) return (EINVAL); } - xmp = (struct null_mount *) malloc(sizeof(struct null_mount), - M_NULLFSMNT, M_WAITOK | M_ZERO); + xmp = malloc(sizeof(struct null_mount), M_NULLFSMNT, + M_WAITOK | M_ZERO); /* * Save pointer to underlying FS and the reference to the