From: Felix Oxley <lkml@oxley.org>
To: jffs-dev@axis.com
Cc: linux-kernel@vger.kernel.org, kernel-janitors@lists.osdl.org
Subject: [PATCH] intrep.c char -> unsigned char
Date: Sat, 8 Oct 2005 16:45:20 +0100 [thread overview]
Message-ID: <200510081645.22440.lkml@oxley.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 711 bytes --]
Hi,
IANAKH but I believe you need the following patch.
As suggested on the Kernel Janitors To Do list, I have been searching for
chars > 127.
I only found this one!
If the fix is correct please, ACK and push upstream.
regards,
Felix
--- fs/jffs/intrep.c.orig 2005-10-08 15:47:13.000000000 +0100
+++ fs/jffs/intrep.c 2005-10-08 16:13:16.000000000 +0100
@@ -1969,7 +1969,7 @@ retry:
iovec_cnt++;
if (JFFS_GET_PAD_BYTES(raw_inode->nsize)) {
- static char allff[3]={255,255,255};
+ static unsigned char allff[3]={255,255,255};
/* Add some extra padding if necessary */
node_iovec[iovec_cnt].iov_base = allff;
node_iovec[iovec_cnt].iov_len =
Signed-off-by: Felix Oxley <lkml@oxley.org>
[-- Attachment #2: patch-intrep.c-2.6.13 --]
[-- Type: text/x-diff, Size: 428 bytes --]
--- fs/jffs/intrep.c.orig 2005-10-08 15:47:13.000000000 +0100
+++ fs/jffs/intrep.c 2005-10-08 16:13:16.000000000 +0100
@@ -1969,7 +1969,7 @@ retry:
iovec_cnt++;
if (JFFS_GET_PAD_BYTES(raw_inode->nsize)) {
- static char allff[3]={255,255,255};
+ static unsigned char allff[3]={255,255,255};
/* Add some extra padding if necessary */
node_iovec[iovec_cnt].iov_base = allff;
node_iovec[iovec_cnt].iov_len =
reply other threads:[~2005-10-08 15:45 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=200510081645.22440.lkml@oxley.org \
--to=lkml@oxley.org \
--cc=jffs-dev@axis.com \
--cc=kernel-janitors@lists.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
Powered by JetHome