mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Per Persson" <per.persson@gnosjo.pp.se>
To: <linux-kernel@vger.kernel.org>
Subject: Compilation error 2.5.66 allyesconfig
Date: Fri, 28 Mar 2003 13:44:31 +0100	[thread overview]
Message-ID: <001d01c2f527$c9ebaaf0$0e02a8c0@solveig> (raw)

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



                 reply	other threads:[~2003-03-28 12:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='001d01c2f527$c9ebaaf0$0e02a8c0@solveig' \
    --to=per.persson@gnosjo.pp.se \
    --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

all inboxes | Powered by JetHome®