From: Alan Cox <alan@linux.intel.com>
To: Rakib Mullick <rakib.mullick@gmail.com>
Cc: linux-kernel@vger.kernel.org, Greg Kroah-Hartman <gregkh@suse.de>,
akpm@linux-foundation.org
Subject: Re: [PATCH] staging, gma500: Fix warning in power.c
Date: Wed, 28 Dec 2011 14:04:45 +0000 [thread overview]
Message-ID: <20111228140445.70c11f9c@bob.linux.org.uk> (raw)
In-Reply-To: <1324579605.19018.3.camel@localhost.localdomain>
On Fri, 23 Dec 2011 00:46:45 +0600
Rakib Mullick <rakib.mullick@gmail.com> wrote:
> gma_resume_display() wants 'struct pci_dev *' as it's parameter, so
> lets pass dev->pdev instead of dev. Fixes the following warning.
>
> drivers/staging/gma500/power.c: In function ‘gma_power_begin’:
> drivers/staging/gma500/power.c:269:3: warning: passing argument 1 of
> ‘gma_resume_display’ from incompatible pointer type
> drivers/staging/gma500/power.c:99:13: note: expected ‘struct pci_dev
> *’ but argument is of type ‘struct drm_device *’
This staging driver is now dead and replaced with
drivers/gpu/drm/gma500/. Thanks for the fix however
Alan
next prev parent reply other threads:[~2011-12-28 13:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-22 18:46 [PATCH] staging, gma500: Fix warning in power.c Rakib Mullick
2011-12-28 14:04 ` Alan Cox [this message]
2011-12-29 5:31 ` Rakib Mullick
2011-12-29 5:42 ` Rakib Mullick
2011-12-29 12:25 ` Alan Cox
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=20111228140445.70c11f9c@bob.linux.org.uk \
--to=alan@linux.intel.com \
--cc=akpm@linux-foundation.org \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=rakib.mullick@gmail.com \
/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.