From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vinod Koul Subject: Re: [PATCH 07/10] idr: Rename idr_alloc() -> idr_alloc_range() Date: Fri, 21 Jun 2013 08:43:18 +0530 Message-ID: <20130621031318.GC23141@intel.com> References: <1371600150-23557-1-git-send-email-koverstreet@google.com> <1371600150-23557-8-git-send-email-koverstreet@google.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <1371600150-23557-8-git-send-email-koverstreet@google.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Kent Overstreet Cc: Wolfram Sang , Tatyana Nikolova , Linus Walleij , Paul Mackerras , Christoph Hellwig , Alon Levy , Davidlohr Bueso , Ohad Ben-Cohen , "John W. Linville" , Inki Dae , Alex Williamson , David Teigland , Joel Becker , Tim Gardner , Greg Kroah-Hartman , Seung-Woo Kim , linux-kernel@vger.kernel.org, Li Zefan , tj@kernel.org, Guo Chao , akpm@linux-foundation.orgAndy Grover List-Id: dm-devel.ids On Tue, Jun 18, 2013 at 05:02:27PM -0700, Kent Overstreet wrote: > Then also add an idr_alloc() wrapper, without the start/end arguments - > for consistency with the ida interfaces. > = > Signed-off-by: Kent Overstreet > Cc: Andrew Morton > Cc: Tejun Heo > Cc: FUJITA Tomonori > Cc: Jens Axboe > Cc: Chas Williams > Cc: Lars Ellenberg > Cc: Dan Williams > Cc: Vinod Koul > Cc: Stefan Richter > Cc: Grant Likely > Cc: Linus Walleij > Cc: David Airlie > Cc: Inki Dae > Cc: Joonyoung Shim > Cc: Seung-Woo Kim > Cc: Kyungmin Park > Cc: Daniel Vetter > Cc: Wolfram Sang > Cc: Roland Dreier > Cc: Sean Hefty > Cc: Hal Rosenstock > Cc: Steve Wise > Cc: Hoang-Nam Nguyen > Cc: Christoph Raisch > Cc: Mike Marciniszyn > Cc: Alasdair Kergon > Cc: dm-devel@redhat.com > Cc: Samuel Ortiz > Cc: Alex Dubov > Cc: Arnd Bergmann > Cc: Greg Kroah-Hartman > Cc: Chris Ball > Cc: David Woodhouse > Cc: Paul Mackerras > Cc: Anton Vorontsov > Cc: Rodolfo Giometti > Cc: Ohad Ben-Cohen > Cc: Anil Gurumurthy > Cc: Vijaya Mohan Guvva > Cc: "James E.J. Bottomley" > Cc: James Smart > Cc: Doug Gilbert > Cc: Willem Riede > Cc: "Kai M=E4kisara" > Cc: Omar Ramirez Luna > Cc: "Nicholas A. Bellinger" > Cc: Zhang Rui > Cc: Eduardo Valentin > Cc: "Hans J. Koch" > Cc: Alex Williamson > Cc: Christine Caulfield > Cc: David Teigland > Cc: Trond Myklebust > Cc: Mark Fasheh > Cc: Joel Becker > Cc: Li Zefan > Cc: Peter Zijlstra > Cc: Ingo Molnar > Cc: Arnaldo Carvalho de Melo > Cc: "David S. Miller" > Cc: Johannes Berg > Cc: "John W. Linville" > Cc: Guo Chao > Cc: Al Viro > Cc: Dave Airlie > Cc: Alon Levy > Cc: "Paul E. McKenney" > Cc: David Howells > Cc: Thomas Hellstrom > Cc: Brian Paul > Cc: Maarten Lankhorst > Cc: Dmitry Torokhov > Cc: Sasha Levin > Cc: Erez Shitrit > Cc: Tatyana Nikolova > Cc: Haggai Eran > Cc: Guennadi Liakhovetski > Cc: Jason Wang > Cc: Eric Dumazet > Cc: "Michael S. Tsirkin" > Cc: Dan Magenheimer > Cc: Christoph Hellwig > Cc: Andy Grover > Cc: Masanari Iida > Cc: Tim Gardner > Cc: Davidlohr Bueso > Cc: Rik van Riel > Cc: Michel Lespinasse For dmaengine: Acked-by: Vinod Koul = > diff --git a/drivers/dma/dmaengine.c b/drivers/dma/dmaengine.c > index 93f7992..0300f5b 100644 > --- a/drivers/dma/dmaengine.c > +++ b/drivers/dma/dmaengine.c > @@ -697,7 +697,7 @@ static int get_dma_id(struct dma_device *device) > = > mutex_lock(&dma_list_mutex); > = > - rc =3D idr_alloc(&dma_idr, NULL, 0, 0, GFP_KERNEL); > + rc =3D idr_alloc(&dma_idr, NULL, GFP_KERNEL); > if (rc >=3D 0) > device->dev_id =3D rc; > -- ~Vinod =