From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Sat, 22 May 2010 20:56:50 +0800 References: <1274529500-16341-1-git-send-email-sven.eckelmann@gmx.de> In-Reply-To: <1274529500-16341-1-git-send-email-sven.eckelmann@gmx.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201005222056.51380.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCH] batman-adv: Only fail in debugfs when kernel has debugfs support Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking On Saturday 22 May 2010 19:58:20 Sven Eckelmann wrote: > Linux allows to call debugfs related functions even when it is not > compiled in. The return codes will always be failure return codes and we > would fail to load the batman-adv module even when debugfs isn't a hard > dependency. > > We can simply return a success error code when the debugfs stub returned > a error code and the kernel was compiled without debugfs support. Applied in rev 1679. Thanks, Marek