public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Brian Gerst <bgerst@didntduck.org>
To: Gregoire Favre <greg@ulima.unil.ch>
Cc: linux-kernel@vger.kernel.org, Linus Torvalds <torvalds@transmeta.com>
Subject: [PATCH] Re: 2.5.7 hfs modules compil error
Date: Mon, 18 Mar 2002 18:25:12 -0500	[thread overview]
Message-ID: <3C967758.1010102@didntduck.org> (raw)
In-Reply-To: <20020318215221.GA942@ulima.unil.ch>

[-- Attachment #1: Type: text/plain, Size: 428 bytes --]

Gregoire Favre wrote:
> Hello,
> 
> gcc -D__KERNEL__ -I/usr/src/linux-2.5/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
> -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE
> -DKBUILD_BASENAME=super  -c -o super.o super.c
> super.c: In function `hfs_fill_super':
> super.c:536: `sb' undeclared (first use in this function)

Typo fixed.

-- 

						Brian Gerst

[-- Attachment #2: sb-hfs-2 --]
[-- Type: text/plain, Size: 319 bytes --]

diff -urN linux-2.5.7/fs/hfs/super.c linux/fs/hfs/super.c
--- linux-2.5.7/fs/hfs/super.c	Mon Mar 18 16:14:15 2002
+++ linux/fs/hfs/super.c	Mon Mar 18 17:06:11 2002
@@ -533,7 +533,7 @@
 	set_blocksize(dev, BLOCK_SIZE);
 bail3:
 	kfree(sbi);
-	sb->u.generic_sbp = NULL;
+	s->u.generic_sbp = NULL;
 	return -EINVAL;	
 }
 

      reply	other threads:[~2002-03-18 23:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-18 21:52 2.5.7 hfs modules compil error Gregoire Favre
2002-03-18 23:25 ` Brian Gerst [this message]

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=3C967758.1010102@didntduck.org \
    --to=bgerst@didntduck.org \
    --cc=greg@ulima.unil.ch \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /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