Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206734
b: refs/heads/master
c: dd378c2
h: refs/heads/master
v: v3
  • Loading branch information
Arnd Bergmann authored and Roland Dreier committed Jul 21, 2010
1 parent 49e3ed4 commit ff3a189
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 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: cc323b2aaa3921c4eeec309ff64256b0c43ca752
refs/heads/master: dd378c2102cf4bf81144db70771d09ecead2cd15
18 changes: 9 additions & 9 deletions trunk/drivers/infiniband/hw/qib/qib_fs.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ static ssize_t driver_names_read(struct file *file, char __user *buf,
}

static const struct file_operations driver_ops[] = {
{ .read = driver_stats_read, },
{ .read = driver_names_read, },
{ .read = driver_stats_read, .llseek = generic_file_llseek, },
{ .read = driver_names_read, .llseek = generic_file_llseek, },
};

/* read the per-device counters */
Expand Down Expand Up @@ -164,8 +164,8 @@ static ssize_t dev_names_read(struct file *file, char __user *buf,
}

static const struct file_operations cntr_ops[] = {
{ .read = dev_counters_read, },
{ .read = dev_names_read, },
{ .read = dev_counters_read, .llseek = generic_file_llseek, },
{ .read = dev_names_read, .llseek = generic_file_llseek, },
};

/*
Expand Down Expand Up @@ -210,9 +210,9 @@ static ssize_t portcntrs_2_read(struct file *file, char __user *buf,
}

static const struct file_operations portcntr_ops[] = {
{ .read = portnames_read, },
{ .read = portcntrs_1_read, },
{ .read = portcntrs_2_read, },
{ .read = portnames_read, .llseek = generic_file_llseek, },
{ .read = portcntrs_1_read, .llseek = generic_file_llseek, },
{ .read = portcntrs_2_read, .llseek = generic_file_llseek, },
};

/*
Expand Down Expand Up @@ -261,8 +261,8 @@ static ssize_t qsfp_2_read(struct file *file, char __user *buf,
}

static const struct file_operations qsfp_ops[] = {
{ .read = qsfp_1_read, },
{ .read = qsfp_2_read, },
{ .read = qsfp_1_read, .llseek = generic_file_llseek, },
{ .read = qsfp_2_read, .llseek = generic_file_llseek, },
};

static ssize_t flash_read(struct file *file, char __user *buf,
Expand Down

0 comments on commit ff3a189

Please sign in to comment.