From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-x243.google.com (mail-oi0-x243.google.com [IPv6:2607:f8b0:4003:c06::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3y76C82nBVzDr5H for ; Thu, 5 Oct 2017 19:59:15 +1100 (AEDT) Received: by mail-oi0-x243.google.com with SMTP id f3so7747266oia.2 for ; Thu, 05 Oct 2017 01:59:15 -0700 (PDT) MIME-Version: 1.0 Sender: arndbergmann@gmail.com In-Reply-To: <1507159627-127660-11-git-send-email-keescook@chromium.org> References: <1507159627-127660-1-git-send-email-keescook@chromium.org> <1507159627-127660-11-git-send-email-keescook@chromium.org> From: Arnd Bergmann Date: Thu, 5 Oct 2017 10:59:12 +0200 Message-ID: Subject: Re: [PATCH 10/13] timer: Remove expires and data arguments from DEFINE_TIMER To: Kees Cook Cc: Thomas Gleixner , Andrew Morton , Benjamin Herrenschmidt , Chris Metcalf , Geert Uytterhoeven , Greg Kroah-Hartman , Guenter Roeck , Harish Patil , Heiko Carstens , "James E.J. Bottomley" , John Stultz , Julian Wiedmann , Kalle Valo , Lai Jiangshan , Len Brown , Manish Chopra , Mark Gross , "Martin K. Petersen" , Martin Schwidefsky , Michael Ellerman , Michael Reed , Networking , Oleg Nesterov , Paul Mackerras , Pavel Machek , Petr Mladek , "Rafael J. Wysocki" , Ralf Baechle , Sebastian Reichel , Stefan Richter , Stephen Boyd , Sudip Mukherjee , Tejun Heo , Ursula Braun , Viresh Kumar , Wim Van Sebroeck , linux1394-devel@lists.sourceforge.net, "open list:RALINK MIPS ARCHITECTURE" , linux-pm@vger.kernel.org, linuxppc-dev , linux-s390 , linux-scsi , linux-watchdog@vger.kernel.org, linux-wireless , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, Oct 5, 2017 at 1:27 AM, Kees Cook wrote: > Drop the arguments from the macro and adjust all callers with the > following script: > > perl -pi -e 's/DEFINE_TIMER\((.*), 0, 0\);/DEFINE_TIMER($1);/g;' \ > $(git grep DEFINE_TIMER | cut -d: -f1 | sort -u | grep -v timer.h) > > Signed-off-by: Kees Cook > Acked-by: Geert Uytterhoeven # for m68k parts I was slightly worried about this large-scale rework, since it might conflict with new users of DEFINE_TIMER(), causing bisection problems. However, a little research showed that we have only added two users in the past five years, so this is not a real concern. for arch/arm, drivers/char and overall: Acked-by: Arnd Bergmann