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] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.00.1009231338300.26813@pobox.suse.cz>
Date:	Thu, 23 Sep 2010 13:38:46 +0200 (CEST)
From:	Jiri Kosina <jkosina@...e.cz>
To:	Ralph Campbell <ralph.campbell@...gic.com>
Cc:	Joe Perches <joe@...ches.com>, Roland Dreier <rolandd@...co.com>,
	Sean Hefty <sean.hefty@...el.com>,
	Hal Rosenstock <hal.rosenstock@...il.com>,
	"linux-rdma@...r.kernel.org" <linux-rdma@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 02/13] drivers/infiniband: Remove unnecessary casts of
 private_data

On Tue, 7 Sep 2010, Ralph Campbell wrote:

> Acked-by: Ralph Campbell <ralph.campbell@...gic.com>

Applied, thanks.

> > Signed-off-by: Joe Perches <joe@...ches.com>
> > ---
> >  drivers/infiniband/hw/qib/qib_file_ops.c |    4 ++--
> >  1 files changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/drivers/infiniband/hw/qib/qib_file_ops.c b/drivers/infiniband/hw/qib/qib_file_ops.c
> > index 6b11645..cef5d67 100644
> > --- a/drivers/infiniband/hw/qib/qib_file_ops.c
> > +++ b/drivers/infiniband/hw/qib/qib_file_ops.c
> > @@ -1722,7 +1722,7 @@ static int qib_close(struct inode *in, struct file *fp)
> >  
> >  	mutex_lock(&qib_mutex);
> >  
> > -	fd = (struct qib_filedata *) fp->private_data;
> > +	fd = fp->private_data;
> >  	fp->private_data = NULL;
> >  	rcd = fd->rcd;
> >  	if (!rcd) {
> > @@ -1808,7 +1808,7 @@ static int qib_ctxt_info(struct file *fp, struct qib_ctxt_info __user *uinfo)
> >  	struct qib_ctxtdata *rcd = ctxt_fp(fp);
> >  	struct qib_filedata *fd;
> >  
> > -	fd = (struct qib_filedata *) fp->private_data;
> > +	fd = fp->private_data;
> >  
> >  	info.num_active = qib_count_active_units();
> >  	info.unit = rcd->dd->unit;

-- 
Jiri Kosina
SUSE Labs, Novell Inc.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ