public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "J.A. Magallon" <jamagallon@able.es>
To: "J.A. Magallon" <jamagallon@able.es>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: [PATCH] signed char fixes for scripts
Date: Fri, 15 Jul 2005 22:14:43 +0000	[thread overview]
Message-ID: <1121465683l.13352l.5l@werewolf.able.es> (raw)
In-Reply-To: <1121465068l.13352l.0l@werewolf.able.es> (from jamagallon@able.es on Sat Jul 16 00:04:28 2005)


On 07.16, J.A. Magallon wrote:
> 
> On 07.15, Andrew Morton wrote:
> > 
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13-rc3/2.6.13-rc3-mm1/
> > 

This time I did not break anything... and they shut up gcc4 ;)

--- linux-2.6.12-jam1/scripts/mod/sumversion.c.orig	2005-06-21 23:44:30.000000000 +0200
+++ linux-2.6.12-jam1/scripts/mod/sumversion.c	2005-06-21 23:47:09.000000000 +0200
@@ -252,9 +252,9 @@
 }
 
 /* FIXME: Handle .s files differently (eg. # starts comments) --RR */
-static int parse_file(const signed char *fname, struct md4_ctx *md)
+static int parse_file(const char *fname, struct md4_ctx *md)
 {
-	signed char *file;
+	char *file;
 	unsigned long i, len;
 
 	file = grab_file(fname, &len);
@@ -332,7 +332,7 @@
 	   Sum all files in the same dir or subdirs.
 	*/
 	while ((line = get_next_line(&pos, file, flen)) != NULL) {
-		signed char* p = line;
+		char* p = line;
 		if (strncmp(line, "deps_", sizeof("deps_")-1) == 0) {
 			check_files = 1;
 			continue;
@@ -458,7 +458,7 @@
 	close(fd);
 }
 
-static int strip_rcs_crap(signed char *version)
+static int strip_rcs_crap(char *version)
 {
 	unsigned int len, full_len;
 
--- linux-2.6.12-jam1/scripts/lxdialog/inputbox.c.orig	2005-06-21 23:40:27.000000000 +0200
+++ linux-2.6.12-jam1/scripts/lxdialog/inputbox.c	2005-06-21 23:42:39.000000000 +0200
@@ -21,7 +21,7 @@
 
 #include "dialog.h"
 
-unsigned char dialog_input_result[MAX_LEN + 1];
+char dialog_input_result[MAX_LEN + 1];
 
 /*
  *  Print the termination buttons
@@ -48,7 +48,7 @@
 {
     int i, x, y, box_y, box_x, box_width;
     int input_x = 0, scroll = 0, key = 0, button = -1;
-    unsigned char *instr = dialog_input_result;
+    char *instr = dialog_input_result;
     WINDOW *dialog;
 
     /* center dialog box on screen */
--- linux-2.6.12-jam1/scripts/lxdialog/dialog.h.orig	2005-06-21 23:42:55.000000000 +0200
+++ linux-2.6.12-jam1/scripts/lxdialog/dialog.h	2005-06-21 23:43:19.000000000 +0200
@@ -163,7 +163,7 @@
 int dialog_checklist (const char *title, const char *prompt, int height,
 		int width, int list_height, int item_no,
 		const char * const * items, int flag);
-extern unsigned char dialog_input_result[];
+extern char dialog_input_result[];
 int dialog_inputbox (const char *title, const char *prompt, int height,
 		int width, const char *init);
 
--- linux-2.6.12-jam1/scripts/conmakehash.c.orig	2005-06-22 00:16:58.000000000 +0200
+++ linux-2.6.12-jam1/scripts/conmakehash.c	2005-06-22 00:17:21.000000000 +0200
@@ -33,7 +33,7 @@
 
 int getunicode(char **p0)
 {
-  unsigned char *p = *p0;
+  char *p = *p0;
 
   while (*p == ' ' || *p == '\t')
     p++;
--- linux-2.6.12-jam7/scripts/kallsyms.c.orig	2005-07-06 00:16:39.000000000 +0200
+++ linux-2.6.12-jam7/scripts/kallsyms.c	2005-07-06 00:42:24.000000000 +0200
@@ -166,9 +166,9 @@
 		 * move then they may get dropped in pass 2, which breaks the
 		 * kallsyms rules.
 		 */
-		if ((s->addr == _etext && strcmp(s->sym + offset, "_etext")) ||
-		    (s->addr == _einittext && strcmp(s->sym + offset, "_einittext")) ||
-		    (s->addr == _eextratext && strcmp(s->sym + offset, "_eextratext")))
+		if ((s->addr == _etext && strcmp((char*)s->sym + offset, "_etext")) ||
+		    (s->addr == _einittext && strcmp((char*)s->sym + offset, "_einittext")) ||
+		    (s->addr == _eextratext && strcmp((char*)s->sym + offset, "_eextratext")))
 			return 0;
 	}
 


--
J.A. Magallon <jamagallon()able!es>     \               Software is like sex:
werewolf!able!es                         \         It's better when it's free
Mandriva Linux release 2006.0 (Cooker) for i586
Linux 2.6.12-jam9 (gcc 4.0.1 (4.0.1-0.2mdk for Mandriva Linux release 2006.0))



  parent reply	other threads:[~2005-07-15 22:20 UTC|newest]

Thread overview: 91+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-15  8:36 2.6.13-rc3-mm1 Andrew Morton
2005-07-15  8:49 ` 2.6.13-rc3-mm1 Russell King
2005-07-15  8:56   ` 2.6.13-rc3-mm1 Andrew Morton
2005-07-15  9:03     ` 2.6.13-rc3-mm1 Russell King
2005-07-15  9:15       ` 2.6.13-rc3-mm1 Andrew Morton
2005-07-15  9:24 ` 2.6.13-rc3-mm1 Matthias Urlichs
2005-07-15 17:42   ` 2.6.13-rc3-mm1 Matthias Urlichs
2005-07-15 10:25 ` 2.6.13-rc3-mm1 Grant Coady
2005-07-15 10:36   ` 2.6.13-rc3-mm1 Andrew Morton
2005-07-15 10:27 ` 2.6.13-rc3-mm1: horribly drivers/scsi/qla2xxx/Makefile Adrian Bunk
2005-07-15 14:40   ` Andrew Vasquez
2005-07-16 17:26     ` Jindrich Makovicka
2005-07-19 14:04       ` [-mm patch] SCSI_QLA2ABC options must select FW_LOADER Adrian Bunk
2005-07-20 13:38         ` Jesper Juhl
2005-07-21 15:25           ` Adrian Bunk
2005-07-17  2:38     ` [2.6 patch] SCSI_QLA2ABC mustn't select SCSI_FC_ATTRS Adrian Bunk
2005-07-17  3:11       ` Lee Revell
2005-07-17  4:04         ` randy_dunlap
2005-07-17  4:20           ` Lee Revell
2005-07-15 15:00 ` 2.6.13-rc3-mm1 Christoph Hellwig
2005-07-15 20:16   ` 2.6.13-rc3-mm1 (ckrm) Andrew Morton
2005-07-17 15:20     ` Paul Jackson
2005-07-17 19:02       ` Mark Hahn
2005-07-21  1:40         ` Paul Jackson
2005-07-22  3:59         ` Shailabh Nagar
2005-07-22  4:27           ` Gerrit Huizenga
2005-07-22  4:53             ` Mark Hahn
2005-07-22  5:03               ` Gerrit Huizenga
2005-07-22  5:37                 ` Mark Hahn
2005-07-22 14:53               ` Alan Cox
2005-07-22 15:51                 ` Gerrit Huizenga
2005-07-22 16:35                   ` Mark Hahn
2005-07-22 19:27                     ` Alan Cox
2005-07-22 20:18                     ` [ckrm-tech] " Matthew Helsley
2005-07-23  0:23                       ` Mark Hahn
2005-07-23  4:19                         ` Matthew Helsley
2005-07-23 15:38                           ` Mark Hahn
2005-07-18 10:12       ` Hirokazu Takahashi
2005-07-21 22:37       ` Matthew Helsley
2005-07-21 23:32         ` Paul Jackson
2005-07-22  0:29           ` Martin J. Bligh
2005-07-22  3:46             ` Paul Jackson
2005-07-22  4:07               ` Shailabh Nagar
2005-07-22 19:53                 ` Paul Jackson
2005-07-28 20:15                   ` Shailabh Nagar
2005-07-28 22:54                     ` Paul Jackson
2005-07-22  1:06           ` Peter Williams
2005-07-22  3:00             ` Gerrit Huizenga
2005-07-22  3:46               ` Peter Williams
2005-07-22  3:55                 ` Gerrit Huizenga
2005-07-15 17:13 ` 2.6.13-rc3-mm1 Joel Becker
2005-07-15 22:04 ` [PATCH] Assorted fixes J.A. Magallon
2005-07-15 22:11   ` [PATCH] fix LDT tss J.A. Magallon
2005-07-15 22:11   ` [PATCH] fix kmalloc in IDE J.A. Magallon
2005-07-15 22:12   ` [PATCH] SCSI SATA is a tristate J.A. Magallon
2005-07-15 22:13   ` [PATCH] SMB fix J.A. Magallon
2005-07-15 22:14   ` J.A. Magallon [this message]
2005-07-16  9:52     ` [PATCH] signed char fixes for scripts Sam Ravnborg
2005-07-18 11:16       ` Paulo Marques
2005-07-18 11:29         ` Paulo Marques
2005-07-27 20:27     ` Sam Ravnborg
2005-07-27 23:36       ` J.A. Magallon
2005-07-28 10:02         ` Paulo Marques
2005-07-28 10:16           ` Bernd Petrovitsch
2005-07-28 10:40             ` Paulo Marques
2005-07-28 11:05               ` Bernd Petrovitsch
2005-07-15 22:52 ` 2.6.13-rc3-mm1 Yoichi Yuasa
2005-07-15 23:00   ` 2.6.13-rc3-mm1 Yoichi Yuasa
2005-07-15 23:23   ` 2.6.13-rc3-mm1 Andrew Morton
2005-07-16  1:08     ` 2.6.13-rc3-mm1 Yoichi Yuasa
2005-07-16 21:30 ` 2.6.13-rc3-mm1: a regression Rafael J. Wysocki
2005-07-16 21:39   ` Andrew Morton
2005-07-17 20:11     ` Rafael J. Wysocki
2005-07-16 22:12 ` 2.6.13-rc3-mm1 : oops in dnotify_parent Laurent Riffard
2005-07-17  1:32 ` 2.6.13-rc3-mm1 Joseph Fannin
2005-07-18 11:41   ` 2.6.13-rc3-mm1 Pavel Machek
2005-07-18 14:21   ` 2.6.13-rc3-mm1 Joseph Fannin
2005-07-17 20:20 ` 2.6.13-rc3-mm1: mount problems w/ 3ware on dual Opteron Rafael J. Wysocki
2005-07-19 14:21 ` 2.6.13-rc3-mm1 Coywolf Qi Hunt
2005-07-19 14:42   ` [patch] kbuild: make help binrpm-pkg fix Coywolf Qi Hunt
2005-07-21 21:46     ` Sam Ravnborg
2005-07-21 11:37 ` 2.6.13-rc3-mm1 - breaks DRI Ed Tomlinson
2005-07-21 15:56   ` Andrew Morton
2005-07-21 22:37     ` Ed Tomlinson
2005-07-21 23:18     ` Dave Airlie
2005-07-22 21:17 ` [-mm patch] kernel/ckrm/rbce/rbce_core.c: fix -Wundef warning Adrian Bunk
2005-07-24 16:20 ` 2.6.13-rc3-mm1 Richard Purdie
2005-07-25  6:42   ` 2.6.13-rc3-mm1 Andrew Morton
2005-07-25  9:35     ` [patch] Stop the nand functions triggering false softlockup reports Richard Purdie
2005-07-28 12:50 ` 2.6.13-rc3-mm1 compiles unrequested/unconfigured module! Helge Hafting
2005-07-28 12:56   ` Adrian Bunk

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=1121465683l.13352l.5l@werewolf.able.es \
    --to=jamagallon@able.es \
    --cc=akpm@osdl.org \
    --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