Re: [PATCH 19/32] iio:imu:st_lsm6dsx Fix alignment and data leak issues

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

 



[...]
> > here we can use hw->scan[0] and drop the array on the stack
> 
> This gets trickier because the scan can have other types of data in it.
> The timestamp doesn't match with our carefully created structure for scan[].
> 
> Hence I'd rather leave this one be, or define another structure to
> accommodate it.

Hi Jonathan,

ack, I am fine with it.

Regards,
Lorenzo

> 
> Jonathan
> 
> > 
> > > +	u8 tag;
> > >  	bool reset_ts = false;
> > >  	int i, err, read_len;
> > >  	__le16 fifo_status;
> > > -- 
> > > 2.26.2
> > >   
> 

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux