[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49DDC50A.4070707@fastmail.fm>
Date: Thu, 09 Apr 2009 10:51:06 +0100
From: Jack Stone <jwjstone@...tmail.fm>
To: Bert Wesarg <bert.wesarg@...glemail.com>
CC: linux-kernel@...r.kernel.org, jeff@...zik.org,
kernel-janitors@...r.kernel.org, sfrench@...ba.org
Subject: Re: [PATCH 06/56] cifs: Remove void casts
Sorry I CCd the wrong patch. Here is the corrected version.
Thanks,
Jack
Jack Stone wrote:
> Fixed patch
>
> Thanks
>
> Jack
>
> --
>
> cifs: Remove void casts
>
> From: Jack Stone <jwjstone@...tmail.fm>
>
> Remove uneeded void casts
>
> Signed-Off-By: Jack Stone <jwjstone@...tmail.fm>
> ---
>
> fs/cifs/transport.c | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/fs/cifs/transport.c b/fs/cifs/transport.c
> index 0ad3e2d..86191b0 100644
> --- a/fs/cifs/transport.c
> +++ b/fs/cifs/transport.c
> @@ -111,8 +111,7 @@ AllocOplockQEntry(struct inode *pinode, __u16 fid,
> struct cifsTconInfo *tcon)
> cERROR(1, ("Null parms passed to AllocOplockQEntry"));
> return NULL;
> }
> - temp = (struct oplock_q_entry *) kmem_cache_alloc(cifs_oplock_cachep,
> - GFP_KERNEL);
> + temp = kmem_cache_alloc(cifs_oplock_cachep, GFP_KERNEL);
> if (temp == NULL)
> return temp;
> else {
> --
> To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
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