The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rddunlap@osdl.org>
To: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>, akpm@digeo.com
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: [PATCH] fat-fs printk arg. fix
Date: Tue, 3 Jun 2003 16:02:00 -0700	[thread overview]
Message-ID: <20030603160200.04991141.rddunlap@osdl.org> (raw)

Hi,

A recent fatfs patch for large partitions upset printk.
Here's a patch for it.

--
~Randy


patch_name:	fat-printk.patch
patch_version:	2003-06-03.15:37:48
author:		Randy.Dunlap <rddunlap@osdl.org>
description:	printk() args are unhappy with recent change for large
		partition support;
product:	Linux
product_versions: 2.5.70
maintainer:	OGAWA Hirofumi
diffstat:	=
 fs/fat/misc.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Naur ./fs/fat/misc.c%PRTK ./fs/fat/misc.c
--- ./fs/fat/misc.c%PRTK	2003-06-02 14:35:15.000000000 -0700
+++ ./fs/fat/misc.c	2003-06-03 14:40:49.000000000 -0700
@@ -311,7 +311,7 @@
 	*bh = sb_bread(sb, phys);
 	if (*bh == NULL) {
 		printk(KERN_ERR "FAT: Directory bread(block %llu) failed\n",
-		       phys);
+		       (u64)phys);
 		/* skip this block */
 		*pos = (iblock + 1) << sb->s_blocksize_bits;
 		goto next;

             reply	other threads:[~2003-06-03 22:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-03 23:02 Randy.Dunlap [this message]
2003-06-03 23:11 ` [PATCH] fat-fs printk arg. fix Andrew Morton
2003-06-04  1:14 ` OGAWA Hirofumi
     [not found] <174530962@toto.iv>
2003-06-04  3:12 ` Peter Chubb

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=20030603160200.04991141.rddunlap@osdl.org \
    --to=rddunlap@osdl.org \
    --cc=akpm@digeo.com \
    --cc=hirofumi@mail.parknet.co.jp \
    --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