[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1304920537-3975-1-git-send-email-tm@tao.ma>
Date: Mon, 9 May 2011 13:55:37 +0800
From: Tao Ma <tm@....ma>
To: axboe@...nel.dk
Cc: linux-next@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: linux-next: build warning after merge of the block tree
Hi Jens,
Sorry for the trouble. Here is the fix.
>From 60bf0c0972c0d0d237e30e1f1c79356f4aefa138 Mon Sep 17 00:00:00 2001
From: Tao Ma <boyu.mt@...bao.com>
Date: Mon, 9 May 2011 13:39:49 +0800
Subject: [PATCH] block: Change wrong type cast in part_discard_alignment_show.
Use 'unsigned int' instead of 'unsigned long long' introduced by commit
"block: Remove extra discard_alignment from hd_struct".
Signed-off-by: Tao Ma <boyu.mt@...bao.com>
---
fs/partitions/check.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/partitions/check.c b/fs/partitions/check.c
index b7e16bc..b2bae85 100644
--- a/fs/partitions/check.c
+++ b/fs/partitions/check.c
@@ -258,7 +258,7 @@ ssize_t part_discard_alignment_show(struct device *dev,
struct gendisk *disk = dev_to_disk(dev);
return sprintf(buf, "%u\n",
- (unsigned long long)queue_limit_discard_alignment(
+ (unsigned int)queue_limit_discard_alignment(
&disk->queue->limits,
p->start_sect));
}
--
1.7.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists