diff options
author | Ben Dooks (Codethink) <ben.dooks@codethink.co.uk> | 2019-10-16 11:04:09 +0100 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2019-11-17 22:15:29 +0100 |
commit | 3cfa4412df98207e07de6e60d3c805c541cbce1a (patch) | |
tree | 95c049e8eddb1210a98f1e4f89e55af9cb2c9d4f /fs/dlm/user.c | |
parent | b27b281f9cfa9153fe9d40dd07cbbdc58be0c7c6 (diff) | |
download | blackbird-op-linux-3cfa4412df98207e07de6e60d3c805c541cbce1a.tar.gz blackbird-op-linux-3cfa4412df98207e07de6e60d3c805c541cbce1a.zip |
ubifs: Force prandom result to __le32
In set_dent_cookie() the result of prandom_u32() is
assinged to an __le32 type. Make this a forced conversion
to remove the following sparse warning:
fs/ubifs/journal.c:506:30: warning: incorrect type in assignment (different base types)
fs/ubifs/journal.c:506:30: expected restricted __le32 [usertype] cookie
fs/ubifs/journal.c:506:30: got unsigned int
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/dlm/user.c')
0 files changed, 0 insertions, 0 deletions