From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 16E0ACA9EB5 for ; Mon, 21 Oct 2019 09:31:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E32BD206C2 for ; Mon, 21 Oct 2019 09:31:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727238AbfJUJbd (ORCPT ); Mon, 21 Oct 2019 05:31:33 -0400 Received: from mga07.intel.com ([134.134.136.100]:7457 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726725AbfJUJbd (ORCPT ); Mon, 21 Oct 2019 05:31:33 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Oct 2019 02:31:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,323,1566889200"; d="scan'208";a="203289636" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by FMSMGA003.fm.intel.com with ESMTP; 21 Oct 2019 02:31:31 -0700 Received: from andy by smile with local (Exim 4.92.2) (envelope-from ) id 1iMU2E-00028z-OJ; Mon, 21 Oct 2019 12:31:30 +0300 Date: Mon, 21 Oct 2019 12:31:30 +0300 From: Andy Shevchenko To: Joe Perches Cc: Herbert Xu , Mika Westerberg , linux-kernel Subject: Re: byteorder: cpu_to_le32_array vs cpu_to_be32_array function API differences Message-ID: <20191021093130.GL32742@smile.fi.intel.com> References: <2acb30fb3c9a86ac8cc882fb787cd04e5864224b.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2acb30fb3c9a86ac8cc882fb787cd04e5864224b.camel@perches.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Oct 20, 2019 at 12:02:52PM -0700, Joe Perches wrote: > There's an argument inconsistency between these 4 functions > in include/linux/byteorder/generic.h > > It'd be more a consistent API with one form and not two. This is done in order to: - avoid changing existing code - start a very this discussion to see what we can do if it's even needed to be done So, do we have other places in the kernel which can utilize either of these? -- With Best Regards, Andy Shevchenko