Commit 576bb9ce authored by Andrew Morton's avatar Andrew Morton Committed by Bryan Wu

binfmt_flat: checkpatch fixing minimum support for the blackfin relocations

Cc: Bernd Schmidt <bernd.schmidt@analog.com>
Cc: David McCullough <davidm@snapgear.com>
Cc: Greg Ungerer <gerg@snapgear.com>
Cc: Miles Bader <miles.bader@necel.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarBryan Wu <bryan.wu@analog.com>
parent f9720205
...@@ -760,7 +760,8 @@ static int load_flat_file(struct linux_binprm * bprm, ...@@ -760,7 +760,8 @@ static int load_flat_file(struct linux_binprm * bprm,
} }
/* Get the pointer's value. */ /* Get the pointer's value. */
addr = flat_get_addr_from_rp(rp, relval, flags, &persistent); addr = flat_get_addr_from_rp(rp, relval, flags,
&persistent);
if (addr != 0) { if (addr != 0) {
/* /*
* Do the relocation. PIC relocs in the data section are * Do the relocation. PIC relocs in the data section are
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment