]> git.baikalelectronics.ru Git - kernel.git/commit
md: use correct type in super_1_load
authorChristoph Hellwig <hch@lst.de>
Thu, 4 Apr 2019 16:56:12 +0000 (18:56 +0200)
committerSong Liu <songliubraving@fb.com>
Wed, 10 Apr 2019 22:26:08 +0000 (15:26 -0700)
commit98bb1ced8e0885516b5fdf4ecec23a5b62c27286
tree060df1a40bd4e056ec90ea7147afac800a0e869b
parent0cc096ed0a48e2003c748305d639b9b176dbd274
md: use correct type in super_1_load

If we want to convert from a little endian format we need to cast
to a little endian type, otherwise sparse will be unhappy.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Song Liu <songliubraving@fb.com>
drivers/md/md.c