From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Wed, 18 Apr 2012 17:27:40 +0800 References: <1334734840-816-1-git-send-email-ordex@autistici.org> In-Reply-To: <1334734840-816-1-git-send-email-ordex@autistici.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201204181727.40612.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCH] batman-adv: use real error codes instead of meaningless -1 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 Wednesday, April 18, 2012 15:40:40 Antonio Quartulli wrote: > Reported-by: David Miller > Signed-off-by: Antonio Quartulli > --- > > This patch is for *next*. This patch fixes a problem pointed out by David > S. Miller. > > Actually the idea is to use real error codes instead of meaningless -1, > even if this codes are only used internally to the batman-adv code. IMHO > it is a good idea. Most of the times we convert -1 to real error codes > later, but I think it is better to user real code directly. This patch > will be squashed with a patch which is going to be sent in the next pull > request. Applied in revision a9f3b78. Thanks, Marek