mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
Merge "dtc: add integer overflow checks in fdt header"
This commit is contained in:
commit
74494f2b3f
1 changed files with 1 additions and 1 deletions
|
|
@ -407,7 +407,7 @@ int fdt_del_node(void *fdt, int nodeoffset)
|
|||
static void fdt_packblocks_(const char *old, char *new,
|
||||
int mem_rsv_size, int struct_size)
|
||||
{
|
||||
int mem_rsv_off, struct_off, strings_off;
|
||||
uint32_t mem_rsv_off, struct_off, strings_off;
|
||||
|
||||
mem_rsv_off = FDT_ALIGN(sizeof(struct fdt_header), 8);
|
||||
struct_off = mem_rsv_off + mem_rsv_size;
|
||||
|
|
|
|||
Loading…
Reference in a new issue