aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorMasanari Iida <standby24x7@gmail.com>2014-01-07 07:58:06 -0500
committerJiri Kosina <jkosina@suse.cz>2014-01-07 09:06:07 -0500
commit8faaaead62c3c7394fa6302303ce70e484b509ba (patch)
treeca56352b1313ccbbc3846e132ab1209b50c85e65 /arch/powerpc
parent97e81acd31de184af22b78c4977a66f40ca1efa3 (diff)
treewide: fix comments and printk msgs
This patch fixed several typo in printk from various part of kernel source. Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/platforms/powernv/opal-flash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/powernv/opal-flash.c b/arch/powerpc/platforms/powernv/opal-flash.c
index 6ffa6b1ec5b7..d8773079ce19 100644
--- a/arch/powerpc/platforms/powernv/opal-flash.c
+++ b/arch/powerpc/platforms/powernv/opal-flash.c
@@ -126,7 +126,7 @@ struct opal_sg_list {
126 126
127struct validate_flash_t { 127struct validate_flash_t {
128 int status; /* Return status */ 128 int status; /* Return status */
129 void *buf; /* Candiate image buffer */ 129 void *buf; /* Candidate image buffer */
130 uint32_t buf_size; /* Image size */ 130 uint32_t buf_size; /* Image size */
131 uint32_t result; /* Update results token */ 131 uint32_t result; /* Update results token */
132}; 132};
@@ -500,7 +500,7 @@ static int alloc_image_buf(char *buffer, size_t count)
500 500
501 memcpy(&image_header, (void *)buffer, sizeof(struct image_header_t)); 501 memcpy(&image_header, (void *)buffer, sizeof(struct image_header_t));
502 image_data.size = be32_to_cpu(image_header.size); 502 image_data.size = be32_to_cpu(image_header.size);
503 pr_debug("FLASH: Candiate image size = %u\n", image_data.size); 503 pr_debug("FLASH: Candidate image size = %u\n", image_data.size);
504 504
505 if (image_data.size > MAX_IMAGE_SIZE) { 505 if (image_data.size > MAX_IMAGE_SIZE) {
506 pr_warn("FLASH: Too large image\n"); 506 pr_warn("FLASH: Too large image\n");