Re: [PATCH] staging, gma500: Fix warning in power.c

From: Rakib Mullick
Date: Thu Dec 29 2011 - 00:43:08 EST


On Thu, Dec 29, 2011 at 11:31 AM, Rakib Mullick <rakib.mullick@xxxxxxxxx> wrote:
> On Wed, Dec 28, 2011 at 8:04 PM, Alan Cox <alan@xxxxxxxxxxxxxxx> wrote:
>> On Fri, 23 Dec 2011 00:46:45 +0600
>> Rakib Mullick <rakib.mullick@xxxxxxxxx> 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
>>
> The patch was prepared against 3.2-rc6 and at the time of preparing
> the patch that was the latest rc release.
>
Do I have to resend the patch, prepared against -rc7? Patch is on it's
way towards mainline through linux-next (Greg took it in his tree
previously). It might conflict during merging, not sure. If requires I
can send it again.

Thanks,
Rakib
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/