From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753391AbdKWWTH (ORCPT ); Thu, 23 Nov 2017 17:19:07 -0500 Received: from mail-pf0-f194.google.com ([209.85.192.194]:39861 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753360AbdKWWTG (ORCPT ); Thu, 23 Nov 2017 17:19:06 -0500 X-Google-Smtp-Source: AGs4zMb8s3E2uiD4m9IRIVf9/bLT75OJCaLdhxxfceED0qMibo0OdFLfy3osPq4DJdu26ADJRBn0HA== Date: Thu, 23 Nov 2017 14:19:02 -0800 From: Kees Cook To: Thomas Gleixner Cc: linux-kernel@vger.kernel.org, kbuild test robot Subject: [PATCH] m68k: macboing: Fix missed timer callback assignment Message-ID: <20171123221902.GA75727@beast> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This fixes a missed function prototype callback from the timer conversions. Reported-by: kbuild test robot Signed-off-by: Kees Cook --- 0-day just noticed this missed function prototype conversion. --- arch/m68k/mac/macboing.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/m68k/mac/macboing.c b/arch/m68k/mac/macboing.c index 135a87bbd1a2..388780797f7d 100644 --- a/arch/m68k/mac/macboing.c +++ b/arch/m68k/mac/macboing.c @@ -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; -- 2.7.4 -- Kees Cook Pixel Security