[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <558AE674.3080805@sandisk.com>
Date: Wed, 24 Jun 2015 10:18:44 -0700
From: Bart Van Assche <bart.vanassche@...disk.com>
To: Vaishali Thakkar <vthakkar1994@...il.com>,
Doug Ledford <dledford@...hat.com>
CC: Sean Hefty <sean.hefty@...el.com>,
Hal Rosenstock <hal.rosenstock@...il.com>,
"linux-rdma@...r.kernel.org" <linux-rdma@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] IB/srpt: Convert use of __constant_cpu_to_beXX to
cpu_to_beXX
On 06/23/2015 09:42 PM, Vaishali Thakkar wrote:
> In little endian cases, the macro cpu_to_be{16,32,64} unfolds to
> __swab{16,32,64} which provides special case for constants. In
> big endian cases, __constant_cpu_to_be{16,32,64} and
> cpu_to_be{16,32,64} expand directly to the same expression. So,
> replace __constant_cpu_to_be{16,32,64} with cpu_to_be{16,32,64}
> with the goal of getting rid of the definitions of
> __constant_cpu_to_be{16,32,64} completely.
Reviewed-by: Bart Van Assche <bart.vanassche@...disk.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists