From: Davide Libenzi Subject: Re: [PATCH 01/18] flag parameters: helper function Date: Sun, 4 May 2008 21:45:51 -0700 (PDT) Message-ID: References: <200805050342.m453gkY4029814@devserv.devel.redhat.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Linux Kernel Mailing List , netdev@vger.kernel.org, Andrew Morton , mtk.manpages@gmail.com, Linus Torvalds To: Ulrich Drepper Return-path: Received: from x35.xmailserver.org ([64.71.152.41]:46965 "EHLO x35.xmailserver.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752118AbYEEEpw (ORCPT ); Mon, 5 May 2008 00:45:52 -0400 Received: from alien.or.mcafeemobile.com by x35.xmailserver.org with [XMail 1.25 ESMTP Server] id for from ; Mon, 5 May 2008 00:45:51 -0400 In-Reply-To: <200805050342.m453gkY4029814@devserv.devel.redhat.com> Sender: netdev-owner@vger.kernel.org List-ID: On Sun, 4 May 2008, Ulrich Drepper wrote: > In the following patches we have to map one set of flags to another one > in numerous locations. This patch provides a generic implementation for > this. It is basically the code Davide Libenzi suggested on 4/27/08. > > I haven't checked whether this functionality can be applied to any existing > code. > > > include/linux/flagsremap.h | 15 +++++++++++++++ > lib/Makefile | 2 +- > lib/flagsremap.c | 17 +++++++++++++++++ > 3 files changed, 33 insertions(+), 1 deletion(-) > > > Signed-off-by: Ulrich Drepper I dunno if this deserves separate c/h files. Otherwise ... Acked-by: Davide Libenzi - Davide