mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-24 02:35:58 +01:00
virt_to_phys improve failed attempte to use kmalloc, but still fails
This commit is contained in:
@@ -31,7 +31,7 @@ Bibliography:
|
||||
#include <linux/module.h>
|
||||
#include <linux/printk.h> /* pr_info */
|
||||
#include <linux/seq_file.h> /* seq_read, seq_lseek, single_release */
|
||||
#include <linux/slab.h>
|
||||
#include <linux/slab.h> /* kmalloc, kfree */
|
||||
#include <uapi/linux/stat.h> /* S_IRUSR */
|
||||
|
||||
static int max = 2;
|
||||
|
||||
Reference in New Issue
Block a user