From: Hannes Reinecke <hare@suse.de>
To: christophe varoqui <christophe.varoqui@free.fr>
Cc: device-mapper development <dm-devel@redhat.com>
Subject: [PATCH] kpartx compilation fix
Date: Fri, 09 Dec 2005 13:07:10 +0100 [thread overview]
Message-ID: <4399736E.1060705@suse.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 303 bytes --]
Hi Christophe,
this is a small compile fix for dasd.c; a pointer to unsigned char
should be of type unsigned char ...
Cheers,
Hannes
--
Dr. Hannes Reinecke hare@suse.de
SuSE Linux Products GmbH S390 & zSeries
Maxfeldstraße 5 +49 911 74053 688
90409 Nürnberg http://www.suse.de
[-- Attachment #2: kpartx-dasd-compilation-fix.patch --]
[-- Type: text/x-patch, Size: 497 bytes --]
[kpartx] compilation fixes for dasd.c
If a pointer points to an unsigned char it should be of the correct
type.
Signed-off-by: Hannes Reinecke <hare@suse.de>
diff --git a/kpartx/dasd.c b/kpartx/dasd.c
--- a/kpartx/dasd.c
+++ b/kpartx/dasd.c
@@ -52,7 +52,7 @@ read_dasd_pt(int fd, struct slice all, s
struct hd_geometry geo;
char type[5] = {0,};
char name[7] = {0,};
- char *label_raw;
+ unsigned char *label_raw;
volume_label_t vlabel;
unsigned char *data = NULL;
unsigned int blk;
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
reply other threads:[~2005-12-09 12:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4399736E.1060705@suse.de \
--to=hare@suse.de \
--cc=christophe.varoqui@free.fr \
--cc=dm-devel@redhat.com \
/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.