From patchwork Tue Sep 23 10:10:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: George Spelvin X-Patchwork-Id: 392345 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 439371400B5 for ; Tue, 23 Sep 2014 20:11:01 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755290AbaIWKLA (ORCPT ); Tue, 23 Sep 2014 06:11:00 -0400 Received: from ns.horizon.com ([71.41.210.147]:40910 "HELO ns.horizon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1755270AbaIWKK7 (ORCPT ); Tue, 23 Sep 2014 06:10:59 -0400 Received: (qmail 29653 invoked by uid 1000); 23 Sep 2014 06:10:58 -0400 Date: 23 Sep 2014 06:10:58 -0400 Message-ID: <20140923101058.29652.qmail@ns.horizon.com> From: "George Spelvin" To: linux-ext4@vger.kernel.org Subject: [PATCH v1 3/10] byteorder: Fix some erroneous comments Cc: dhowells@redhat.com, linux@horizon.com, tytso@mit.edu In-Reply-To: <20140923100214.26896.qmail@ns.horizon.com> Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org The prototypes obviously didn't make sense. Signed-off-by: George Spelvin Cc: David Howells --- I'm not sure who to submit this through. Obviously, it's hardly a critical bug fix, but it's potentially confusing. include/linux/byteorder/generic.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/linux/byteorder/generic.h b/include/linux/byteorder/generic.h index 0846e6b9..37b3d9d6 100644 --- a/include/linux/byteorder/generic.h +++ b/include/linux/byteorder/generic.h @@ -70,12 +70,12 @@ * [bl]eXX_to_cpu(__uXX x) * * The same, but takes a pointer to the value to convert - * cpu_to_[bl]eXXp(__uXX x) - * [bl]eXX_to_cpup(__uXX x) + * cpu_to_[bl]eXXp(const __uXX *x) + * [bl]eXX_to_cpup(const __uXX *x) * * The same, but change in situ - * cpu_to_[bl]eXXs(__uXX x) - * [bl]eXX_to_cpus(__uXX x) + * cpu_to_[bl]eXXs(__uXX *x) + * [bl]eXX_to_cpus(__uXX *x) * * See asm-foo/byteorder.h for examples of how to provide * architecture-optimized versions