diff options
author | Ben Dooks (Codethink) <ben.dooks@codethink.co.uk> | 2019-10-16 11:15:03 +0100 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2019-11-17 22:22:53 +0100 |
commit | 7cc7720f06ab7102834140710cd2ae56b142d7ce (patch) | |
tree | c162112f481668ef550906528dbcef67819d5e80 /fs/jffs2/super.c | |
parent | df22b5b3ecc6233e33bd27f67f14c0cd1b5a5897 (diff) | |
download | linux-7cc7720f06ab7102834140710cd2ae56b142d7ce.tar.bz2 |
ubifs: Fix type of sup->hash_algo
The sup->hash_algo is a __le16, and whilst 0xffff is
the same in __le16 and u16, it would be better to use
cpu_to_le16() anyway (which should deal with constants)
and silence the following sparse warning:
fs/ubifs/sb.c:187:32: warning: incorrect type in assignment (different base types)
fs/ubifs/sb.c:187:32: expected restricted __le16 [usertype] hash_algo
fs/ubifs/sb.c:187:32: got int
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/jffs2/super.c')
0 files changed, 0 insertions, 0 deletions