On Mon, May 18, 2020 at 02:17:09PM -0700, Bart Van Assche wrote: > Casting a pointer to void * and relying on an implicit cast from void * > to uint16_t or uint32_t suppresses sparse warnings about endianness. Hence > cast explicitly to uint16_t and uint32_t. Additionally, remove superfluous > void * casts. > > Reviewed-by: Hannes Reinecke <hare@xxxxxxx> > Cc: Arun Easi <aeasi@xxxxxxxxxxx> > Cc: Nilesh Javali <njavali@xxxxxxxxxxx> > Cc: Daniel Wagner <dwagner@xxxxxxx> > Cc: Himanshu Madhani <himanshu.madhani@xxxxxxxxxx> > Cc: Martin Wilck <mwilck@xxxxxxxx> > Cc: Roman Bolshakov <r.bolshakov@xxxxxxxxx> > Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx> Reviewed-by: Daniel Wagner <dwagner@xxxxxxx>