Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm: use ATOMIC64_INIT() for atomic64_t

use ATOMIC64_INIT() not ATOMIC_INIT() for atomic64_t

Fixes: 3f09a0cd4ea3 ("drm: Add common fdinfo helper")
Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240111023045.50013-1-jsg@jsg.id.au
Signed-off-by: Jani Nikula <jani.nikula@intel.com>

authored by

Jonathan Gray and committed by
Jani Nikula
9877bb27 946f2b6a

+1 -1
+1 -1
drivers/gpu/drm/drm_file.c
··· 129 129 */ 130 130 struct drm_file *drm_file_alloc(struct drm_minor *minor) 131 131 { 132 - static atomic64_t ident = ATOMIC_INIT(0); 132 + static atomic64_t ident = ATOMIC64_INIT(0); 133 133 struct drm_device *dev = minor->dev; 134 134 struct drm_file *file; 135 135 int ret;