On 4 April 2018 at 20:38, Wolfram Sang <wsa@xxxxxxxxxxxxx> wrote: > On Tue, Apr 03, 2018 at 09:11:50PM +0200, Ard Biesheuvel wrote: >> The API docs describe i2c_transfer() as taking a pointer to an array >> of i2c_msg containing at least 1 entry, but leaves it to the individual >> drivers to sanity check the msgs and num parameters. Let's do this in >> core code instead. >> >> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@xxxxxxxxxx> > > Looks good but I want to test it myself, so I will include it in my > second pull request later. > Thanks Wolfram