Commit ec2b9bfa authored by Committed by Michael EllermanBrowse files
kexec_file: Change kexec_add_buffer to take kexec_buf as argument.
This is done to simplify the kexec_add_buffer argument list. Adapt all callers to set up a kexec_buf to pass to kexec_add_buffer. In addition, change the type of kexec_buf.buffer from char * to void *. There is no particular reason for it to be a char *, and the change allows us to get rid of 3 existing casts to char * in the code. Signed-off-by: Thiago Jung Bauermann <email@example.com> Acked-by: Dave Young <firstname.lastname@example.org> Acked-by: Balbir Singh <email@example.com> Signed-off-by: Michael Ellerman <firstname.lastname@example.org>