From: roel kluin <roel.kluin@gmail.com>
To: tytso@mit.edu, linux-ext4@vger.kernel.org
Subject: [PATCH] ext4: simple_strtol returns signed.
Date: Sat, 18 Oct 2008 16:21:44 -0400 [thread overview]
Message-ID: <48FA4558.2020603@gmail.com> (raw)
simple_strtol returns signed.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
---
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 9b2b2bc..1789dec 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -3516,7 +3516,7 @@ static ssize_t ext4_ui_proc_write(struct file *file, const char __user *buf,
{
unsigned int *p = PDE(file->f_path.dentry->d_inode)->data;
char str[32];
- unsigned long value;
+ long value;
if (cnt >= sizeof(str))
return -EINVAL;
next reply other threads:[~2008-10-18 14:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-18 20:21 roel kluin [this message]
2008-10-18 14:36 ` [PATCH] ext4: simple_strtol returns signed Theodore Tso
2008-10-21 2:00 ` roel kluin
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=48FA4558.2020603@gmail.com \
--to=roel.kluin@gmail.com \
--cc=linux-ext4@vger.kernel.org \
--cc=tytso@mit.edu \
/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;
as well as URLs for NNTP newsgroup(s).