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 <koverstreet@xxxxxxxxxx> > Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> > Cc: Tejun Heo <tj@xxxxxxxxxx> > Cc: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx> > Cc: Jens Axboe <axboe@xxxxxxxxx> > Cc: Chas Williams <chas@xxxxxxxxxxxxxxxx> > Cc: Lars Ellenberg <drbd-dev@xxxxxxxxxxxxxxxx> > Cc: Dan Williams <djbw@xxxxxx> > Cc: Vinod Koul <vinod.koul@xxxxxxxxx> > Cc: Stefan Richter <stefanr@xxxxxxxxxxxxxxxxx> > Cc: Grant Likely <grant.likely@xxxxxxxxxx> > Cc: Linus Walleij <linus.walleij@xxxxxxxxxx> > Cc: David Airlie <airlied@xxxxxxxx> > Cc: Inki Dae <inki.dae@xxxxxxxxxxx> > Cc: Joonyoung Shim <jy0922.shim@xxxxxxxxxxx> > Cc: Seung-Woo Kim <sw0312.kim@xxxxxxxxxxx> > Cc: Kyungmin Park <kyungmin.park@xxxxxxxxxxx> > Cc: Daniel Vetter <daniel.vetter@xxxxxxxx> > Cc: Wolfram Sang <wsa@xxxxxxxxxxxxx> > Cc: Roland Dreier <roland@xxxxxxxxxx> > Cc: Sean Hefty <sean.hefty@xxxxxxxxx> > Cc: Hal Rosenstock <hal.rosenstock@xxxxxxxxx> > Cc: Steve Wise <swise@xxxxxxxxxxx> > Cc: Hoang-Nam Nguyen <hnguyen@xxxxxxxxxx> > Cc: Christoph Raisch <raisch@xxxxxxxxxx> > Cc: Mike Marciniszyn <infinipath@xxxxxxxxx> > Cc: Alasdair Kergon <agk@xxxxxxxxxx> > Cc: dm-devel@xxxxxxxxxx > Cc: Samuel Ortiz <sameo@xxxxxxxxxxxxxxx> > Cc: Alex Dubov <oakad@xxxxxxxxx> > Cc: Arnd Bergmann <arnd@xxxxxxxx> > Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> > Cc: Chris Ball <cjb@xxxxxxxxxx> > Cc: David Woodhouse <dwmw2@xxxxxxxxxxxxx> > Cc: Paul Mackerras <paulus@xxxxxxxxx> > Cc: Anton Vorontsov <cbou@xxxxxxx> > Cc: Rodolfo Giometti <giometti@xxxxxxxxxxxx> > Cc: Ohad Ben-Cohen <ohad@xxxxxxxxxx> > Cc: Anil Gurumurthy <agurumur@xxxxxxxxxxx> > Cc: Vijaya Mohan Guvva <vmohan@xxxxxxxxxxx> > Cc: "James E.J. Bottomley" <JBottomley@xxxxxxxxxxxxx> > Cc: James Smart <james.smart@xxxxxxxxxx> > Cc: Doug Gilbert <dgilbert@xxxxxxxxxxxx> > Cc: Willem Riede <osst@xxxxxxxxx> > Cc: "Kai Mäkisara" <Kai.Makisara@xxxxxxxxxxx> > Cc: Omar Ramirez Luna <omar.ramirez@xxxxxxxxxx> > Cc: "Nicholas A. Bellinger" <nab@xxxxxxxxxxxxxxx> > Cc: Zhang Rui <rui.zhang@xxxxxxxxx> > Cc: Eduardo Valentin <eduardo.valentin@xxxxxx> > Cc: "Hans J. Koch" <hjk@xxxxxxxxxxxx> > Cc: Alex Williamson <alex.williamson@xxxxxxxxxx> > Cc: Christine Caulfield <ccaulfie@xxxxxxxxxx> > Cc: David Teigland <teigland@xxxxxxxxxx> > Cc: Trond Myklebust <Trond.Myklebust@xxxxxxxxxx> > Cc: Mark Fasheh <mfasheh@xxxxxxxx> > Cc: Joel Becker <jlbec@xxxxxxxxxxxx> > Cc: Li Zefan <lizefan@xxxxxxxxxx> > Cc: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> > Cc: Ingo Molnar <mingo@xxxxxxxxxx> > Cc: Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxxxxxxx> > Cc: "David S. Miller" <davem@xxxxxxxxxxxxx> > Cc: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> > Cc: "John W. Linville" <linville@xxxxxxxxxxxxx> > Cc: Guo Chao <yan@xxxxxxxxxxxxxxxxxx> > Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx> > Cc: Dave Airlie <airlied@xxxxxxxxxx> > Cc: Alon Levy <alevy@xxxxxxxxxx> > Cc: "Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx> > Cc: David Howells <dhowells@xxxxxxxxxx> > Cc: Thomas Hellstrom <thellstrom@xxxxxxxxxx> > Cc: Brian Paul <brianp@xxxxxxxxxx> > Cc: Maarten Lankhorst <maarten.lankhorst@xxxxxxxxxxxxx> > Cc: Dmitry Torokhov <dtor@xxxxxxxxxx> > Cc: Sasha Levin <sasha.levin@xxxxxxxxxx> > Cc: Erez Shitrit <erezsh@xxxxxxxxxxxxxx> > Cc: Tatyana Nikolova <Tatyana.E.Nikolova@xxxxxxxxx> > Cc: Haggai Eran <haggaie@xxxxxxxxxxxx> > Cc: Guennadi Liakhovetski <g.liakhovetski@xxxxxx> > Cc: Jason Wang <jasowang@xxxxxxxxxx> > Cc: Eric Dumazet <edumazet@xxxxxxxxxx> > Cc: "Michael S. Tsirkin" <mst@xxxxxxxxxx> > Cc: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx> > Cc: Christoph Hellwig <hch@xxxxxx> > Cc: Andy Grover <agrover@xxxxxxxxxx> > Cc: Masanari Iida <standby24x7@xxxxxxxxx> > Cc: Tim Gardner <tim.gardner@xxxxxxxxxxxxx> > Cc: Davidlohr Bueso <davidlohr.bueso@xxxxxx> > Cc: Rik van Riel <riel@xxxxxxxxxx> > Cc: Michel Lespinasse <walken@xxxxxxxxxx> For dmaengine: Acked-by: Vinod Koul <vinod.koul@xxxxxxxxx> > 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 = idr_alloc(&dma_idr, NULL, 0, 0, GFP_KERNEL); > + rc = idr_alloc(&dma_idr, NULL, GFP_KERNEL); > if (rc >= 0) > device->dev_id = rc; > -- ~Vinod -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel