* [PATCH 00/13] trivial: Remove unnecessary casts of private_data
@ 2010-09-05 1:52 Joe Perches
2010-09-05 1:52 ` [PATCH 05/13] drivers/scsi: " Joe Perches
0 siblings, 1 reply; 3+ messages in thread
From: Joe Perches @ 2010-09-05 1:52 UTC (permalink / raw)
To: Jiri Kosina
Cc: alsa-devel, David Airlie, Heiko Carstens, dri-devel,
Jaroslav Kysela, J. Bruce Fields, Adaptec OEM Raid Solutions,
Wey-Yi Guy, Sean Hefty, devel, linux-s390, Pekka Savola (ipv6),
linux-scsi, linux-rdma, James Morris, Intel Linux Wireless,
Neil Brown, Ingo Molnar, Doug Gilbert, Alexey Kuznetsov,
Roland Dreier, Hal Rosenstock, Trond Myklebust, ecryptfs-devel,
John
Resend removal of remaining casts of private_data
Joe Perches (13):
drivers/gpu/drm: Remove unnecessary casts of private_data
drivers/infiniband: Remove unnecessary casts of private_data
drivers/net/wireless/iwlwifi: Remove unnecessary casts of private_data
drivers/s390: Remove unnecessary casts of private_data
drivers/scsi: Remove unnecessary casts of private_data
drivers/staging/lirc: Remove unnecessary casts of private_data
fs/ecryptfs: Remove unnecessary casts of private_data
fs/seq_file.c: Remove unnecessary casts of private_data
kernel/pm_qos_params.c: Remove unnecessary casts of private_data
kernel/trace: Remove unnecessary casts of private_data
net/ipv4: Remove unnecessary casts of private_data
net/sunrpc/rpc_pipe.c: Remove unnecessary casts of private_data
sound: Remove unnecessary casts of private_data
drivers/gpu/drm/radeon/radeon_ttm.c | 2 +-
drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c | 2 +-
drivers/gpu/drm/vmwgfx/vmwgfx_ttm_glue.c | 2 +-
drivers/infiniband/hw/qib/qib_file_ops.c | 4 ++--
drivers/net/wireless/iwlwifi/iwl-agn-debugfs.c | 2 +-
drivers/net/wireless/iwlwifi/iwl-debugfs.c | 4 ++--
drivers/s390/char/vmcp.c | 6 +++---
drivers/scsi/aacraid/linit.c | 2 +-
drivers/scsi/sg.c | 2 +-
drivers/staging/lirc/lirc_imon.c | 4 ++--
drivers/staging/lirc/lirc_zilog.c | 10 +++++-----
fs/ecryptfs/ecryptfs_kernel.h | 2 +-
fs/seq_file.c | 6 +++---
kernel/pm_qos_params.c | 2 +-
kernel/trace/ftrace.c | 4 ++--
kernel/trace/trace.c | 2 +-
net/ipv4/raw.c | 2 +-
net/sunrpc/rpc_pipe.c | 4 ++--
sound/core/oss/mixer_oss.c | 22 +++++++++++-----------
sound/core/pcm.c | 3 +--
sound/drivers/virmidi.c | 2 +-
sound/i2c/other/ak4xxx-adda.c | 2 +-
sound/isa/ad1816a/ad1816a.c | 2 +-
sound/isa/azt2320.c | 2 +-
sound/isa/gus/gusmax.c | 4 ++--
sound/isa/sb/sb8.c | 2 +-
sound/oss/au1550_ac97.c | 18 +++++++++---------
sound/pci/emu10k1/emumpu401.c | 2 +-
sound/pci/ice1712/pontis.c | 6 +++---
sound/pci/ice1712/prodigy192.c | 2 +-
sound/pci/rme96.c | 8 ++++----
sound/pci/rme9652/hdsp.c | 8 ++++----
32 files changed, 72 insertions(+), 73 deletions(-)
--
1.7.2.19.g9a302
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 05/13] drivers/scsi: Remove unnecessary casts of private_data
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-23 11:45 ` Jiri Kosina
0 siblings, 1 reply; 3+ messages in thread
From: Joe Perches @ 2010-09-05 1:52 UTC (permalink / raw)
To: Jiri Kosina
Cc: Adaptec OEM Raid Solutions, James E.J. Bottomley, Doug Gilbert,
linux-scsi, linux-kernel
Signed-off-by: Joe Perches <joe@perches.com>
---
drivers/scsi/aacraid/linit.c | 2 +-
drivers/scsi/sg.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c
index cad6f9a..aa40036 100644
--- a/drivers/scsi/aacraid/linit.c
+++ b/drivers/scsi/aacraid/linit.c
@@ -770,7 +770,7 @@ static long aac_compat_cfg_ioctl(struct file *file, unsigned cmd, unsigned long
{
if (!capable(CAP_SYS_RAWIO))
return -EPERM;
- return aac_compat_do_ioctl((struct aac_dev *)file->private_data, cmd, arg);
+ return aac_compat_do_ioctl(file->private_data, cmd, arg);
}
#endif
diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c
index 78d6163..6efa8dd 100644
--- a/drivers/scsi/sg.c
+++ b/drivers/scsi/sg.c
@@ -210,7 +210,7 @@ static void sg_put_dev(Sg_device *sdp);
static int sg_allow_access(struct file *filp, unsigned char *cmd)
{
- struct sg_fd *sfp = (struct sg_fd *)filp->private_data;
+ struct sg_fd *sfp = filp->private_data;
if (sfp->parentdp->device->type == TYPE_SCANNER)
return 0;
--
1.7.2.19.g9a302
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 05/13] drivers/scsi: Remove unnecessary casts of private_data
2010-09-05 1:52 ` [PATCH 05/13] drivers/scsi: " Joe Perches
@ 2010-09-23 11:45 ` Jiri Kosina
0 siblings, 0 replies; 3+ messages in thread
From: Jiri Kosina @ 2010-09-23 11:45 UTC (permalink / raw)
To: Joe Perches
Cc: Adaptec OEM Raid Solutions, James E.J. Bottomley, Doug Gilbert,
linux-scsi, linux-kernel
On Sat, 4 Sep 2010, Joe Perches wrote:
> Signed-off-by: Joe Perches <joe@perches.com>
> ---
> drivers/scsi/aacraid/linit.c | 2 +-
> drivers/scsi/sg.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c
> index cad6f9a..aa40036 100644
> --- a/drivers/scsi/aacraid/linit.c
> +++ b/drivers/scsi/aacraid/linit.c
> @@ -770,7 +770,7 @@ static long aac_compat_cfg_ioctl(struct file *file, unsigned cmd, unsigned long
> {
> if (!capable(CAP_SYS_RAWIO))
> return -EPERM;
> - return aac_compat_do_ioctl((struct aac_dev *)file->private_data, cmd, arg);
> + return aac_compat_do_ioctl(file->private_data, cmd, arg);
> }
> #endif
>
> diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c
> index 78d6163..6efa8dd 100644
> --- a/drivers/scsi/sg.c
> +++ b/drivers/scsi/sg.c
> @@ -210,7 +210,7 @@ static void sg_put_dev(Sg_device *sdp);
>
> static int sg_allow_access(struct file *filp, unsigned char *cmd)
> {
> - struct sg_fd *sfp = (struct sg_fd *)filp->private_data;
> + struct sg_fd *sfp = filp->private_data;
>
> if (sfp->parentdp->device->type == TYPE_SCANNER)
> return 0;
This patch isn't present in linux-next as of today. Applying to my tree
now.
--
Jiri Kosina
SUSE Labs, Novell Inc.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-09-23 11:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-05 1:52 [PATCH 00/13] trivial: Remove unnecessary casts of private_data Joe Perches
2010-09-05 1:52 ` [PATCH 05/13] drivers/scsi: " Joe Perches
2010-09-23 11:45 ` Jiri Kosina
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).