All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yuanhan Liu <yuanhan.liu@intel.com>
To: kernel-janitors@vger.kernel.org
Subject: [nouveau:master 45/83] drivers/gpu/drm/nouveau/core/subdev/bios/base.c:66:12: warning: unused
Date: Sat, 15 Sep 2012 13:37:05 +0000	[thread overview]
Message-ID: <20120915133705.GD3578@yliu-dev.sh.intel.com> (raw)

Hi Ben,

FYI, there are new compile warnings show up in

tree:   git://git.freedesktop.org/git/nouveau/linux-2.6 master
head:   0a5cdb723f451765f2ae825884ec8cf47b0cc57b
commit: 08e4708a92bb418b09685c60895bbbd23bfb22d5 [45/83] drm/nouveau: port remainder of drm code, and rip out compat layer
config: powerpc-allmodconfig

All error/warnings:

drivers/gpu/drm/nouveau/core/subdev/bios/base.c: In function 'nouveau_bios_shadow_of':
drivers/gpu/drm/nouveau/core/subdev/bios/base.c:66:12: warning: unused variable 'i' [-Wunused-variable]

git checkout 08e4708a92bb418b09685c60895bbbd23bfb22d5
vim +66 drivers/gpu/drm/nouveau/core/subdev/bios/base.c
    56		return 0;
    57	}
    58	
    59	#if defined(__powerpc__)
    60	static void
    61	nouveau_bios_shadow_of(struct nouveau_bios *bios)
    62	{
    63		struct pci_dev *pdev = nv_device(bios)->pdev;
    64		struct device_node *dn;
    65		const u32 *data;
  > 66		int size, i;
    67	
    68		dn = pci_device_to_OF_node(pdev);
    69		if (!dn) {
    70			nv_info(bios, "Unable to get the OF node\n");
    71			return;
    72		}
    73	
    74		data = of_get_property(dn, "NVDA,BMP", &size);
    75		if (data) {
    76			bios->size = size;

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

                 reply	other threads:[~2012-09-15 13:37 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=20120915133705.GD3578@yliu-dev.sh.intel.com \
    --to=yuanhan.liu@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.