All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marc Kleine-Budde <mkl@pengutronix.de>
To: Oliver Hartkopp <socketcan@hartkopp.net>
Cc: "linux-can@vger.kernel.org" <linux-can@vger.kernel.org>
Subject: Re: [PATCH v8 4/7] can: provide a separate bittiming_const parameter to bittiming functions
Date: Fri, 28 Feb 2014 16:16:45 +0100	[thread overview]
Message-ID: <5310A85D.7010900@pengutronix.de> (raw)
In-Reply-To: <5310A828.3030507@hartkopp.net>

[-- Attachment #1: Type: text/plain, Size: 828 bytes --]

On 02/28/2014 04:15 PM, Oliver Hartkopp wrote:
> Hey Marc,
> 
> i've just seen a whitespace issue here:
> 
> On 28.02.2014 14:19, Oliver Hartkopp wrote:
> 
>> -	return 0;
>> +	if (!bt->tq && bt->bitrate)
>> +			err = can_calc_bittiming(dev, bt, btc);
>> +	else if (bt->tq && !bt->bitrate)
>> +			err = can_fixup_bittiming(dev, bt, btc);
>> +	else
>> +		err = -EINVAL;
>> +
>> +	return err;
> 
> Should I send a v9 or what's the best way for you?

Errr, v9, can you (re-)add the comments about the standard and expert mode?

Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 242 bytes --]

  reply	other threads:[~2014-02-28 15:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-28 13:19 [PATCH v8 0/7] Add CAN FD infrastructure for CAN driver Oliver Hartkopp
2014-02-28 13:19 ` [PATCH v8 1/7] can: preserve skbuff protocol in can_put_echo_skb Oliver Hartkopp
2014-02-28 13:19 ` [PATCH v8 2/7] can: only send bitrate data via netlink when available Oliver Hartkopp
2014-02-28 13:19 ` [PATCH v8 3/7] can: move sanity check for bitrate and tq into can_get_bittiming Oliver Hartkopp
2014-02-28 13:19 ` [PATCH v8 4/7] can: provide a separate bittiming_const parameter to bittiming functions Oliver Hartkopp
2014-02-28 15:15   ` Oliver Hartkopp
2014-02-28 15:16     ` Marc Kleine-Budde [this message]
2014-02-28 13:19 ` [PATCH v8 5/7] can: introduce the data bitrate configuration for CAN FD Oliver Hartkopp
2014-02-28 13:19 ` [PATCH v8 6/7] can: allow to change the device mtu for CAN FD capable devices Oliver Hartkopp
2014-02-28 13:19 ` [PATCH v8 7/7] can: add bittiming check at interface open for CAN FD Oliver Hartkopp
2014-02-28 15:18 ` [PATCH v8 0/7] Add CAN FD infrastructure for CAN driver Stephane Grosjean

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5310A85D.7010900@pengutronix.de \
    --to=mkl@pengutronix.de \
    --cc=linux-can@vger.kernel.org \
    --cc=socketcan@hartkopp.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.