From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp.codeaurora.org ([198.145.11.231]:42838 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932209AbbAGRyD (ORCPT ); Wed, 7 Jan 2015 12:54:03 -0500 From: Kalle Valo To: Julia Lawall Cc: Solomon Peachy , kernel-janitors@vger.kernel.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 8/27] wireless: cw1200: Use setup_timer References: <1419604558-29743-1-git-send-email-Julia.Lawall@lip6.fr> <1419604558-29743-7-git-send-email-Julia.Lawall@lip6.fr> Date: Wed, 07 Jan 2015 19:53:57 +0200 In-Reply-To: <1419604558-29743-7-git-send-email-Julia.Lawall@lip6.fr> (Julia Lawall's message of "Fri, 26 Dec 2014 15:35:37 +0100") Message-ID: <87fvbmqxxm.fsf@kamboji.qca.qualcomm.com> (sfid-20150107_185444_121737_0C851AF5) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-wireless-owner@vger.kernel.org List-ID: Julia Lawall writes: > Convert a call to init_timer and accompanying intializations of > the timer's data and function fields to a call to setup_timer. > > A simplified version of the semantic match that fixes this problem is as > follows: (http://coccinelle.lip6.fr/) > > // > @@ > expression t,f,d; > @@ > > -init_timer(&t); > +setup_timer(&t,f,d); > -t.data = d; > -t.function = f; > // > > Signed-off-by: Julia Lawall Thanks, I applied the wireless-drivers patches below to wireless-drivers-next.git. e4a1c3f88e65 mwifiex: 11n_rxreorder: Use setup_timer c6c33e772407 mwifiex: main: Use setup_timer 99a1b74395a5 orinoco_usb: Use setup_timer 1a94ace406ad iwl3945: Use setup_timer af68b87f7211 iwl4965: Use setup_timer 0be01bf29721 cw1200: queue: Use setup_timer dabefea6937d cw1200: main: Use setup_timer 983988ec0a24 wireless: cw1200: Use setup_timer -- Kalle Valo