drm/drv: Remove initialization of static variables
Subsystems (2)
PATCH 1/1 drm/drv: Remove initialization of static variables
Address the following checkpatch errors:
ERROR: do not initialise statics to false
Signed-off-by Tian Tao <[email protected]>
--- drivers/gpu/drm/drm_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/drm_drv.c +1 -1
@@ -61,7 +61,7 @@ static struct idr drm_minors_idr;* prefer to embed struct drm_device into their own device * structure and call drm_dev_init() themselves. */ -static bool drm_core_init_complete = false; +static bool drm_core_init_complete;static struct dentry *drm_debugfs_root;
Signature · 6 lines
2.7.4 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Am 19.02.21 um 03:30 schrieb Tian Tao:
Quoted 4 lines
Address the following checkpatch errors:
ERROR: do not initialise statics to falseSigned-off-by Tian Tao <[email protected]>
Thanks for the patch.
Quoted 18 lines
--- drivers/gpu/drm/drm_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/drm_drv.c +1
-1@@ -61,7 +61,7 @@ static struct idr drm_minors_idr;* prefer to embed struct drm_device into their own device * structure and call drm_dev_init() themselves. */ -static bool drm_core_init_complete = false; +static bool drm_core_init_complete;static struct dentry *drm_debugfs_root;
Signature · 6 lines
Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Maxfeldstr. 5, 90409 Nürnberg, Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Felix Imendörffer
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel