summaryrefslogtreecommitdiff
path: root/kexec/arch/ppc/kexec-uImage-ppc.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw@amazon.co.uk>2017-03-08 22:41:11 +0000
committerSimon Horman <horms@verge.net.au>2017-03-13 10:01:06 +0100
commitf25146afc5a90bdaa5b518d05eda40410f6744a2 (patch)
tree4c1df0910105503674fb423b4cf9059711d24a64 /kexec/arch/ppc/kexec-uImage-ppc.c
parentb3d533c1f499dba5eb1fba57e08ff0c1059aed3f (diff)
uImage: use 'char *' instead of 'unsigned char *' for uImage_load()
This was only ever used on PPC, where they are equivalent and we never saw the resulting -Wpointer-sign warnings. Signed-off-by: David Woodhouse <dwmw@amazon.co.uk> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/arch/ppc/kexec-uImage-ppc.c')
-rw-r--r--kexec/arch/ppc/kexec-uImage-ppc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexec/arch/ppc/kexec-uImage-ppc.c b/kexec/arch/ppc/kexec-uImage-ppc.c
index c89a1a7..5eec6e4 100644
--- a/kexec/arch/ppc/kexec-uImage-ppc.c
+++ b/kexec/arch/ppc/kexec-uImage-ppc.c
@@ -55,7 +55,7 @@ char *slurp_ramdisk_ppc(const char *filename, off_t *r_size)
{
struct Image_info img;
off_t size;
- const unsigned char *buf = slurp_file(filename, &size);
+ const char *buf = slurp_file(filename, &size);
int rc;
/* Check if this is a uImage RAMDisk */