From: Lukasz Majewski <l.majewski@majess.pl>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/6] gpt: command: cosmetic: Replace printf with puts
Date: Fri, 13 Nov 2015 07:42:08 +0100 [thread overview]
Message-ID: <1447396932-26644-3-git-send-email-l.majewski@majess.pl> (raw)
In-Reply-To: <1447396932-26644-1-git-send-email-l.majewski@majess.pl>
This code is not processing any data to serial console output and hence
can be replaced with puts.
Signed-off-by: Lukasz Majewski <l.majewski@majess.pl>
---
common/cmd_gpt.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/common/cmd_gpt.c b/common/cmd_gpt.c
index 4da2de7..4c71125 100644
--- a/common/cmd_gpt.c
+++ b/common/cmd_gpt.c
@@ -281,11 +281,11 @@ static int gpt_default(block_dev_desc_t *blk_dev_desc, const char *str_part)
&str_disk_guid, &partitions, &part_count);
if (ret) {
if (ret == -1)
- printf("No partition list provided\n");
+ puts("No partition list provided\n");
if (ret == -2)
- printf("Missing disk guid\n");
+ puts("Missing disk guid\n");
if ((ret == -3) || (ret == -4))
- printf("Partition list incomplete\n");
+ puts("Partition list incomplete\n");
return -1;
}
--
2.1.4
next prev parent reply other threads:[~2015-11-13 6:42 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-13 6:42 [U-Boot] [PATCH 0/6] gpt: command: Add support for "gpt verify" command Lukasz Majewski
2015-11-13 6:42 ` [U-Boot] [PATCH 1/6] gpt: command: Remove duplicated check for empty partition description Lukasz Majewski
2015-11-18 23:38 ` Tom Rini
2015-11-13 6:42 ` Lukasz Majewski [this message]
2015-11-18 23:37 ` [U-Boot] [PATCH 2/6] gpt: command: cosmetic: Replace printf with puts Tom Rini
2015-11-19 5:43 ` Lukasz Majewski
2015-11-13 6:42 ` [U-Boot] [PATCH 3/6] gpt: doc: README: Update README entry for gpt verify extension Lukasz Majewski
2015-11-18 23:38 ` Tom Rini
2015-11-13 6:42 ` [U-Boot] [PATCH 4/6] gpt: doc: Update gpt command's help description Lukasz Majewski
2015-11-18 23:38 ` Tom Rini
2015-11-23 22:44 ` [U-Boot] [U-Boot, " Tom Rini
2015-11-13 6:42 ` [U-Boot] [PATCH 5/6] gpt: part: Definition and declaration of GPT verification functions Lukasz Majewski
2015-11-18 23:39 ` Tom Rini
2015-11-13 6:42 ` [U-Boot] [PATCH 6/6] gpt: command: Extend gpt command to support GPT table verification Lukasz Majewski
2015-11-18 23:40 ` Tom Rini
2015-11-19 5:45 ` Lukasz Majewski
2015-11-20 7:06 ` [U-Boot] [PATCH v2 0/5] gpt: command: Add support for "gpt verify" command Lukasz Majewski
2015-11-20 7:06 ` [U-Boot] [PATCH v2 1/5] gpt: command: Remove duplicated check for empty partition description Lukasz Majewski
2015-11-23 22:44 ` [U-Boot] [U-Boot, v2, " Tom Rini
2015-11-20 7:06 ` [U-Boot] [PATCH v2 2/5] gpt: doc: README: Update README entry for gpt verify extension Lukasz Majewski
2015-11-23 22:44 ` [U-Boot] [U-Boot, v2, " Tom Rini
2015-11-20 7:06 ` [U-Boot] [PATCH v2 4/5] gpt: part: Definition and declaration of GPT verification functions Lukasz Majewski
2015-11-20 11:19 ` Przemyslaw Marczak
2015-11-23 22:44 ` [U-Boot] [U-Boot, v2, " Tom Rini
2015-11-24 9:56 ` Przemyslaw Marczak
2015-11-24 18:56 ` Tom Rini
2015-11-25 9:06 ` Przemyslaw Marczak
2015-11-20 7:06 ` [U-Boot] [PATCH v2 5/5] gpt: command: Extend gpt command to support GPT table verification Lukasz Majewski
2015-11-20 11:20 ` Przemyslaw Marczak
2015-11-23 22:44 ` [U-Boot] [U-Boot, v2, " Tom Rini
2015-11-23 22:43 ` [U-Boot] [PATCH v2 0/5] gpt: command: Add support for "gpt verify" command Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1447396932-26644-3-git-send-email-l.majewski@majess.pl \
--to=l.majewski@majess.pl \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.