powernv: Fix typo in opal-flash.c
PATCH 1/1 powernv: Fix typo in opal-flash.c
Correct spelling typo in opal-flash.c
Signed-off-by Hayato Suzuki <[email protected]>
--- arch/powerpc/platforms/powernv/opal-flash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/powerpc/platforms/powernv/opal-flash.c +2 -2
@@ -105,7 +105,7 @@ struct image_header_t {struct validate_flash_t {int status;/* Return status */ -void *buf;/* Candiate image buffer */ +void *buf;/* Candidate image buffer */ uint32_t buf_size;/* Image size */ uint32_t result;/* Update results token */ };
@@ -481,7 +481,7 @@ static int alloc_image_buf(char *buffer, size_t count)memcpy (&image_header, (void *)buffer,sizeof (struct image_header_t )); image_data.size =be32_to_cpu (image_header.size); -pr_debug ("FLASH: Candiate image size = %u\n" , image_data.size); +pr_debug ("FLASH: Candidate image size = %u\n" , image_data.size);if (image_data.size >MAX_IMAGE_SIZE ) {pr_warn ("FLASH: Too large image\n" );
Signature · 1 line
1.8.4.2