mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Compilation error 2.5.66 allyesconfig
@ 2003-03-28 12:44 Per Persson
  0 siblings, 0 replies; only message in thread
From: Per Persson @ 2003-03-28 12:44 UTC (permalink / raw)
  To: linux-kernel

Making an allyesconfig-kernel doesn't work. There's a problem in
fs/cramfs/inode.c:

[per@linus linux-2.5.66]$ make mrproper; make allyesconfig; make

fs/cramfs/inode.c: In function `get_cramfs_inode':
fs/cramfs/inode.c:54: incompatible types in assignment
make[2]: *** [fs/cramfs/inode.o] Error 1
make[1]: *** [fs/cramfs] Error 2
make: *** [fs] Error 2

It seems to be this line:
inode->i_mtime = inode->i_atime = inode->i_ctime = 0;

inode->i_{m,a,c}time are 'struct timespec' not integers.

Changing the line to the following solves it, but is perhaps not the best
solution:
inode->i_mtime = inode->i_atime = inode->i_ctime = ((struct timespec) {0,
0});

Per Persson
Gnosjö, Sweden

E-mail: per.persson@gnosjo.pp.se



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-03-28 12:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-28 12:44 Compilation error 2.5.66 allyesconfig Per Persson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®