summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Change in timer_list structHEADmasterEusebio Gomez2018-06-201-3/+8
| | | Member data of timer struct (timer_list) is no longer available. Use timer_setup function to pass the parameter to the callback function
* Update function usb_bulk_msgEusebio Gomez2018-06-201-1/+1
| | | Change usb_bulk_msg argument 5 data type (size_t to int *)
* tty: tiny_tty: Use timer_setup() instead of init_timer()Javier Martinez Canillas2018-02-251-23/+10
| | | | | | The init_timer() function has been deprecated, use timer_setup() instead. Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
* usb: Include <linux/uaccess.h> header for copy_*_user()Javier Martinez Canillas2018-02-251-1/+1
| | | | Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
* short: Don't use deprecated IRQF_DISABLED flag when requesting a IRQJavier Martinez Canillas2018-02-251-4/+4
| | | | | | | The IRQF_DISABLED flag has been removed from the Linux kernel, remove it from the driver so it compiles again. Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
* short: Use file_dentry() to get struct file's dentryJavier Martinez Canillas2018-02-251-2/+2
| | | | | | | The struct file doesn't have a struct dentry member anymore, use the macro to get the struct dentry for a struct file. Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
* scullv: Include <linux/uaccess.h> header for copy_*_user()Javier Martinez Canillas2018-02-251-1/+1
| | | | Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
* scullp: Include <linux/uaccess.h> header for copy_*_user()Javier Martinez Canillas2018-02-251-1/+1
| | | | Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
* 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>
* sculld: Include <linux/uaccess.h> header for copy_*_user()Javier Martinez Canillas2018-02-251-1/+1
| | | | Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
* scull: Include <linux/sched/signal.h> for struct signal_structJavier Martinez Canillas2018-02-251-0/+1
| | | | Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
* scull: Include <linux/uaccess.h> header for copy_*_user()Javier Martinez Canillas2018-02-251-1/+1
| | | | Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
* misc-modules: faulty: Open code memset() to allow a buffer overflowJavier Martinez Canillas2018-02-251-1/+3
| | | | | | | | | The memset() function is now fortified, which means that provides both a compile and runtime buffer overflow checks. Since the goal of the faulty module is to cause a buffer overflow this function can't be used anymore and instead have to be open coded. Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
* misc-modules: faulty: Include <linux/uaccess.h> header for copy_*_user()Javier Martinez Canillas2018-02-251-1/+1
| | | | Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
* jiq: Use timer_setup() instead of init_timer()Javier Martinez Canillas2018-02-251-10/+8
| | | | | | The init_timer() function has been deprecated, use timer_setup() instead. Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
* jiq: Use wait_event_interruptible() instead of interruptible_sleep_on()Javier Martinez Canillas2018-02-251-2/+2
| | | | | | | Use the wait_event_interruptible() function instead of the deprecated interruptible_sleep_on(). Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
* misc-modules: silly: Use file_dentry() to get struct file's dentryJavier Martinez Canillas2018-02-251-2/+2
| | | | | | | The struct file doesn't have a struct dentry member anymore, use the macro to get the struct dentry for a struct file. Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
* misc-modules: jit: Use timer_setup() instead of init_timer()Javier Martinez Canillas2018-02-251-5/+3
| | | | | | The init_timer() function has been deprecated, use timer_setup() instead. Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
* Don't use absolute path for commands in load/unload scriptsJavier Martinez Canillas2018-02-2520-23/+21
| | | | | | | 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>
* shortprint: Replace init_timer with timer_setupJavier Martinez Canillas2018-02-251-5/+3
| | | | | | | The init_timer() function doesn't exist anymore, use the timer_setup() function instead. Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
* shortprint: Include <linux/sched/signal.h> header for signal_pending()Javier Martinez Canillas2018-02-251-0/+1
| | | | Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
* short: Include <linux/sched/signal.h> header for signal_pending()Javier Martinez Canillas2018-02-251-0/+1
| | | | Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
* scull: pipe: Include <linux/sched/signal.h> header for signal_pending()Javier Martinez Canillas2018-02-251-0/+1
| | | | Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
* misc-modules: jit: Include <linux/sched/signal.h> header for signal_pending()Javier Martinez Canillas2018-02-251-0/+1
| | | | Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
* tty: tiny_tty: Include <linux/sched/signal.h> header for signal_pending()Javier Martinez Canillas2018-02-251-0/+1
| | | | Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
* tiny_tty update for 3.10hwangcc2018-02-251-59/+64
| | | | | | | | 1. checkpatch.pl cleanups. 2. Add init_timer 3. Link tty ports. Signed-off-by: hwangcc <hwangcc@csie.nctu.edu.tw>
* jit.c: checkpatch.pl cleanupshwangcc2018-02-251-26/+26
| | | | Signed-off-by: hwangcc <hwangcc@csie.nctu.edu.tw>
* jiq.c: checkpatch.pl cleanupshwangcc2018-02-251-18/+22
| | | | Signed-off-by: hwangcc <hwangcc@csie.nctu.edu.tw>
* seq.c: checkpatch.pl cleanupshwangcc2018-02-251-7/+9
| | | | Signed-off-by: hwangcc <hwangcc@csie.nctu.edu.tw>
* jiq.c: Don't use create_proc_entryhwangcc2018-02-251-50/+75
| | | | | | | Don't use create_proc_read_entry as that is deprecated, but rather use proc_create and seq_file instead. Signed-off-by: hwangcc <hwangcc@csie.nctu.edu.tw>
* jit.c: Don't use create_proc_entryhwangcc2018-02-251-44/+80
| | | | | | | Don't use create_proc_read_entry as that is deprecated, but rather use proc_create and seq_file instead. Signed-off-by: hwangcc <hwangcc@csie.nctu.edu.tw>
* seq.c: Don't use create_proc_entryhwangcc2018-02-251-3/+1
| | | | | | | Don't use create_proc_entry as that is deprecated, but rather use proc_create instead. Signed-off-by: hwangcc <hwangcc@csie.nctu.edu.tw>
* scull/acces.c: fix typo in device name: "sullpriv -> scullpriv"brabo2018-02-251-1/+1
|
* Merge pull request #20 from coderkaka/masterMatthias Brugger2016-05-091-6/+6
|\ | | | | Fix failure to compile the scull with kernel of version 4.6.0.
| * Fix failure to compile the scull. The return value of current_xid() has ↵coderkaka2016-05-031-6/+6
| | | | | | | | changed in kernel of version 4.6.0
* | Merge pull request #15 from lushl9301/masterMatthias Brugger2016-05-081-3/+2
|\ \ | | | | | | replace kmalloc with kzalloc
| * | replace kmalloc with kzallocLu Shengliang2014-12-311-3/+2
| |/
* | pci: pci_skel: Check return value of pci_enable_deviceMatthias Brugger2016-05-041-1/+4
| | | | | | | | | | | | | | Omit compiler warning, as pci_enable_device needs to get the return value checked. Signed-off-by: Matthias Brugger <mbrugger@suse.com>
* | README: Add newline on end of last lineMatthias Brugger2016-05-041-1/+1
|/ | | | | | | This patch adds a newline at the end of the last line. This makes reading the file via cat more convenient. Signed-off-by: Matthias Brugger <mbrugger@suse.com>
* Merge pull request #7 from ttousai/masterJavier Martinez Canillas2013-12-231-5/+5
|\ | | | | Fixed failure to load scull module and description typo in scull.init.
| * Fixed failure to load scull module and description typo in scull.init.Davis Abubakr-Sadik Nii Nai2013-12-181-5/+5
|/ | | | | | The scull.init initialization file fails to load scull module because it tries to load modules in the configured paths with .o suffix instead of .ko.
* Merge pull request #6 from dhyannataraj/masterJavier Martinez Canillas2013-12-071-0/+17
|\ | | | | Proposial of README.Debian file that explains Debian users how to build examples for current prebuilt linux kernel
| * Proposial of README.Debian file that explains Debian users how to buildNikolay Shaplov2013-12-071-0/+17
| | | | | | | | examples for current prebuilt linux kernel
* | Merge pull request #5 from tatetian/masterJavier Martinez Canillas2013-12-071-1/+1
|\ \ | |/ |/| Fix a memory mapping bug in sbull.c
| * Fix a memory mapping bug in sbull.cHongliang TIAN2013-10-291-1/+1
|/
* lddbus: add member init_name to ldd_bus device declarationLuis Ortega Perez de Villar2013-09-281-2/+2
| | | | | | The member init_name replaces bus_id, a string that identifies the device on the bus. This patch reverts commit bca2bf1d1d28deee3bef691371d9aae2cbbb0f4b
* sbull/sbull.c: block_device_operations->release() should return voidLuis Ortega Perez de Villar2013-09-281-3/+1
| | | | | | | | | | | | The return type of block_device_operations->release() changed from int to void in commit db2a144bedd58b3dcf19950c2f476c58c9f39d18 Fixes the following compiler warning: sbull/sbull.c:313:2: warning: initialization from incompatible pointer type [enabled by default] sbull/sbull.c:313:2: warning: (near initialization for ‘sbull_ops.release’) [enabled by default]
* sbull/sbull.c: sbull_make_request() should return voidLuis Ortega Perez de Villar2013-09-281-1/+0
| | | | | sbull/sbull.c:194:2: warning: ‘return’ with a value, in function returning void [enabled by default]
* sculld: 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.
* sculld: 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’.