summaryrefslogtreecommitdiffstats
path: root/scullc
Commit message (Collapse)AuthorAgeFilesLines
* scullc: Include <linux/uaccess.h> header for copy_*_user()Javier Martinez Canillas2018-02-251-1/+1
| | | | Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
* Don't use absolute path for commands in load/unload scriptsJavier Martinez Canillas2018-02-252-2/+2
| | | | | | | Just let the shell lookup from the user's $PATH since some tools may not be installed in the absolute path used in the scripts. Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
* scullc: main: Don't use create_proc_read_entry()Luis Ortega Perez de Villar2013-09-281-31/+25
| | | | | Don't use create_proc_read_entry() as it is deprecated, but rather use proc_create() and seq_file instead.
* scullc: Makefile: Declare LDDINC variable earlierLuis Ortega Perez de Villar2013-09-281-1/+2
| | | | | Move the definition of LDDINC earlier into the file. This prevents the following compile time error: implicit declaration of function ‘KBUILD_STR’.
* ldd3: get rid of deprecated VM_RESERVED vma flagJavier Martinez Canillas2013-04-261-1/+0
| | | | | | | | | | | | | | commit 314e51b9 ("mm: kill vma flag VM_RESERVED and mm->reserved_vm counter") removed the VM_RESERVED vma flag since it lost original meaning. VM_RESERVED was used on many drivers' mmap function handler to avoid swap this memory area. The same semantic can be specified with VM_IO | VM_DONTDUMP flags but these are already set by remap_pfn_range() so they don't have to be set in drivers mmap function handlers. Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
* scullc: BKL ioctl pushdown API changeJavier Martinez Canillas2011-01-081-3/+2
|
* scullc: mmap: Remove <linux/config.h> headerJavier Martinez Canillas2010-12-051-1/+0
|
* scullc: main: Check return in correct variableJavier Martinez Canillas2010-11-281-2/+2
|
* scullc: main: Change work_struct to delayed_work and change scullc_aio_[read ↵Javier Martinez Canillas2010-11-281-17/+26
| | | | | write] handlers
* scullc: main: Removes slab destructor argument for kmem_cache_create invocationJavier Martinez Canillas2010-11-281-1/+1
|
* scullc: main: Removes obsolete <linux/config.h> and use struct kmem_cache ↵Javier Martinez Canillas2010-11-281-2/+1
| | | | instead of kmem_cache_t
* scullc: Makefile: Change CFLAGS to EXTRA_CFLAGSJavier Martinez Canillas2010-11-281-2/+2
|
* Linux Device Drivers 3 examplesJavier Martinez Canillas2010-11-276-0/+927