Re: [PATCH RFC v2 09/25] kmsan: add KMSAN runtime

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

> +/* Helper function to check I2C-transferred data. */

I assume I2C is just one of the first users and other users like SPI
will be implemented as time passes? Otherwise I would wonder why I2C
needs to be handled with this special function.

> +void kmsan_handle_i2c_transfer(struct i2c_msg *msgs, int num)
> +{
> +	int i;
> +
> +	if (!msgs)
> +		return;

Can go. You call this function from __i2c_transfer and this checks for
valid 'msgs'.

Kind regards,

   Wolfram

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux