Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756588Ab0LPPxj (ORCPT ); Thu, 16 Dec 2010 10:53:39 -0500 Received: from 81-174-11-161.staticnet.ngi.it ([81.174.11.161]:41817 "EHLO mail.enneenne.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1755581Ab0LPPxh (ORCPT ); Thu, 16 Dec 2010 10:53:37 -0500 Date: Thu, 16 Dec 2010 16:53:33 +0100 From: Rodolfo Giometti To: Alexander Gordeev Cc: linux-kernel@vger.kernel.org, "Nikita V. Youshchenko" , linuxpps@ml.enneenne.com, Tejun Heo Message-ID: <20101216155333.GD10333@enneenne.com> Mail-Followup-To: Alexander Gordeev , linux-kernel@vger.kernel.org, "Nikita V. Youshchenko" , linuxpps@ml.enneenne.com, Tejun Heo References: <9c96d7a57a0a0c7a1e365af086e55460a56788a1.1290599844.git.lasaine@lvk.cs.msu.su> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9c96d7a57a0a0c7a1e365af086e55460a56788a1.1290599844.git.lasaine@lvk.cs.msu.su> Organization: GNU/Linux Device Drivers, Embedded Systems and Courses X-PGP-Key: gpg --keyserver keyserver.linux.it --recv-keys D25A5633 User-Agent: Mutt/1.5.20 (2009-06-14) X-SA-Exim-Connect-IP: 192.168.32.37 X-SA-Exim-Mail-From: giometti@enneenne.com Subject: Re: [PATCHv5 08/17] pps: move idr stuff to pps.c X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:14:11 +0000) X-SA-Exim-Scanned: Yes (on mail.enneenne.com) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1038 Lines: 23 On Wed, Nov 24, 2010 at 07:15:46PM +0300, Alexander Gordeev wrote: > Since now idr is only used to manage char device id's and not used in > kernel API anymore it should be moved to pps.c. This also makes it > possible to release id only at actual device freeing so nobody can > register a pps device with the same id while our device is not freed > yet. > > Signed-off-by: Alexander Gordeev Acked-by: Rodolfo Giometti -- GNU/Linux Solutions e-mail: giometti@enneenne.com Linux Device Driver giometti@linux.it Embedded Systems phone: +39 349 2432127 UNIX programming skype: rodolfo.giometti Freelance ICT Italia - Consulente ICT Italia - www.consulenti-ict.it -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/