mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-28 04:24:26 +01:00
debugfs.c fix typo
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
static struct dentry *dir, *toplevel_file;
|
static struct dentry *dir, *toplevel_file;
|
||||||
static u32 value = 42;
|
static u32 value = 42;
|
||||||
|
|
||||||
/* This basically re-implents the write operation of debugfs_create_u32,
|
/* This basically re-implements the write operation of debugfs_create_u32,
|
||||||
* it is just an excuse to illustrate a fop. */
|
* it is just an excuse to illustrate a fop. */
|
||||||
static ssize_t write(struct file *filp, const char __user *buf, size_t len, loff_t *off)
|
static ssize_t write(struct file *filp, const char __user *buf, size_t len, loff_t *off)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user