[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAP9bUy6_sGreanxger04mtyHAVSb0tyFe8Ji0+ocUUxTh9C+3Q@mail.gmail.com>
Date: Fri, 13 Apr 2018 10:39:19 -0700
From: Sam Hansen <hansens@...gle.com>
To: Wolfram Sang <wsa@...-dreams.de>
Cc: linux-i2c@...r.kernel.org, corbet@....net,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 3/3] Documentation/i2c: adopt kernel commenting style
in examples
On Fri, Apr 13, 2018 at 9:50 AM, Wolfram Sang <wsa@...-dreams.de> wrote:
>
>> - int adapter_nr = 2; /* probably dynamically determined */
>
> Such comments are actually OK.
Ah, gotcha. Thanks for the correction. Standby for revised patch set.
>
>> - /* ERROR HANDLING; you can check errno to see what went wrong */
>
> Such as well.
>
>> - /* Using I2C Write, equivalent of
>> - i2c_smbus_write_word_data(file, reg, 0x6543) */
>> + /*
>> + * Using I2C Write, equivalent of
>> + * i2c_smbus_write_word_data(file, reg, 0x6543).
>> + */
>
> This is the only broken one AFAICT.
>
Powered by blists - more mailing lists