All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ralph Campbell <ralph.campbell-h88ZbnxC6KDQT0dZR+AlfA@public.gmane.org>
To: Joe Perches <joe-6d6DIl74uiNBDgjK7y7TUQ@public.gmane.org>
Cc: Jiri Kosina <trivial-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Roland Dreier <rolandd-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>,
	Sean Hefty <sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	Hal Rosenstock
	<hal.rosenstock-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	"linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH 02/13] drivers/infiniband: Remove unnecessary casts of private_data
Date: Tue, 7 Sep 2010 11:24:29 -0700	[thread overview]
Message-ID: <1283883869.32259.13.camel@chromite.mv.qlogic.com> (raw)
In-Reply-To: <a13edeb14cc926b71e21daff892acbe2d76313ab.1283650107.git.joe-6d6DIl74uiNBDgjK7y7TUQ@public.gmane.org>

Acked-by: Ralph Campbell <ralph.campbell-h88ZbnxC6KDQT0dZR+AlfA@public.gmane.org>

On Sat, 2010-09-04 at 18:52 -0700, Joe Perches wrote:
> Signed-off-by: Joe Perches <joe-6d6DIl74uiNBDgjK7y7TUQ@public.gmane.org>
> ---
>  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;


--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: Ralph Campbell <ralph.campbell@qlogic.com>
To: Joe Perches <joe@perches.com>
Cc: Jiri Kosina <trivial@kernel.org>,
	Roland Dreier <rolandd@cisco.com>,
	Sean Hefty <sean.hefty@intel.com>,
	Hal Rosenstock <hal.rosenstock@gmail.com>,
	"linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 02/13] drivers/infiniband: Remove unnecessary casts of private_data
Date: Tue, 7 Sep 2010 11:24:29 -0700	[thread overview]
Message-ID: <1283883869.32259.13.camel@chromite.mv.qlogic.com> (raw)
In-Reply-To: <a13edeb14cc926b71e21daff892acbe2d76313ab.1283650107.git.joe@perches.com>

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

On Sat, 2010-09-04 at 18:52 -0700, Joe Perches wrote:
> Signed-off-by: Joe Perches <joe@perches.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;



  parent reply	other threads:[~2010-09-07 18:24 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-05  1:52 [PATCH 00/13] trivial: Remove unnecessary casts of private_data Joe Perches
2010-09-05  1:52 ` Joe Perches
2010-09-05  1:52 ` [PATCH 01/13] drivers/gpu/drm: " Joe Perches
2010-09-05  1:52   ` Joe Perches
2010-09-23 11:36   ` Jiri Kosina
2010-09-05  1:52 ` [PATCH 02/13] drivers/infiniband: " Joe Perches
     [not found]   ` <a13edeb14cc926b71e21daff892acbe2d76313ab.1283650107.git.joe-6d6DIl74uiNBDgjK7y7TUQ@public.gmane.org>
2010-09-07 18:24     ` Ralph Campbell [this message]
2010-09-07 18:24       ` Ralph Campbell
     [not found]       ` <1283883869.32259.13.camel-/vjeY7uYZjrPXfVEPVhPGq6RkeBMCJyt@public.gmane.org>
2010-09-23 11:38         ` Jiri Kosina
2010-09-23 11:38           ` Jiri Kosina
2010-10-06 21:44     ` Roland Dreier
2010-10-06 21:44       ` Roland Dreier
2010-09-05  1:52 ` [PATCH 03/13] drivers/net/wireless/iwlwifi: " Joe Perches
2010-09-05  1:52 ` [PATCH 04/13] drivers/s390: " Joe Perches
2010-09-23 11:42   ` Jiri Kosina
2010-09-05  1:52 ` [PATCH 05/13] drivers/scsi: " Joe Perches
2010-09-23 11:45   ` Jiri Kosina
2010-09-05  1:52 ` [PATCH 06/13] drivers/staging/lirc: " Joe Perches
2010-09-05  1:52 ` [PATCH 07/13] fs/ecryptfs: " Joe Perches
2010-09-23 11:31   ` Jiri Kosina
2010-09-05  1:52 ` [PATCH 08/13] fs/seq_file.c: " Joe Perches
2010-09-23 11:29   ` Jiri Kosina
2010-09-05  1:52 ` [PATCH 09/13] kernel/pm_qos_params.c: " Joe Perches
2010-09-23 11:34   ` Jiri Kosina
2010-09-05  1:52 ` [PATCH 10/13] kernel/trace: " Joe Perches
2010-09-23 11:37   ` Jiri Kosina
2010-09-05  1:52 ` [PATCH 11/13] net/ipv4: " Joe Perches
2010-09-07  1:30   ` David Miller
2010-09-07  1:47     ` David Miller
2010-09-07  5:01       ` [PATCH net-next] include/net/raw.h: Convert raw_seq_private macro to inline Joe Perches
2010-09-07 15:37         ` Nick Bowler
2010-09-07 15:55           ` [PATCH V2 " Joe Perches
2010-09-08 20:42             ` David Miller
2010-09-05  1:52 ` [PATCH 12/13] net/sunrpc/rpc_pipe.c: Remove unnecessary casts of private_data Joe Perches
2010-09-23 11:40   ` Jiri Kosina
2010-09-23 11:40     ` Jiri Kosina
2010-09-05  1:52 ` [PATCH 13/13] sound: " Joe Perches
2010-09-07  6:10   ` Takashi Iwai
2010-09-07  6:10     ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1283883869.32259.13.camel@chromite.mv.qlogic.com \
    --to=ralph.campbell-h88zbnxc6kdqt0dzr+alfa@public.gmane.org \
    --cc=hal.rosenstock-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=joe-6d6DIl74uiNBDgjK7y7TUQ@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=rolandd-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org \
    --cc=sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=trivial-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.