[PATCH] [trivial] powernv: Fix typo in opal-flash.c

From: Hayato Suzuki
Date: Mon Dec 23 2013 - 15:51:21 EST


Correct spelling typo in opal-flash.c

Signed-off-by: Hayato Suzuki <hytszk@xxxxxxxxx>
---
arch/powerpc/platforms/powernv/opal-flash.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/platforms/powernv/opal-flash.c b/arch/powerpc/platforms/powernv/opal-flash.c
index 4aeae4f..d8f67ba 100644
--- a/arch/powerpc/platforms/powernv/opal-flash.c
+++ b/arch/powerpc/platforms/powernv/opal-flash.c
@@ -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");
--
1.8.4.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/