Subject: Re: New sparse warning in net/mac80211/debugfs_sta.c

From: Harvey Harrison <[email-masked]>
Date: Thu, 21 Feb 2008 02:14:33 -0800

On Thu, 2008-02-21 at 02:05 -0800, David Miller wrote:
> From: Harvey Harrison <[email-masked]>
> Date: Thu, 21 Feb 2008 02:01:19 -0800
> 
> > In this case, it's being passed to a debugfs create function, could it
> > instead use sysfs_format_mac?
> 
> Just assigning print_mac() to a local variable then passing that to
> debugfs_create_dir() will make the warning go away.

Well, in this case I'd suggest either reverting the __pure annotation
or just ignoring the warning.

Harvey