commit | 0b5e3dafb60229dd7225e81023af5d2ddfb6a4b7 | [log] [tgz] |
---|---|---|
author | Domagoj Tršan <domagoj.trsan@gmail.com> | Thu Oct 27 08:52:33 2016 +0100 |
committer | David Sterba <dsterba@suse.com> | Wed Nov 30 13:45:18 2016 +0100 |
tree | 91f93d3c295a6528cd027cba93bebd2d99e8273b | |
parent | a23eaa875f0f1d89eb866b8c9860e78273ff5daf [diff] |
btrfs: change btrfs_csum_final result param type to u8 csum member of struct btrfs_super_block has array type of u8. It makes sense that function btrfs_csum_final should be also declared to accept u8 *. I changed the declaration of method void btrfs_csum_final(u32 crc, char *result); to void btrfs_csum_final(u32 crc, u8 *result); Signed-off-by: Domagoj Tršan <domagoj.trsan@gmail.com> [ changed cast to u8 at several call sites ] Signed-off-by: David Sterba <dsterba@suse.com>