lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20250612091237.14425-1-luc@sietium.com>
Date: Thu, 12 Jun 2025 17:12:37 +0800
From: onion0709@...il.com
To: dri-devel@...ts.freedesktop.org
Cc: Luc Ma <luc@...tium.com>,
	Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
	Maxime Ripard <mripard@...nel.org>,
	Thomas Zimmermann <tzimmermann@...e.de>,
	David Airlie <airlied@...il.com>,
	Simona Vetter <simona@...ll.ch>,
	linux-kernel@...r.kernel.org
Subject: [PATCH] drm/doc: Fix doc in drm_file

From: Luc Ma <luc@...tium.com>

Add missing type of variable in the example

Signed-off-by: Luc Ma <luc@...tium.com>
---
 drivers/gpu/drm/drm_file.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/drm_file.c b/drivers/gpu/drm/drm_file.c
index 246cf845e2c9..96696fca50a0 100644
--- a/drivers/gpu/drm/drm_file.c
+++ b/drivers/gpu/drm/drm_file.c
@@ -95,7 +95,7 @@ bool drm_dev_needs_global_mutex(struct drm_device *dev)
  * No other file operations are supported by the DRM userspace API. Overall the
  * following is an example &file_operations structure::
  *
- *     static const example_drm_fops = {
+ *     static const struct file_operations example_drm_fops = {
  *             .owner = THIS_MODULE,
  *             .open = drm_open,
  *             .release = drm_release,
-- 
2.39.2


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ