[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130419135441.2dc84327@nehalam.linuxnetplumber.net>
Date: Fri, 19 Apr 2013 13:54:41 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Vlad Yasevich <vyasevic@...hat.com>
Cc: netdev@...r.kernel.org, bridge@...ts.linux-foundation.org,
mst@...hat.com
Subject: Re: [PATCH v2 net-next 2/6] bridge: make flags sysfs interface a
little bit more extensible
On Fri, 19 Apr 2013 16:52:46 -0400
Vlad Yasevich <vyasevic@...hat.com> wrote:
>
> +static ssize_t show_flag(struct net_bridge_port *p, char *buf,
> + unsigned long mask)
> +{
> + return sprintf(buf, "%d\n", !!(p->flags & mask));
> +}
Flags are bit, show in hex please.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists