Received: by 10.213.65.68 with SMTP id h4csp497884imn; Tue, 13 Mar 2018 10:56:11 -0700 (PDT) X-Google-Smtp-Source: AG47ELuBVICJO2mgwihVW9xuYIllkXfD/IvAhMV71RmdC1lN0DiTQJ5sL+RONxiwvTKoXkfSUgYk X-Received: by 10.98.18.143 with SMTP id 15mr1450392pfs.104.1520963771786; Tue, 13 Mar 2018 10:56:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520963771; cv=none; d=google.com; s=arc-20160816; b=LJIsxyDQDXQN91kk1y+WCbXkZnROWLiaXh5/WdS+VtoNM5Bkwxwn0osiPFM2Lxr8ec 7uJul1zph42/lTRJsM54qerOTgJt4uHgmzHi9l8wZbDmoB/gQDe5PAYDZoymBhh62Pum dmWvJSXb99hkXBTCdOVq9uL+IYg7yAjACVmiVtFdz/E7F4rq7Wan49vt8PzcGK6ynRrI hb5UFWutS0SLtQbrRMO5oDPl+pS1wsF7NZ1vgFgwzS9mBpCzsHOnhDDc13vNFTrpTrw8 8x+kqs5NnW+OYV1zG5tPndXPYYOGiIOm0sjRikMmkpRxLMfQ6VxCkugW87Nnt+u1Jsl4 Cg7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=DNGsH6SFMjEj3Z5sTkQoDTYChwFyJHxGouQHulvE4Ow=; b=bBMUuloDcD947rTqLHLfuDBBP6mIWvMeMPLcfaFfMB8zOjF4zyKpuXzFoDKRbaoQqC b6kHblOkTvIllnbtNvHwkv3WpwCZOnJRatMucmw7LVyNCpoH0TR98pQWWnN+Fi5zLcYP q0brprt7ycg1UdoS3+ovfaKqV/qMyc+KhUv9psUaFkNo/bAt3WXiNvtN49GGkPYFDD+I eKyN7i+Sj/rh5Zq9xietDjgqmEQCMVlIZkL19P5bo1ojM8LLtxigqWi0o5mD4ndeM7FP IbMuIe6+dqojxhpmI6Pah0XNQRvPJsz7fOh46NkAmcZwYl2GzV22J7bhztLIn4J/Svtx 0FXg== 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 a88si509943pfk.40.2018.03.13.10.55.57; Tue, 13 Mar 2018 10:56:11 -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 S1752201AbeCMRxs (ORCPT + 99 others); Tue, 13 Mar 2018 13:53:48 -0400 Received: from vegas.theobroma-systems.com ([144.76.126.164]:36347 "EHLO mail.theobroma-systems.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751394AbeCMRxq (ORCPT ); Tue, 13 Mar 2018 13:53:46 -0400 Received: from [86.59.122.178] (port=54285 helo=ju27.lan) by mail.theobroma-systems.com with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1evo7M-0001Cc-JY; Tue, 13 Mar 2018 18:53:44 +0100 Subject: Re: [PATCH v2 1/1] can: ucan: add driver for Theobroma Systems UCAN devices To: Marc Kleine-Budde Cc: Martin Elshuber , Philipp Tomsich , Wolfgang Grandegger , linux-can@vger.kernel.org, linux-kernel@vger.kernel.org References: <20180313173520.21257-1-jakob.unterwurzacher@theobroma-systems.com> <20180313173520.21257-2-jakob.unterwurzacher@theobroma-systems.com> From: Jakob Unterwurzacher Message-ID: <872c1fca-df7c-84c1-e14b-0f7d60d0bafe@theobroma-systems.com> Date: Tue, 13 Mar 2018 18:53:43 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13.03.18 18:44, Marc Kleine-Budde wrote: > On 03/13/2018 06:35 PM, Jakob Unterwurzacher wrote: > > [...] > > Please mark all multibyte values going over the USB as either le or be. This is documented in can_ucan_protocol.rst, All multi-byte integers are encoded as Little Endian. but it's probably worth mentioning here as well. > > Please use standard 'net' comment style: > > /* this is a multiline > * comment > */ > >> + struct ucan_ctl_cmd_start cmd_start; >> + /*************************************************** >> + * Setup Bittiming >> + * bmRequest == UCAN_COMMAND_SET_BITTIMING >> + ***************************************************/ Understood. Thanks, Jakob