From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from kroah.org ([198.145.64.141]:54608 "EHLO coco.kroah.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752950Ab0D1RuF (ORCPT ); Wed, 28 Apr 2010 13:50:05 -0400 Date: Wed, 28 Apr 2010 10:39:39 -0700 From: Greg KH To: Ben Hutchings Cc: Bartlomiej Zolnierkiewicz , Greg Kroah-Hartman , linux-wireless , LKML Subject: Re: [PATCH] rt28xx: Make PCI_{MAP,UNMAP}_SINGLE type-safe Message-ID: <20100428173939.GA18634@kroah.com> References: <1269821357.8653.231.camel@localhost> <1269822285.8653.251.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1269822285.8653.251.camel@localhost> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Mon, Mar 29, 2010 at 01:24:45AM +0100, Ben Hutchings wrote: > To avoid recurrence of bugs such as , > change the type of the first parameter to linux_pci_{map,unmap}_single() > from void * to struct rt_rtmp_adapter *. Also do not define the macros > PCI_{MAP,UNMAP}_SINGLE() when building the rt2870sta driver; they are > not used and if they were that would be a bug. > > Signed-off-by: Ben Hutchings In the future, please do not sign your emails, it just makes it harder to apply them :( thanks, greg k-h