Stephen Hemminger <[EMAIL PROTECTED]> wrote:

>On Tue, 21 Feb 2006 16:36:44 -0800
>Jay Vosburgh <[EMAIL PROTECTED]> wrote:
[...]
>> +                    if (dev->master->priv_flags & IFF_MASTER_8023AD &&
>> +                        skb->protocol == __constant_htons(ETH_P_SLOW))
>
>Don't use the __constant_htons() form except in initialized tables and switch 
>statements.

        Why not?  Isn't the __constant_xxx form for use with constants?
I don't see any usage guidelines in the obvious places (Documentation/,
google, etc).

        -J

---
        -Jay Vosburgh, IBM Linux Technology Center, [EMAIL PROTECTED]

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to