mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Satish Eerpini" <eerpini@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: patching kdb to Centos kernel : error
Date: Sun, 17 Aug 2008 11:30:41 +0530	[thread overview]
Message-ID: <93655eb70808162300i4286eac9p9aa34cf23359ff72@mail.gmail.com> (raw)

hi everyone , i was trying to patch kdb with CentOS 5.0 kernel
(2.6.18-8) , and had a few rejects ( which i am still trying to
resolve) ,.... but apart from the rejects during the kernel
compilation i got the following error which does not seem to have
anything to do with the rejects ............
i have got an error in a kdb module, which has nothing to do with the
rejected patches ( or so i guess ) :

              kdb/modules/kdbm_pg.c: In function 'kdbm_show_page':
              kdb/modules/kdbm_pg.c:349: error: implicit declaration
of function 'PageChecked'
              kdb/modules/kdbm_pg.c: In function 'kdbm_inode':
              kdb/modules/kdbm_pg.c:507: error: 'struct inode' has no
member named 'u'

 the code(in kdb/modules/kdbm_pg.c) which is causing the second error
is something like this :

             iaddr += offsetof(struct inode, u);

what i am not able to understand is that if 'u' is not a correct
member of the inode , .. then what did they( whoever wrote this piece
code) intend by 'u' ? , .....

....
and for the first error , ... i just checked out the code ....
according to the line no shown in the error .....the code is :

             kdb_page_flags(page, Checked);

and i don't see any function PageChecked ....! so what can the error
actually mean ??

Thanks in advance
Satish
--
http://satish.playdrupal.com

             reply	other threads:[~2008-08-17  6:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-17  6:00 Satish Eerpini [this message]
2008-08-17  6:42 ` Valdis.Kletnieks
2008-08-17 11:13   ` Satish Eerpini

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=93655eb70808162300i4286eac9p9aa34cf23359ff72@mail.gmail.com \
    --to=eerpini@gmail.com \
    --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®