[PATCH] drm: fix drm-get-put.cocci warnings

Joel Stanley joel at jms.id.au
Mon Apr 16 09:44:05 UTC 2018


On 16 April 2018 at 17:15, Daniel Vetter <daniel at ffwll.ch> wrote:
> On Thu, Apr 12, 2018 at 07:54:10AM +0200, Julia Lawall wrote:
>> From: Fengguang Wu <fengguang.wu at intel.com>
>>
>>  Use drm_*_get() and drm_*_put() helpers instead of drm_*_reference() and
>>  drm_*_unreference() helpers.
>>
>> Generated by: scripts/coccinelle/api/drm-get-put.cocci
>>
>> Fixes: 6784ac15bc68 ("drm: Add ASPEED GFX driver")
>> Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
>> Signed-off-by: Julia Lawall <julia.lawall at lip6.fr>
>> ---
>>
>> tree:   https://github.com/shenki/linux drm-v1
>
> This isn't an upstream tree (and the aspeed driver isn't in upstream
> afaict), so no need for spamming mailing lists I think.

Agreed.

Julia, I am happy getting a heads up about changes from the 0day bots,
but I would prefer not to spam others or the lists. If we can't
restrict the emails to just me then perhaps it's best to disable them
for github.com/shenki/linux.git.

FWIW, the aspeed gfx driver has been posted to dri-devel so it will be
upstream soon-ish.

Cheers,

Joel


More information about the dri-devel mailing list