Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932508AbWAKSfz (ORCPT ); Wed, 11 Jan 2006 13:35:55 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932515AbWAKSfy (ORCPT ); Wed, 11 Jan 2006 13:35:54 -0500 Received: from linux01.gwdg.de ([134.76.13.21]:7618 "EHLO linux01.gwdg.de") by vger.kernel.org with ESMTP id S932508AbWAKSfx (ORCPT ); Wed, 11 Jan 2006 13:35:53 -0500 Date: Wed, 11 Jan 2006 19:35:44 +0100 (MET) From: Jan Engelhardt To: Jakub Jelinek cc: "David S. Miller" , drepper@redhat.com, arjan@infradead.org, linux-kernel@vger.kernel.org Subject: Re: ntohs/ntohl and bitops In-Reply-To: <20060111094854.GK7768@devserv.devel.redhat.com> Message-ID: References: <20060111.000020.25886635.davem@davemloft.net> <1136967192.2929.6.camel@laptopd505.fenrus.org> <43C4C37B.9020801@redhat.com> <20060111.004418.92939254.davem@davemloft.net> <20060111094854.GK7768@devserv.devel.redhat.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 380 Lines: 16 >> Does it work for comparisons? F.e.: >> >> if (val < ntohs(VAL)) > >No, only for ==, !=, &, |, ~. And ^? Jan Engelhardt -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/