From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from az33egw02.freescale.net (az33egw02.freescale.net [192.88.158.103]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "az33egw02.freescale.net", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTP id 43209DDEE0 for ; Thu, 7 Jun 2007 08:32:26 +1000 (EST) Message-ID: <466735F3.7040504@freescale.com> Date: Wed, 06 Jun 2007 17:32:19 -0500 From: Timur Tabi MIME-Version: 1.0 To: Olof Johansson Subject: Re: MPC8349ea Random Device Generator driver References: <46672DB4.80504@freescale.com> <20070606220913.GA27820@lixom.net> <46673009.6000109@freescale.com> <20070606222456.GA28225@lixom.net> In-Reply-To: <20070606222456.GA28225@lixom.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: linuxppc-dev@ozlabs.org, sl@powerlinux.fr, Philippe Lachenal List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Olof Johansson wrote: > - you can never assign a __le16 type to any other integer type or any > other bitwise type. You'd get a warnign about incompatible types. Makes > sense, no? Then why do the in_be functions return an unsigned int instead of a __be type? Isn't that effectively removing the endian-ness from the type? -- Timur Tabi Linux Kernel Developer @ Freescale