Re: Mobility Radeon HD 4530/4570/545v: warnings

From: Pavel Machek
Date: Mon Nov 02 2015 - 02:31:42 EST


Hi!

One more thing: in my config, I get ton of warnings. I'm not using
modules, so everything is built-in.

Best regards,
Pavel


In file included from drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c:24:0:
drivers/gpu/drm/amd/amdgpu/amdgpu.h:1754:12: warning: âamdgpu_mn_registerâ defined but not used [-Wunused-function]
static int amdgpu_mn_register(struct amdgpu_bo *bo, unsigned long addr)
^
drivers/gpu/drm/amd/amdgpu/amdgpu.h:1758:13: warning: âamdgpu_mn_unregisterâ defined but not used [-Wunused-function]
static void amdgpu_mn_unregister(struct amdgpu_bo *bo) {}
^
CC drivers/gpu/drm/amd/amdgpu/atombios_dp.o
In file included from drivers/gpu/drm/amd/amdgpu/atombios_dp.c:29:0:
drivers/gpu/drm/amd/amdgpu/amdgpu.h:1754:12: warning: âamdgpu_mn_registerâ defined but not used [-Wunused-function]
static int amdgpu_mn_register(struct amdgpu_bo *bo, unsigned long addr)
^
drivers/gpu/drm/amd/amdgpu/amdgpu.h:1758:13: warning: âamdgpu_mn_unregisterâ defined but not used [-Wunused-function]
static void amdgpu_mn_unregister(struct amdgpu_bo *bo) {}
^

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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/