On Wed, Jan 22, 2020 at 08:23:42PM -0800, Bart Van Assche wrote: > Instead of changing endianness in-place, write the data in CPU endian format > in another buffer and copy that buffer back. This patch does not change any > functionality but silences some sparse endianness warnings. > > Cc: Quinn Tran <qutran@xxxxxxxxxxx> > Cc: Martin Wilck <mwilck@xxxxxxxx> > Cc: Daniel Wagner <dwagner@xxxxxxx> > Cc: Roman Bolshakov <r.bolshakov@xxxxxxxxx> > Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx> Reviewed-by: Daniel Wagner <dwagner@xxxxxxx>