Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4375074yba; Mon, 29 Apr 2019 19:24:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqyWeMalAO8RfX3Xy5sjuyVFSRc48IZYQUZmvGTU3HkY0yWkBOCvNwR6QjW6AO0bIHzuwoNV X-Received: by 2002:a62:4554:: with SMTP id s81mr68788666pfa.66.1556591074982; Mon, 29 Apr 2019 19:24:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556591074; cv=none; d=google.com; s=arc-20160816; b=tHxPhHVyNHbLbSm1cd7lp2P7jSjO+7JG2Yo/vxVtVeAz5e0DrqXB+RRsuCLuBe95JQ 08ZRuFKk2Q+0+G8se6ULzkFc2qO5HzeL1KAlsO+PrDOz4ssn11XHWXQ+w3fvgHgCavlD vqbZtqgUBTimUHFyXEtRyZ13tFmr9zrtyDu5YVORcKy7fQ4EUB7YlNVBN9nC9neoVEOt dMNGDwUAsVObYvWAvJeUoy0b+4CcRVTA/QjADh6COgTMKcfcG+VmRk1qsZPgXH0HzMgN lp0HGfCMERgENw6acZXq5VGlkOimQ1C7A6IioOJ6H+aER98pn01BSkA7mDjGr/WGJYkQ AdTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=eOulLGu2SIpB3kS5d165oarXGNkNmwuOTCxqhX0z5ng=; b=pW7Na0TuFDdcJIMfQPU5yHnfu5dRA3UhOtGu1lHnQoZl4kPb63M8Tm/Wip2VmxRtaF RToGjEhNORU1rvhYiIMGgtk9hgJAFZMcd7Pw0LrL/LeMLOG5tVOmw4/yKdRYJBSFzmEp tXeJmDI82hnVlT39VW+bUH4dVtpDqPgWc4J5XQn79kM849ipI1kcUbDW0Hi+HbZwwjr/ Apx9x8/p+2J8FSptBll0zhLF0T3MvLZf2/d+m5Cng4yR9tlg7++09gHJ40yJWQ5MW0JS wlceCJN3LrrtYM7PlJHsQP914+SKxWKnDLN8VXXlakblzcbiUiF1pJOp46o2CUmIX1vT Igtw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p15si9821110plo.310.2019.04.29.19.24.18; Mon, 29 Apr 2019 19:24:34 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729909AbfD3CXb (ORCPT + 99 others); Mon, 29 Apr 2019 22:23:31 -0400 Received: from 178.115.242.59.static.drei.at ([178.115.242.59]:33220 "EHLO mail.osadl.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729803AbfD3CXb (ORCPT ); Mon, 29 Apr 2019 22:23:31 -0400 Received: by mail.osadl.at (Postfix, from userid 1001) id DE5905C0355; Tue, 30 Apr 2019 04:22:38 +0200 (CEST) Date: Tue, 30 Apr 2019 04:22:38 +0200 From: Nicholas Mc Guire To: Sven Van Asbroeck Cc: Nicholas Mc Guire , Greg Kroah-Hartman , devel@driverdev.osuosl.org, Linux Kernel Mailing List Subject: Re: [PATCH V2] staging: fieldbus: anybus-s: force endiannes annotation Message-ID: <20190430022238.GA22593@osadl.at> References: <1556517940-13725-1-git-send-email-hofrat@osadl.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 29, 2019 at 10:03:36AM -0400, Sven Van Asbroeck wrote: > On Mon, Apr 29, 2019 at 2:11 AM Nicholas Mc Guire wrote: > > > > V2: As requested by Sven Van Asbroeck make the > > impact of the patch clear in the commit message. > > Thank you, but did you miss my comment about creating a local variable > instead? See: > https://lkml.org/lkml/2019/4/28/97 Did not miss it - I just don't think that makes it any more understandable - the __force __be16 makes it clear I believe that this is correct, sparse does not like this though - so tell sparse. The local variable would need to be explained as it is functionally not necessary - therefor I find it more confusing that using __force here. If that rational is wrong let me know. thx! hofrat