All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bernd Petrovitsch <bernd@gams.at>
To: bboett@adlp.org
Cc: linux-kernel@vger.kernel.org, Sean Neakums <sneakums@zork.net>
Subject: Re: 2.5.66 not compiling
Date: Mon, 07 Apr 2003 17:54:07 +0200	[thread overview]
Message-ID: <7216.1049730847@frodo.gams.co.at> (raw)
In-Reply-To: Your message of "Mon, 07 Apr 2003 17:30:06 +0200." <20030407153006.GC1088@adlp.org>

bboett@bboett.dyndns.org (Bruno Boettcher) wrote:
>make -f scripts/Makefile.build obj=fs/cramfs
>  gcc -Wp,-MD,fs/cramfs/.inode.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-proto
>types -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-st
>ack-boundary=2 -march=athlon -Iinclude/asm-i386/mach-default -fomit-frame-poin
>ter -nostdinc -iwithprefix include    -DKBUILD_BASENAME=inode -DKBUILD_MODNAME
>=cramfs -c -o fs/cramfs/.tmp_inode.o fs/cramfs/inode.c
>fs/cramfs/inode.c: In function `get_cramfs_inode':
>fs/cramfs/inode.c:54: incompatible types in assignment
>make[2]: *** [fs/cramfs/inode.o] Fehler 1
>
>not the faintest idea on what did get wrong... so if someone has an
>idea... i will take it :D 

--- fs/cramfs/inode.c-orig	Thu Mar 27 14:17:22 2003
+++ fs/cramfs/inode.c	Thu Mar 27 13:47:56 2003
@@ -51,7 +51,9 @@
 		inode->i_blocks = (cramfs_inode->size - 1) / 512 + 1;
 		inode->i_blksize = PAGE_CACHE_SIZE;
 		inode->i_gid = cramfs_inode->gid;
-		inode->i_mtime = inode->i_atime = inode->i_ctime = 0;
+		inode->i_mtime.tv_sec = inode->i_mtime.tv_nsec = 
+			inode->i_atime.tv_sec = inode->i_atime.tv_nsec = 
+			inode->i_ctime.tv_sec = inode->i_ctime.tv_nsec = 0;
 		inode->i_ino = CRAMINO(cramfs_inode);
 		/* inode->i_nlink is left 1 - arguably wrong for directories,
 		   but it's the best we can do without reading the directory

	Bernd
-- 
Bernd Petrovitsch                              Email : bernd@gams.at
g.a.m.s gmbh                                  Fax : +43 1 205255-900
Prinz-Eugen-Straße 8                    A-1040 Vienna/Austria/Europe
                     LUGA : http://www.luga.at



      parent reply	other threads:[~2003-04-07 15:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-07 15:30 2.5.66 not compiling Bruno Boettcher
2003-04-07 15:44 ` Sean Neakums
2003-04-07 15:54 ` Bernd Petrovitsch [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=7216.1049730847@frodo.gams.co.at \
    --to=bernd@gams.at \
    --cc=bboett@adlp.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sneakums@zork.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.