Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206784
b: refs/heads/master
c: c89db7b
h: refs/heads/master
v: v3
  • Loading branch information
Stefan Richter committed Jul 27, 2010
1 parent 0226ca6 commit ca3a47a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 424d66cedae8bebb00fdb917fc8430f7b8a655cf
refs/heads/master: c89db7b8bc88d8288dcfbe7a885b950d2560d564
8 changes: 4 additions & 4 deletions trunk/drivers/firewire/nosy.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ struct packet_buffer {

struct pcilynx {
struct pci_dev *pci_device;
unsigned char *registers;
__iomem char *registers;

struct pcl *rcv_start_pcl, *rcv_pcl;
u32 *rcv_buffer;
Expand Down Expand Up @@ -163,7 +163,7 @@ packet_buffer_destroy(struct packet_buffer *buffer)
}

static int
packet_buffer_get(struct client *client, void *data, size_t user_length)
packet_buffer_get(struct client *client, char __user *data, size_t user_length)
{
struct packet_buffer *buffer = &client->buffer;
size_t length;
Expand Down Expand Up @@ -362,7 +362,7 @@ nosy_poll(struct file *file, poll_table *pt)
}

static ssize_t
nosy_read(struct file *file, char *buffer, size_t count, loff_t *offset)
nosy_read(struct file *file, char __user *buffer, size_t count, loff_t *offset)
{
struct client *client = file->private_data;

Expand All @@ -383,7 +383,7 @@ nosy_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
stats.lost_packet_count = client->buffer.lost_packet_count;
spin_unlock_irq(client_list_lock);

if (copy_to_user((void *) arg, &stats, sizeof stats))
if (copy_to_user((void __user *) arg, &stats, sizeof stats))
return -EFAULT;
else
return 0;
Expand Down

0 comments on commit ca3a47a

Please sign in to comment.