commit | 24c9ae23bdfa0642228e747849dd052fd4295c6c | [log] [tgz] |
---|---|---|
author | Roberto Sassu <roberto.sassu@huawei.com> | Tue Jun 08 14:31:21 2021 +0200 |
committer | Mimi Zohar <zohar@linux.ibm.com> | Tue Jun 08 16:29:10 2021 -0400 |
tree | 3e57619f2de9068ac8aeba2ebddad546a20c5e50 | |
parent | 22a558f567ab40b6ea779d0f535d3e32c35c099a [diff] |
ima: Set correct casting types The code expects that the values being parsed from a buffer when the ima_canonical_fmt global variable is true are in little endian. Thus, this patch sets the casting types accordingly. Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com> Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>