Re: [PATCH 09/36] drivers/infiniband: Remove unnecessary casts ofprivate_data

From: Jiri Kosina
Date: Tue Jul 20 2010 - 11:24:26 EST


On Tue, 13 Jul 2010, Ralph Campbell wrote:

> Acked-by: Ralph Campbell <ralph.campbell@xxxxxxxxxx>
>
> On Mon, 2010-07-12 at 13:50 -0700, Joe Perches wrote:
> > Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
> > ---
> > drivers/infiniband/hw/ipath/ipath_file_ops.c | 2 +-
> > 1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/drivers/infiniband/hw/ipath/ipath_file_ops.c b/drivers/infiniband/hw/ipath/ipath_file_ops.c
> > index 9c5c66d..65eb892 100644
> > --- a/drivers/infiniband/hw/ipath/ipath_file_ops.c
> > +++ b/drivers/infiniband/hw/ipath/ipath_file_ops.c
> > @@ -2055,7 +2055,7 @@ static int ipath_close(struct inode *in, struct file *fp)
> >
> > mutex_lock(&ipath_mutex);
> >
> > - fd = (struct ipath_filedata *) fp->private_data;
> > + fd = fp->private_data;
> > fp->private_data = NULL;
> > pd = fd->pd;
> > if (!pd) {

As the patch is not present in linux-next as of today, I have applied it.
Thanks,

--
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/