aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/char/tape_char.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2007-02-05 15:16:47 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2007-02-05 15:16:47 -0500
commit2b67fc46061b2171fb8fbb55d1ac717abd533569 (patch)
treed4e9db6e7d51d2fc3cf782bf11e24ed7fbc544a0 /drivers/s390/char/tape_char.c
parent55dff5224abeb734b12c1661c34ccf534955bee7 (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.c8
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 */
140ssize_t 140static ssize_t
141tapechar_read(struct file *filp, char __user *data, size_t count, loff_t *ppos) 141tapechar_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 */
204ssize_t 204static ssize_t
205tapechar_write(struct file *filp, const char __user *data, size_t count, loff_t *ppos) 205tapechar_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 */
294int 294static int
295tapechar_open (struct inode *inode, struct file *filp) 295tapechar_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
329int 329static int
330tapechar_release(struct inode *inode, struct file *filp) 330tapechar_release(struct inode *inode, struct file *filp)
331{ 331{
332 struct tape_device *device; 332 struct tape_device *device;