All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@intel.com>
To: kernel-janitors@vger.kernel.org
Subject: [xen:linux-next-pvh 16/17] drivers/xen/privcmd.c:296:3: error: implicit declaration of function 'pvh
Date: Sat, 22 Sep 2012 00:31:46 +0000	[thread overview]
Message-ID: <20120922003146.GE5959@localhost> (raw)

Hi Mukesh,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git linux-next-pvh
head:   4bbc734b89e508f2287c1e6a0ac857f471fb3dc8
commit: c36251726a6d29514161bceaf87a067c177c3aa2 [16/17] PVH privcmd changes
config: x86_64-allmodconfig

All related error/warning messages:

drivers/xen/privcmd.c: In function 'mmap_batch_fn':
drivers/xen/privcmd.c:296:3: error: implicit declaration of function 'pvh_privcmd_resv_pfns' [-Werror=implicit-function-declaration]
drivers/xen/privcmd.c:296:41: error: 'm' undeclared (first use in this function)
drivers/xen/privcmd.c:296:41: note: each undeclared identifier is reported only once for each function it appears in
drivers/xen/privcmd.c:297:14: error: 'mm' undeclared (first use in this function)
drivers/xen/privcmd.c: At top level:
drivers/xen/privcmd.c:324:12: error: static declaration of 'pvh_privcmd_resv_pfns' follows non-static declaration
drivers/xen/privcmd.c:296:14: note: previous implicit declaration of 'pvh_privcmd_resv_pfns' was here
drivers/xen/privcmd.c:515:24: error: expected '}' before ';' token
drivers/xen/privcmd.c:324:12: warning: 'pvh_privcmd_resv_pfns' defined but not used [-Wunused-function]
drivers/xen/privcmd.c:505:12: warning: 'privcmd_fault' defined but not used [-Wunused-function]
cc1: some warnings being treated as errors

vim +296 drivers/xen/privcmd.c
   290				if (st->global_error = 0)
   291					st->global_error = 1;
   292			}
   293		}
   294		st->va += PAGE_SIZE;
   295		if (xen_pv_domain() && xen_feature(XENFEAT_auto_translated_physmap)) {
 > 296			if ((ret = pvh_privcmd_resv_pfns(vma, m.num))) {
   297				up_write(&mm->mmap_sem);
   298			}
   299		}

---
0-DAY kernel build testing backend         Open Source Technology Centre
Fengguang Wu, Yuanhan Liu                              Intel Corporation

                 reply	other threads:[~2012-09-22  0:31 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=20120922003146.GE5959@localhost \
    --to=fengguang.wu@intel.com \
    --cc=kernel-janitors@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 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.