Commit 9d2e400d authored by Mika Kukkonen's avatar Mika Kukkonen Committed by Linus Torvalds

[PATCH] sparse: fix remaining three non-ANSI warnings

  CHECK   fs/smbfs/smbiod.c
fs/smbfs/smbiod.c:68:25: warning: non-ANSI parameter list
  CHECK   drivers/isdn/tpam/tpam_crcpc.c
drivers/isdn/tpam/tpam_crcpc.c:57:15: warning: non-ANSI parameter list
  CHECK   drivers/scsi/aic7xxx/aic79xx_reg_print.c
drivers/scsi/aic7xxx/aic79xx_osm.h:791:19: warning: non-ANSI parameter list
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent fb921d69
...@@ -54,7 +54,7 @@ static void ap_hdlc_like_ctrl_char_list (u32 ctrl_char) { ...@@ -54,7 +54,7 @@ static void ap_hdlc_like_ctrl_char_list (u32 ctrl_char) {
} }
void init_CRC() { void init_CRC(void) {
ap_hdlc_like_ctrl_char_list(0xffffffff); ap_hdlc_like_ctrl_char_list(0xffffffff);
} }
......
...@@ -788,7 +788,7 @@ ahd_done_unlock(struct ahd_softc *ahd, unsigned long *flags) ...@@ -788,7 +788,7 @@ ahd_done_unlock(struct ahd_softc *ahd, unsigned long *flags)
} }
static __inline void static __inline void
ahd_list_lockinit() ahd_list_lockinit(void)
{ {
spin_lock_init(&ahd_list_spinlock); spin_lock_init(&ahd_list_spinlock);
} }
......
...@@ -65,7 +65,7 @@ void smbiod_wake_up(void) ...@@ -65,7 +65,7 @@ void smbiod_wake_up(void)
/* /*
* start smbiod if none is running * start smbiod if none is running
*/ */
static int smbiod_start() static int smbiod_start(void)
{ {
pid_t pid; pid_t pid;
if (smbiod_state != SMBIOD_DEAD) if (smbiod_state != SMBIOD_DEAD)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment