mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
ANDROID: Incremental fs: Fix two typos
Test: incfs_test passes Bug: 151240628 Signed-off-by: Paul Lawrence <paullawrence@google.com> Change-Id: I627e683b562329fd57aedc8393e22449ff09ee1f (cherry picked from commit 06c715e275dc65e720759cfeacb4120289e2a306)
This commit is contained in:
parent
1a12f7e69c
commit
37c7bda887
2 changed files with 2 additions and 2 deletions
|
|
@ -887,7 +887,7 @@ static int process_file_signature_md(struct incfs_file_signature *sg,
|
|||
int error = 0;
|
||||
struct incfs_df_signature *signature =
|
||||
kzalloc(sizeof(*signature), GFP_NOFS);
|
||||
void *buf = 0;
|
||||
void *buf = NULL;
|
||||
ssize_t read;
|
||||
|
||||
if (!df || !df->df_backing_file_context ||
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ struct signature_info {
|
|||
struct mem_range root_hash;
|
||||
};
|
||||
|
||||
static u32 read_u32(u8 **p, u8 *top, u32 *result)
|
||||
static bool read_u32(u8 **p, u8 *top, u32 *result)
|
||||
{
|
||||
if (*p + sizeof(u32) > top)
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue