[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230516160753.32317-1-rf@opensource.cirrus.com>
Date: Tue, 16 May 2023 17:07:48 +0100
From: Richard Fitzgerald <rf@...nsource.cirrus.com>
To: <gregkh@...uxfoundation.org>, <rafael@...nel.org>
CC: <linux-kernel@...r.kernel.org>, <patches@...nsource.cirrus.com>,
Richard Fitzgerald <rf@...nsource.cirrus.com>
Subject: [PATCH 0/5] debugfs: Fixes and improvements to debugfs_create_str()
Fix NULL-deference bug, kerneldoc errors, minor coding style error.
Also add a wrapper to avoid having to cast a const pointer to non-const.
Richard Fitzgerald (5):
debugfs: Prevent NULL dereference reading from string property
debugfs: Remove kerneldoc that says debugfs_create_str() returns a
value
debugfs: Update debugfs_create_str() kerneldoc to warn about pointer
race
debugfs: Move debugfs_create_str() export to correct location
debugfs: Add debugfs_create_const_str()
fs/debugfs/file.c | 21 +++++++++++----------
include/linux/debugfs.h | 27 +++++++++++++++++++++++++++
2 files changed, 38 insertions(+), 10 deletions(-)
--
2.30.2
Powered by blists - more mailing lists