diff options
author | Dmitry Torokhov <dtor@insightbb.com> | 2007-05-08 01:31:11 -0400 |
---|---|---|
committer | Dmitry Torokhov <dtor@insightbb.com> | 2007-05-08 01:31:11 -0400 |
commit | 334d0dd8b660557608142f0f77abc6812b48f08b (patch) | |
tree | 9393a9aa099d7d42deda5f9f5054796c0c769be7 /drivers/zorro/proc.c | |
parent | 3f07d8796262f6aee135c8dd9a91210da9f888e4 (diff) | |
parent | 5b94f675f57e4ff16c8fda09088d7480a84dcd91 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'drivers/zorro/proc.c')
-rw-r--r-- | drivers/zorro/proc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/zorro/proc.c b/drivers/zorro/proc.c index b3ce8859a586..2ce4cebc31d9 100644 --- a/drivers/zorro/proc.c +++ b/drivers/zorro/proc.c | |||
@@ -90,8 +90,9 @@ get_zorro_dev_info(char *buf, char **start, off_t pos, int count) | |||
90 | for (slot = cnt = 0; slot < zorro_num_autocon && count > cnt; slot++) { | 90 | for (slot = cnt = 0; slot < zorro_num_autocon && count > cnt; slot++) { |
91 | struct zorro_dev *z = &zorro_autocon[slot]; | 91 | struct zorro_dev *z = &zorro_autocon[slot]; |
92 | len = sprintf(buf, "%02x\t%08x\t%08lx\t%08lx\t%02x\n", slot, | 92 | len = sprintf(buf, "%02x\t%08x\t%08lx\t%08lx\t%02x\n", slot, |
93 | z->id, zorro_resource_start(z), | 93 | z->id, (unsigned long)zorro_resource_start(z), |
94 | zorro_resource_len(z), z->rom.er_Type); | 94 | (unsigned long)zorro_resource_len(z), |
95 | z->rom.er_Type); | ||
95 | at += len; | 96 | at += len; |
96 | if (at >= pos) { | 97 | if (at >= pos) { |
97 | if (!*start) { | 98 | if (!*start) { |