Hi Nicolas,
On 4 March 2016 at 10:52, Nicolas Dichtel nicolas.dichtel@6wind.com wrote:
Let's use __KERNEL_DIV_ROUND_UP, which is defined in uapi/linux/kernel.h.
Signed-off-by: Nicolas Dichtel nicolas.dichtel@6wind.com
.../drm/vmwgfx/device_include/svga3d_surfacedefs.h | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-)
diff --git a/drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h b/drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h index 58704f0a4607..531d22025fec 100644 --- a/drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h +++ b/drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h @@ -25,6 +25,8 @@
**************************************************************************/
+#include <linux/kernel.h>
Files from DRM modules tend to be used in various (crazy) ways. Be that in linux and/or other user space.
Fairly certain that everything is fine here, just adding one of the core vmwgfx developers.
Thomas, this won't cause any issues would it ?
Can you guys please add an entry for vmwgfx to MAINTAINERS, so that people can CC you guys on patches that touch the driver ?
Thanks Emil