From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from zeniv.linux.org.uk ([195.92.253.2]:49128 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759303AbYBUWij (ORCPT ); Thu, 21 Feb 2008 17:38:39 -0500 Date: Thu, 21 Feb 2008 22:38:31 +0000 From: Al Viro To: Sam Ravnborg Cc: Harvey Harrison , Al Viro , Johannes Berg , John Linville , linux-wireless , Stefano Brivio , Linux Kernel list Subject: Re: __bitwise versus __bitwise__ [Was: [PATCH] mac80211: check endianness/types in sparse runs] Message-ID: <20080221223831.GC27894@ZenIV.linux.org.uk> (sfid-20080221_223847_667771_90A67787) References: <1203503909.17534.14.camel@johannes.berg> <20080220195913.GE21139@uranus.ravnborg.org> <1203597776.20331.5.camel@johannes.berg> <1203624091.20345.63.camel@brick> <20080221223239.GA31048@uranus.ravnborg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20080221223239.GA31048@uranus.ravnborg.org> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Thu, Feb 21, 2008 at 11:32:39PM +0100, Sam Ravnborg wrote: > Al - can I ask you to explain the difference between __bitwise > and __bitwise__ as used by the kernel. __bitwise__ - to be used for relatively compact stuff (gfp_t, etc.) that is mostly warning-free and is supposed to stay that way. Warnings will be generated without __CHECK_ENDIAN__. __bitwise - noisy stuff; in particular, __le*/__be* are that. We really don't want to drown in noise unless we'd explicitly asked for it.