On Thu, 2017-12-21 at 09:34 -0800, Raghava Aditya Renukunta wrote: > + return ((phys_luns->list_length[0]<<24) + > + (phys_luns->list_length[1]<<16) + > + (phys_luns->list_length[2]<<8) + > + (phys_luns->list_length[3])) / 24; Please use get_unaligned_be32() instead of open-coding it. Thanks, Bart.