Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262230AbTHYVUc (ORCPT ); Mon, 25 Aug 2003 17:20:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262226AbTHYVUc (ORCPT ); Mon, 25 Aug 2003 17:20:32 -0400 Received: from 168.imtp.Ilyichevsk.Odessa.UA ([195.66.192.168]:49421 "HELO 127.0.0.1") by vger.kernel.org with SMTP id S262230AbTHYVU2 (ORCPT ); Mon, 25 Aug 2003 17:20:28 -0400 Content-Type: text/plain; charset=US-ASCII From: insecure Reply-To: insecure@mail.od.ua To: Linus Torvalds , Kernel Mailing List Subject: Re: Linux 2.6.0-test4 Date: Tue, 26 Aug 2003 00:20:21 +0300 X-Mailer: KMail [version 1.4] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Message-Id: <200308260020.21817.insecure@mail.od.ua> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 619 Lines: 25 > o [arcnet com90io] replace check_region with temporary > request_region, in probe phase. check_region() is deprecated because it is racy. Replacing it with request_region in probe: int probe() { if(!request_region(...)) return 0; /* probe */ release_region(...); } int init() { request_region(...); } only removes 'deprecated' warning. Race remains. -- vda - 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/