lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <76735081-4d9a-9aa5-f8bf-0c86f2e3a8db@meizu.com>
Date:   Thu, 2 Jun 2022 09:06:47 +0800
From:   baihaowen <baihaowen@...zu.com>
To:     Jan Harkes <jaharkes@...cmu.edu>, <coda@...cmu.edu>
CC:     <codalist@...a.cs.cmu.edu>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] coda: remove unused variable

在 2022/6/1 下午3:58, Haowen Bai 写道:
> The variable insize is initialized but never used otherwise.
>
> Signed-off-by: Haowen Bai <baihaowen@...zu.com>
> ---
>  fs/coda/upcall.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/fs/coda/upcall.c b/fs/coda/upcall.c
> index 59f6cfd06f96..c214b424426d 100644
> --- a/fs/coda/upcall.c
> +++ b/fs/coda/upcall.c
> @@ -477,10 +477,9 @@ int venus_pioctl(struct super_block *sb, struct CodaFid *fid,
>  {
>          union inputArgs *inp;
>          union outputArgs *outp;  
> -	int insize, outsize, error;
> +	int outsize, error;
>  	int iocsize;
>  
> -	insize = VC_MAXMSGSIZE;
>  	UPARG(CODA_IOCTL);
>  
>          /* build packet for Venus */
Sorry, ignore this patch.

-- 
Haowen Bai

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ