From: Michael Miller <commnerd@gmail.com>
To: axboe@kernel.dk
Cc: linux-kernel@vger.kernel.org, Michael Miller <commnerd@gmail.com>
Subject: [PATCH] block/partitions/acorn.c: Changed string pointer declaration to array declaration for fewer asm statements
Date: Wed, 27 Jun 2012 09:41:20 -0600 [thread overview]
Message-ID: <1340811680-3556-1-git-send-email-commnerd@gmail.com> (raw)
Signed-off-by: Michael Miller <commnerd@gmail.com>
---
block/partitions/acorn.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/block/partitions/acorn.c b/block/partitions/acorn.c
index fbeb697..bf5847e 100644
--- a/block/partitions/acorn.c
+++ b/block/partitions/acorn.c
@@ -168,7 +168,7 @@ int adfspart_check_CUMANA(struct parsed_partitions *state)
unsigned int start_blk = 0;
Sector sect;
unsigned char *data;
- char *name = "CUMANA/ADFS";
+ char name[] = "CUMANA/ADFS";
int first = 1;
int slot = 1;
--
1.7.2.5
next reply other threads:[~2012-06-27 15:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-27 15:41 Michael Miller [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-07-06 7:14 [PATCH] block/partitions/acorn.c: Changed string pointer declaration to array declaration for fewer asm statements Michael Miller
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=1340811680-3556-1-git-send-email-commnerd@gmail.com \
--to=commnerd@gmail.com \
--cc=axboe@kernel.dk \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox