Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4984010yba; Tue, 30 Apr 2019 07:24:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqxXKQC55SC1Zy3uAaamSGfmibKlXay/eo703kENJoiz1W8PSToI8+WVOQoEuVjzEXajM3P1 X-Received: by 2002:a17:902:34d:: with SMTP id 71mr20657021pld.140.1556634262777; Tue, 30 Apr 2019 07:24:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556634262; cv=none; d=google.com; s=arc-20160816; b=hf1+ZQMr0mwANjzFq5i4NhZn7/3qoZIdVN4qmk4EWl4KrJJXZWyHTy1cM8AXOrypa4 3zs2sdH9GlLnxjQ4K2j+Tn4R6muj5Fk8Quac7/pBd8Zs3x2wLwNykB8vIXQ7bXg6lD50 YL1doBTFHoFvWeIcrYZg9FiWp1qSeuo20jHp9hKer+xuNJTq51IfZ9w6yPxd2kkGM1JK 86zBFd8Qcuwj6nZje5MVrXaEkHYMTOX5Ukr9PcwzyBFP9zDrEBqxWtTexagGTW9mlJbI dbrgOpyMVvIjFVejqxXgZ/aV2SEmPhZegJRp8XGy7t6v+oWJ1gIKdg8zLwoc8LTiIO8W 0gKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=GhLbsCh+7+3dT0yeAZbUcY/AwuBdniC8c1Doy2RANbs=; b=QRHB73VzzsxfK1+O6KOAUxeYmpZAIIeU9ZwX2Um8AklCS+4Y9yrW3Vj4r5U2+uTcdc QdeNTALurqWqs1BTrkyDYfXpBlA+J1nOOzZ8zNfAI/uk2hqgEBeFClCRUMzXi9AdSisu 9GgCrMZmSbpJQlR+l6O+n5xv5DGbrPxyysanrc4LKwTy2IyhUDTm5MHB3hiw9GIdDSuL pmR2zPMeJJsBE5em4c4yoTlyJxiWw4VpndxjSdl51eqSp93ZFAGqNKNrYqcupI3oWb+M yywxtvml2e0CNta0cijzIGMcxFejzt+2dr9IZKSkfLMkTUAEr5dOpkIwRw5LF/xgriFz 9dXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LCrcJ8Gq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u79si38529966pfa.6.2019.04.30.07.24.05; Tue, 30 Apr 2019 07:24:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LCrcJ8Gq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726559AbfD3OWz (ORCPT + 99 others); Tue, 30 Apr 2019 10:22:55 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:41762 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726015AbfD3OWy (ORCPT ); Tue, 30 Apr 2019 10:22:54 -0400 Received: by mail-ot1-f68.google.com with SMTP id g8so11053006otl.8 for ; Tue, 30 Apr 2019 07:22:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=GhLbsCh+7+3dT0yeAZbUcY/AwuBdniC8c1Doy2RANbs=; b=LCrcJ8GqxP81DA7QCA7VLz3LgfcMmrt5jZfwdg6KQT5IJtjVfMjw8a5ENUnbY4V2ij 6n0+9c5ovtEZgIcDXqUDnatVZpQqCl2uNf41zOQjbrEDfTemi+w71bQA++j963lMO8G1 /6X4cFT7Hi5vA4h9u+M4cyw421qbK6HJwDRx1yx1G+socY34I4ae0YFrQB1vu8IhzM0/ ep8BmjeQFWT1KBmWQrnlCYaEaGsc2co7YFHaA1F4HFd/gzt+YKvoadVwDxK92vDT8TLG GN9DsHIsYcAqcNHkxChgwBu7b1xt7ZpmPccxx4i82KUfzpYQO957H9K8oae6sGtEA5L5 3P/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GhLbsCh+7+3dT0yeAZbUcY/AwuBdniC8c1Doy2RANbs=; b=Rm4DlBPL5V/5Oj/NqestCRXreZR/06qLLlLz6saPd8lsq3fFqQxdTazXuUJ3MYAYak c8aFJyXVrBgOlgpInGxPvicByRVNlJQVriEyCWjg8pX24/4NkkVGTmmud4XdyClzGRQc TILFyUmJ1MLkQWmUTz63lS+eApmUNYz1iGhTet1ffx4VWnOp2uD/zrUduKx2Y2nN/bkk AkRGwJRsdP6Fkive0FePsnrSt30/E8t+qy8KVeSOtYJehjBMFVM1jjvZs0Z4+4bFFCrh OKe10SHUWgpNJRIiSIolrJiSp5BwWv6vf//s/YKOihw0dMdSLNjqbfxirjeSTj4R4TMN Q3ww== X-Gm-Message-State: APjAAAWPJZrOkXPixGD6IkYf4d7P34UCmvJ/sMA16o3Ao/1vyvX0VwKt QbIQIkiQuGuhf2JYi41wcgl6posLh6yGOu5/mZW08A== X-Received: by 2002:a9d:6318:: with SMTP id q24mr2794428otk.95.1556634173787; Tue, 30 Apr 2019 07:22:53 -0700 (PDT) MIME-Version: 1.0 References: <1556517940-13725-1-git-send-email-hofrat@osadl.org> <20190430022238.GA22593@osadl.at> <20190430030223.GE23075@ZenIV.linux.org.uk> <20190430033310.GB23144@osadl.at> <20190430041934.GI23075@ZenIV.linux.org.uk> <20190430140339.GA18986@kroah.com> In-Reply-To: <20190430140339.GA18986@kroah.com> From: Sven Van Asbroeck Date: Tue, 30 Apr 2019 10:22:42 -0400 Message-ID: Subject: Re: [PATCH V2] staging: fieldbus: anybus-s: force endiannes annotation To: Greg Kroah-Hartman Cc: Al Viro , devel@driverdev.osuosl.org, Nicholas Mc Guire , Linux Kernel Mailing List , Nicholas Mc Guire Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 30, 2019 at 10:03 AM Greg Kroah-Hartman wrote: > > Keep it bus-endian, as that's the "normal" way bus structures work (like > PCI and USB for example), and that should be in a documented, and > consistent, form, right? > > Then do the conversion when you access the field from within the kernel. Ah ok, it's like a standard way of implementing a bus. Sounds good, I'll spin a patch to conform to it. And while I'm at it, I'll rename fieldbus_type because it can be confused with another fieldbus_type within the fieldbus_dev core.