diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2007-02-05 15:16:47 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-02-05 15:16:47 -0500 |
commit | 2b67fc46061b2171fb8fbb55d1ac717abd533569 (patch) | |
tree | d4e9db6e7d51d2fc3cf782bf11e24ed7fbc544a0 /drivers/s390/char/tape_char.c | |
parent | 55dff5224abeb734b12c1661c34ccf534955bee7 (diff) |
[S390] Get rid of a lot of sparse warnings.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/char/tape_char.c')
-rw-r--r-- | drivers/s390/char/tape_char.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/s390/char/tape_char.c b/drivers/s390/char/tape_char.c index 31198c8f2718..fb65cf05d4de 100644 --- a/drivers/s390/char/tape_char.c +++ b/drivers/s390/char/tape_char.c | |||
@@ -137,7 +137,7 @@ tapechar_check_idalbuffer(struct tape_device *device, size_t block_size) | |||
137 | /* | 137 | /* |
138 | * Tape device read function | 138 | * Tape device read function |
139 | */ | 139 | */ |
140 | ssize_t | 140 | static ssize_t |
141 | tapechar_read(struct file *filp, char __user *data, size_t count, loff_t *ppos) | 141 | tapechar_read(struct file *filp, char __user *data, size_t count, loff_t *ppos) |
142 | { | 142 | { |
143 | struct tape_device *device; | 143 | struct tape_device *device; |
@@ -201,7 +201,7 @@ tapechar_read(struct file *filp, char __user *data, size_t count, loff_t *ppos) | |||
201 | /* | 201 | /* |
202 | * Tape device write function | 202 | * Tape device write function |
203 | */ | 203 | */ |
204 | ssize_t | 204 | static ssize_t |
205 | tapechar_write(struct file *filp, const char __user *data, size_t count, loff_t *ppos) | 205 | tapechar_write(struct file *filp, const char __user *data, size_t count, loff_t *ppos) |
206 | { | 206 | { |
207 | struct tape_device *device; | 207 | struct tape_device *device; |
@@ -291,7 +291,7 @@ tapechar_write(struct file *filp, const char __user *data, size_t count, loff_t | |||
291 | /* | 291 | /* |
292 | * Character frontend tape device open function. | 292 | * Character frontend tape device open function. |
293 | */ | 293 | */ |
294 | int | 294 | static int |
295 | tapechar_open (struct inode *inode, struct file *filp) | 295 | tapechar_open (struct inode *inode, struct file *filp) |
296 | { | 296 | { |
297 | struct tape_device *device; | 297 | struct tape_device *device; |
@@ -326,7 +326,7 @@ tapechar_open (struct inode *inode, struct file *filp) | |||
326 | * Character frontend tape device release function. | 326 | * Character frontend tape device release function. |
327 | */ | 327 | */ |
328 | 328 | ||
329 | int | 329 | static int |
330 | tapechar_release(struct inode *inode, struct file *filp) | 330 | tapechar_release(struct inode *inode, struct file *filp) |
331 | { | 331 | { |
332 | struct tape_device *device; | 332 | struct tape_device *device; |