Skip to contentSkip to conversation

m68k: macboing: Fix missed timer callback assignment

PATCH New Kees Cook 1 participant 1 message Nov 23, 2017

Subsystems (2)
lore
Share & tools
lore

Kees Cook

author
#0 lore raw

PATCH 1/1 m68k: macboing: Fix missed timer callback assignment

This fixes a missed function prototype callback from the timer conversions.

---
0-day just noticed this missed function prototype conversion.

---
 arch/m68k/mac/macboing.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/m68k/mac/macboing.c +2 -2
index 135a87bbd1a2..388780797f7d 100644
@@ -50,7 +50,7 @@ static unsigned long mac_bell_phasepersample;
 static void mac_init_asc( void );
 static void mac_nosound(struct timer_list *);
 static void mac_quadra_start_bell( unsigned int, unsigned int, unsigned int );
-static void mac_quadra_ring_bell( unsigned long );
+static void mac_quadra_ring_bell(struct timer_list *);
 static void mac_av_start_bell( unsigned int, unsigned int, unsigned int );
 static void ( *mac_special_bell )( unsigned int, unsigned int, unsigned int );
 
@@ -270,7 +270,7 @@ static void mac_quadra_start_bell( unsigned int freq, unsigned int length, unsig
  * already load the wave table, or at least call this one...
  * This piece keeps reloading the wave table until done.
  */
-static void mac_quadra_ring_bell( unsigned long ignored )
+static void mac_quadra_ring_bell(struct timer_list *unused)
 {
 	int	i, count = mac_asc_samplespersec / HZ;
 	unsigned long flags;
Signature · 6 lines
2.7.4


-- 
Kees Cook
Pixel Security