From nobody Sun Apr 09 21:35:39 2023 X-Original-To: dev-commits-src-branches@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 4PvllJ45J4z44JPD; Sun, 9 Apr 2023 21:35:40 +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 4PvllH5t0pz4Mxf; Sun, 9 Apr 2023 21:35:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681076140; 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=qb4/4AS/01vMB16Z83wUPm3KVzGEqCdNzyjShNk9qpI=; b=aQe9xgwqdM1EkMbBSdTOCs14UqIkKQWChIKbTza5sEA1kKmZRf7Aaj+MAwwJ5zAS6gTWfK hSNlyeSLgAO1cmgNIGfPZ1yloFRwr9gzjTdeBm+cBFaenVsKUhhOV/DaiYM4xhGckDmm4y ILYD0bDLahFgiqpvf9MMLTzi22Kdci28EbJQYQiZatDI3aoiUJ6y0hVty/d13SoTN5dmi0 6MYLKvPEwRpaIllxUjDb8pPfdHzI0LaTVUizP5ryXKqwBbjpU27Sk/KfMY6DgdrfVYVHEJ DofuXtWrtxliufZSRUbvGq8CvnYy5ocfPl85PEi9JCvdiUt2F2jRPAAkX0KxFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681076140; 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=qb4/4AS/01vMB16Z83wUPm3KVzGEqCdNzyjShNk9qpI=; b=EIu6Tna3y+p/R3FapKDbOD7FULAIlMWFeVfwXF+v2FhJae+s95Q4l6ZnVRyvSsiRUD2k2O EfDjxtg276srxEpJE9vol9GbxF55Fkn7D2ld9AuM3CxMmQw+M7L5q6M9uqGTBGQsKAspk0 4EIrZlVl0o/4W8mQYeif6axhu20yhLQ1thushKLQbYhc3byVzlrvd3jO6zwsMFZFPn/yIL Yj2oW00uxF3SJGtE6YMR6pklndDzHAfyvZGMP5qgwiYBZWsMAXyhMAL8PkguRrxbZinhG5 zjubwG7U6w8MsmaPKtHUFUDP/4D2lpJwgLo69mq24OViP4OZG/hd2ffwnwjlFg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681076140; a=rsa-sha256; cv=none; b=AsgVaOcfoyxngPAww/QxLW550W06dP1xkrhfGkSyvRBfpaBHEDaFlZXTTGKc50FhYjbG0i djk1bJbSD32cH/MY4vPMXuut8bylVifHLGqUsIEAHPvKuLirQHJ7EL5eBcINchcxvcHczQ BWp9Q5Qr9kZ8xosSB70ymkxI6RkphSnPQ0Nitq17uv+tIpe0gjlRhmaoBf4M9izA7HyyDc Z2Fc83ZCYSyFVdLk61vVuV3D2gmWhpNjuh8U8JfSa9GhNRvbCjBXGmt7RYu9CiTWOZZE4g ZjOdaDpp/DU1W8EgL/EEjrU3nygEs6DUVPQ/6E/jja+OBYPxsueizaJSQgtxfw== 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 4PvllH3dWmzPkm; Sun, 9 Apr 2023 21:35:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 339LZd1x081959; Sun, 9 Apr 2023 21:35:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 339LZdg9081958; Sun, 9 Apr 2023 21:35:39 GMT (envelope-from git) Date: Sun, 9 Apr 2023 21:35:39 GMT Message-Id: <202304092135.339LZdg9081958@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dimitry Andric Subject: git: 6e9599a84652 - stable/13 - fifofs: ansify List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 6e9599a846521f58a46f218b91271b394dffb419 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=6e9599a846521f58a46f218b91271b394dffb419 commit 6e9599a846521f58a46f218b91271b394dffb419 Author: Mateusz Guzik AuthorDate: 2023-02-07 23:18:51 +0000 Commit: Dimitry Andric CommitDate: 2023-04-09 15:39:29 +0000 fifofs: ansify Reported by: clang 15 Sponsored by: Rubicon Communications, LLC ("Netgate") (cherry picked from commit ed40bc50dff06219baa251f1d238249624cb74ec) --- sys/fs/fifofs/fifo_vnops.c | 34 +++++----------------------------- 1 file changed, 5 insertions(+), 29 deletions(-) diff --git a/sys/fs/fifofs/fifo_vnops.c b/sys/fs/fifofs/fifo_vnops.c index 1b941620b080..2b57cf68be8c 100644 --- a/sys/fs/fifofs/fifo_vnops.c +++ b/sys/fs/fifofs/fifo_vnops.c @@ -127,14 +127,7 @@ fifo_cleanup(struct vnode *vp) */ /* ARGSUSED */ static int -fifo_open(ap) - struct vop_open_args /* { - struct vnode *a_vp; - int a_mode; - struct ucred *a_cred; - struct thread *a_td; - struct file *a_fp; - } */ *ap; +fifo_open(struct vop_open_args *ap) { struct vnode *vp; struct file *fp; @@ -269,13 +262,7 @@ fifo_open(ap) */ /* ARGSUSED */ static int -fifo_close(ap) - struct vop_close_args /* { - struct vnode *a_vp; - int a_fflag; - struct ucred *a_cred; - struct thread *a_td; - } */ *ap; +fifo_close(struct vop_close_args *ap) { struct vnode *vp; struct fifoinfo *fip; @@ -332,8 +319,7 @@ fifo_close(ap) * Print out internal contents of a fifo vnode. */ int -fifo_printinfo(vp) - struct vnode *vp; +fifo_printinfo(struct vnode *vp) { struct fifoinfo *fip = vp->v_fifoinfo; @@ -350,10 +336,7 @@ fifo_printinfo(vp) * Print out the contents of a fifo vnode. */ static int -fifo_print(ap) - struct vop_print_args /* { - struct vnode *a_vp; - } */ *ap; +fifo_print(struct vop_print_args *ap) { printf(" "); fifo_printinfo(ap->a_vp); @@ -366,14 +349,7 @@ fifo_print(ap) */ /* ARGSUSED */ static int -fifo_advlock(ap) - struct vop_advlock_args /* { - struct vnode *a_vp; - caddr_t a_id; - int a_op; - struct flock *a_fl; - int a_flags; - } */ *ap; +fifo_advlock(struct vop_advlock_args *ap) { if ((ap->a_flags & F_FLOCK) == 0)