Release 4.12 drivers/hid/hidraw.c
  
  
  
/*
 * HID raw devices, giving access to raw HID events.
 *
 * In comparison to hiddev, this device does not process the
 * hid events at all (no parsing, no lookups). This lets applications
 * to work on raw hid events as they want to, and avoids a need to
 * use a transport-specific userspace libhid/libusb libraries.
 *
 *  Copyright (c) 2007-2014 Jiri Kosina
 */
/*
 * This program is free software; you can redistribute it and/or modify it
 * under the terms and conditions of the GNU General Public License,
 * version 2, as published by the Free Software Foundation.
 *
 * You should have received a copy of the GNU General Public License along with
 * this program; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
 */
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/fs.h>
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/cdev.h>
#include <linux/poll.h>
#include <linux/device.h>
#include <linux/major.h>
#include <linux/slab.h>
#include <linux/hid.h>
#include <linux/mutex.h>
#include <linux/sched/signal.h>
#include <linux/string.h>
#include <linux/hidraw.h>
static int hidraw_major;
static struct cdev hidraw_cdev;
static struct class *hidraw_class;
static struct hidraw *hidraw_table[HIDRAW_MAX_DEVICES];
static DEFINE_MUTEX(minors_lock);
static ssize_t hidraw_read(struct file *file, char __user *buffer, size_t count, loff_t *ppos)
{
	struct hidraw_list *list = file->private_data;
	int ret = 0, len;
	DECLARE_WAITQUEUE(wait, current);
	mutex_lock(&list->read_mutex);
	while (ret == 0) {
		if (list->head == list->tail) {
			add_wait_queue(&list->hidraw->wait, &wait);
			set_current_state(TASK_INTERRUPTIBLE);
			while (list->head == list->tail) {
				if (signal_pending(current)) {
					ret = -ERESTARTSYS;
					break;
				}
				if (!list->hidraw->exist) {
					ret = -EIO;
					break;
				}
				if (file->f_flags & O_NONBLOCK) {
					ret = -EAGAIN;
					break;
				}
				/* allow O_NONBLOCK to work well from other threads */
				mutex_unlock(&list->read_mutex);
				schedule();
				mutex_lock(&list->read_mutex);
				set_current_state(TASK_INTERRUPTIBLE);
			}
			set_current_state(TASK_RUNNING);
			remove_wait_queue(&list->hidraw->wait, &wait);
		}
		if (ret)
			goto out;
		len = list->buffer[list->tail].len > count ?
			count : list->buffer[list->tail].len;
		if (list->buffer[list->tail].value) {
			if (copy_to_user(buffer, list->buffer[list->tail].value, len)) {
				ret = -EFAULT;
				goto out;
			}
			ret = len;
		}
		kfree(list->buffer[list->tail].value);
		list->buffer[list->tail].value = NULL;
		list->tail = (list->tail + 1) & (HIDRAW_BUFFER_SIZE - 1);
	}
out:
	mutex_unlock(&list->read_mutex);
	return ret;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp | 
| Jiri Kosina | 307 | 91.10% | 3 | 50.00% | 
| Founder Fang | 16 | 4.75% | 1 | 16.67% | 
| Matthieu Castet | 13 | 3.86% | 1 | 16.67% | 
| Alan Ott | 1 | 0.30% | 1 | 16.67% | 
| Total | 337 | 100.00% | 6 | 100.00% | 
/*
 * The first byte of the report buffer is expected to be a report number.
 *
 * This function is to be called with the minors_lock mutex held.
 */
static ssize_t hidraw_send_report(struct file *file, const char __user *buffer, size_t count, unsigned char report_type)
{
	unsigned int minor = iminor(file_inode(file));
	struct hid_device *dev;
	__u8 *buf;
	int ret = 0;
	if (!hidraw_table[minor] || !hidraw_table[minor]->exist) {
		ret = -ENODEV;
		goto out;
	}
	dev = hidraw_table[minor]->hid;
	if (count > HID_MAX_BUFFER_SIZE) {
		hid_warn(dev, "pid %d passed too large report\n",
			 task_pid_nr(current));
		ret = -EINVAL;
		goto out;
	}
	if (count < 2) {
		hid_warn(dev, "pid %d passed too short report\n",
			 task_pid_nr(current));
		ret = -EINVAL;
		goto out;
	}
	buf = memdup_user(buffer, count);
	if (IS_ERR(buf)) {
		ret = PTR_ERR(buf);
		goto out;
	}
	if ((report_type == HID_OUTPUT_REPORT) &&
	    !(dev->quirks & HID_QUIRK_NO_OUTPUT_REPORTS_ON_INTR_EP)) {
		ret = hid_hw_output_report(dev, buf, count);
		/*
                 * compatibility with old implementation of USB-HID and I2C-HID:
                 * if the device does not support receiving output reports,
                 * on an interrupt endpoint, fallback to SET_REPORT HID command.
                 */
		if (ret != -ENOSYS)
			goto out_free;
	}
	ret = hid_hw_raw_request(dev, buf[0], buf, count, report_type,
				HID_REQ_SET_REPORT);
out_free:
	kfree(buf);
out:
	return ret;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp | 
| Jiri Kosina | 139 | 57.44% | 4 | 30.77% | 
| Benjamin Tissoires | 43 | 17.77% | 2 | 15.38% | 
| Antonio Ospite | 18 | 7.44% | 1 | 7.69% | 
| Alan Ott | 9 | 3.72% | 1 | 7.69% | 
| Dmitry Torokhov | 8 | 3.31% | 1 | 7.69% | 
| Manoj Chourasia | 8 | 3.31% | 1 | 7.69% | 
| Joe Perches | 8 | 3.31% | 1 | 7.69% | 
| Pavel Emelyanov | 6 | 2.48% | 1 | 7.69% | 
| Al Viro | 3 | 1.24% | 1 | 7.69% | 
| Total | 242 | 100.00% | 13 | 100.00% | 
static ssize_t hidraw_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos)
{
	ssize_t ret;
	mutex_lock(&minors_lock);
	ret = hidraw_send_report(file, buffer, count, HID_OUTPUT_REPORT);
	mutex_unlock(&minors_lock);
	return ret;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp | 
| Alan Ott | 45 | 81.82% | 1 | 33.33% | 
| Jiri Kosina | 10 | 18.18% | 2 | 66.67% | 
| Total | 55 | 100.00% | 3 | 100.00% | 
/*
 * This function performs a Get_Report transfer over the control endpoint
 * per section 7.2.1 of the HID specification, version 1.1.  The first byte
 * of buffer is the report number to request, or 0x0 if the defice does not
 * use numbered reports. The report_type parameter can be HID_FEATURE_REPORT
 * or HID_INPUT_REPORT.
 *
 * This function is to be called with the minors_lock mutex held.
 */
static ssize_t hidraw_get_report(struct file *file, char __user *buffer, size_t count, unsigned char report_type)
{
	unsigned int minor = iminor(file_inode(file));
	struct hid_device *dev;
	__u8 *buf;
	int ret = 0, len;
	unsigned char report_number;
	dev = hidraw_table[minor]->hid;
	if (!dev->ll_driver->raw_request) {
		ret = -ENODEV;
		goto out;
	}
	if (count > HID_MAX_BUFFER_SIZE) {
		printk(KERN_WARNING "hidraw: pid %d passed too large report\n",
				task_pid_nr(current));
		ret = -EINVAL;
		goto out;
	}
	if (count < 2) {
		printk(KERN_WARNING "hidraw: pid %d passed too short report\n",
				task_pid_nr(current));
		ret = -EINVAL;
		goto out;
	}
	buf = kmalloc(count * sizeof(__u8), GFP_KERNEL);
	if (!buf) {
		ret = -ENOMEM;
		goto out;
	}
	/*
         * Read the first byte from the user. This is the report number,
         * which is passed to hid_hw_raw_request().
         */
	if (copy_from_user(&report_number, buffer, 1)) {
		ret = -EFAULT;
		goto out_free;
	}
	ret = hid_hw_raw_request(dev, report_number, buf, count, report_type,
				 HID_REQ_GET_REPORT);
	if (ret < 0)
		goto out_free;
	len = (ret < count) ? ret : count;
	if (copy_to_user(buffer, buf, len)) {
		ret = -EFAULT;
		goto out_free;
	}
	ret = len;
out_free:
	kfree(buf);
out:
	return ret;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp | 
| Alan Ott | 254 | 96.21% | 1 | 33.33% | 
| Benjamin Tissoires | 7 | 2.65% | 1 | 33.33% | 
| Al Viro | 3 | 1.14% | 1 | 33.33% | 
| Total | 264 | 100.00% | 3 | 100.00% | 
static unsigned int hidraw_poll(struct file *file, poll_table *wait)
{
	struct hidraw_list *list = file->private_data;
	poll_wait(file, &list->hidraw->wait, wait);
	if (list->head != list->tail)
		return POLLIN | POLLRDNORM;
	if (!list->hidraw->exist)
		return POLLERR | POLLHUP;
	return 0;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp | 
| Jiri Kosina | 71 | 100.00% | 1 | 100.00% | 
| Total | 71 | 100.00% | 1 | 100.00% | 
static int hidraw_open(struct inode *inode, struct file *file)
{
	unsigned int minor = iminor(inode);
	struct hidraw *dev;
	struct hidraw_list *list;
	unsigned long flags;
	int err = 0;
	if (!(list = kzalloc(sizeof(struct hidraw_list), GFP_KERNEL))) {
		err = -ENOMEM;
		goto out;
	}
	mutex_lock(&minors_lock);
	if (!hidraw_table[minor] || !hidraw_table[minor]->exist) {
		err = -ENODEV;
		goto out_unlock;
	}
	dev = hidraw_table[minor];
	if (!dev->open++) {
		err = hid_hw_power(dev->hid, PM_HINT_FULLON);
		if (err < 0) {
			dev->open--;
			goto out_unlock;
		}
		err = hid_hw_open(dev->hid);
		if (err < 0) {
			hid_hw_power(dev->hid, PM_HINT_NORMAL);
			dev->open--;
			goto out_unlock;
		}
	}
	list->hidraw = hidraw_table[minor];
	mutex_init(&list->read_mutex);
	spin_lock_irqsave(&hidraw_table[minor]->list_lock, flags);
	list_add_tail(&list->node, &hidraw_table[minor]->list);
	spin_unlock_irqrestore(&hidraw_table[minor]->list_lock, flags);
	file->private_data = list;
out_unlock:
	mutex_unlock(&minors_lock);
out:
	if (err < 0)
		kfree(list);
	return err;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp | 
| Jiri Kosina | 122 | 45.02% | 1 | 12.50% | 
| Yonghua Zheng | 72 | 26.57% | 1 | 12.50% | 
| Oliver Neukum | 48 | 17.71% | 2 | 25.00% | 
| Amit Nagal | 18 | 6.64% | 2 | 25.00% | 
| Manoj Chourasia | 8 | 2.95% | 1 | 12.50% | 
| Dmitry Torokhov | 3 | 1.11% | 1 | 12.50% | 
| Total | 271 | 100.00% | 8 | 100.00% | 
static int hidraw_fasync(int fd, struct file *file, int on)
{
	struct hidraw_list *list = file->private_data;
	return fasync_helper(fd, file, on, &list->fasync);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp | 
| Andrew Duggan | 41 | 100.00% | 1 | 100.00% | 
| Total | 41 | 100.00% | 1 | 100.00% | 
static void drop_ref(struct hidraw *hidraw, int exists_bit)
{
	if (exists_bit) {
		hidraw->exist = 0;
		if (hidraw->open) {
			hid_hw_close(hidraw->hid);
			wake_up_interruptible(&hidraw->wait);
		}
		device_destroy(hidraw_class,
			       MKDEV(hidraw_major, hidraw->minor));
	} else {
		--hidraw->open;
	}
	if (!hidraw->open) {
		if (!hidraw->exist) {
			hidraw_table[hidraw->minor] = NULL;
			kfree(hidraw);
		} else {
			/* close device for last reader */
			hid_hw_power(hidraw->hid, PM_HINT_NORMAL);
			hid_hw_close(hidraw->hid);
		}
	}
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp | 
| Manoj Chourasia | 109 | 88.62% | 2 | 66.67% | 
| Fernando Luis Vázquez Cao | 14 | 11.38% | 1 | 33.33% | 
| Total | 123 | 100.00% | 3 | 100.00% | 
static int hidraw_release(struct inode * inode, struct file * file)
{
	unsigned int minor = iminor(inode);
	struct hidraw_list *list = file->private_data;
	unsigned long flags;
	mutex_lock(&minors_lock);
	spin_lock_irqsave(&hidraw_table[minor]->list_lock, flags);
	list_del(&list->node);
	spin_unlock_irqrestore(&hidraw_table[minor]->list_lock, flags);
	kfree(list);
	drop_ref(hidraw_table[minor], 0);
	mutex_unlock(&minors_lock);
	return 0;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp | 
| Jiri Kosina | 63 | 61.76% | 2 | 40.00% | 
| Yonghua Zheng | 30 | 29.41% | 1 | 20.00% | 
| Manoj Chourasia | 6 | 5.88% | 1 | 20.00% | 
| Jiri Slaby | 3 | 2.94% | 1 | 20.00% | 
| Total | 102 | 100.00% | 5 | 100.00% | 
static long hidraw_ioctl(struct file *file, unsigned int cmd,
							unsigned long arg)
{
	struct inode *inode = file_inode(file);
	unsigned int minor = iminor(inode);
	long ret = 0;
	struct hidraw *dev;
	void __user *user_arg = (void __user*) arg;
	mutex_lock(&minors_lock);
	dev = hidraw_table[minor];
	if (!dev) {
		ret = -ENODEV;
		goto out;
	}
	switch (cmd) {
		case HIDIOCGRDESCSIZE:
			if (put_user(dev->hid->rsize, (int __user *)arg))
				ret = -EFAULT;
			break;
		case HIDIOCGRDESC:
			{
				__u32 len;
				if (get_user(len, (int __user *)arg))
					ret = -EFAULT;
				else if (len > HID_MAX_DESCRIPTOR_SIZE - 1)
					ret = -EINVAL;
				else if (copy_to_user(user_arg + offsetof(
					struct hidraw_report_descriptor,
					value[0]),
					dev->hid->rdesc,
					min(dev->hid->rsize, len)))
					ret = -EFAULT;
				break;
			}
		case HIDIOCGRAWINFO:
			{
				struct hidraw_devinfo dinfo;
				dinfo.bustype = dev->hid->bus;
				dinfo.vendor = dev->hid->vendor;
				dinfo.product = dev->hid->product;
				if (copy_to_user(user_arg, &dinfo, sizeof(dinfo)))
					ret = -EFAULT;
				break;
			}
		default:
			{
				struct hid_device *hid = dev->hid;
				if (_IOC_TYPE(cmd) != 'H') {
					ret = -EINVAL;
					break;
				}
				if (_IOC_NR(cmd) == _IOC_NR(HIDIOCSFEATURE(0))) {
					int len = _IOC_SIZE(cmd);
					ret = hidraw_send_report(file, user_arg, len, HID_FEATURE_REPORT);
					break;
				}
				if (_IOC_NR(cmd) == _IOC_NR(HIDIOCGFEATURE(0))) {
					int len = _IOC_SIZE(cmd);
					ret = hidraw_get_report(file, user_arg, len, HID_FEATURE_REPORT);
					break;
				}
				/* Begin Read-only ioctls. */
				if (_IOC_DIR(cmd) != _IOC_READ) {
					ret = -EINVAL;
					break;
				}
				if (_IOC_NR(cmd) == _IOC_NR(HIDIOCGRAWNAME(0))) {
					int len = strlen(hid->name) + 1;
					if (len > _IOC_SIZE(cmd))
						len = _IOC_SIZE(cmd);
					ret = copy_to_user(user_arg, hid->name, len) ?
						-EFAULT : len;
					break;
				}
				if (_IOC_NR(cmd) == _IOC_NR(HIDIOCGRAWPHYS(0))) {
					int len = strlen(hid->phys) + 1;
					if (len > _IOC_SIZE(cmd))
						len = _IOC_SIZE(cmd);
					ret = copy_to_user(user_arg, hid->phys, len) ?
						-EFAULT : len;
					break;
				}
			}
		ret = -ENOTTY;
	}
out:
	mutex_unlock(&minors_lock);
	return ret;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp | 
| Jiri Kosina | 365 | 68.48% | 4 | 36.36% | 
| Alan Ott | 90 | 16.89% | 1 | 9.09% | 
| Alan Cox | 39 | 7.32% | 1 | 9.09% | 
| Antonio Ospite | 17 | 3.19% | 1 | 9.09% | 
| Dan Carpenter | 14 | 2.63% | 1 | 9.09% | 
| Daniel Mack | 4 | 0.75% | 1 | 9.09% | 
| Al Viro | 3 | 0.56% | 1 | 9.09% | 
| Jiri Slaby | 1 | 0.19% | 1 | 9.09% | 
| Total | 533 | 100.00% | 11 | 100.00% | 
static const struct file_operations hidraw_ops = {
	.owner =        THIS_MODULE,
	.read =         hidraw_read,
	.write =        hidraw_write,
	.poll =         hidraw_poll,
	.open =         hidraw_open,
	.release =      hidraw_release,
	.unlocked_ioctl = hidraw_ioctl,
	.fasync =	hidraw_fasync,
#ifdef CONFIG_COMPAT
	.compat_ioctl   = hidraw_ioctl,
#endif
	.llseek =	noop_llseek,
};
int hidraw_report_event(struct hid_device *hid, u8 *data, int len)
{
	struct hidraw *dev = hid->hidraw;
	struct hidraw_list *list;
	int ret = 0;
	unsigned long flags;
	spin_lock_irqsave(&dev->list_lock, flags);
	list_for_each_entry(list, &dev->list, node) {
		int new_head = (list->head + 1) & (HIDRAW_BUFFER_SIZE - 1);
		if (new_head == list->tail)
			continue;
		if (!(list->buffer[list->head].value = kmemdup(data, len, GFP_ATOMIC))) {
			ret = -ENOMEM;
			break;
		}
		list->buffer[list->head].len = len;
		list->head = new_head;
		kill_fasync(&list->fasync, SIGIO, POLL_IN);
	}
	spin_unlock_irqrestore(&dev->list_lock, flags);
	wake_up_interruptible(&dev->wait);
	return ret;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp | 
| Jiri Kosina | 120 | 70.18% | 2 | 50.00% | 
| Matthieu Castet | 27 | 15.79% | 1 | 25.00% | 
| Yonghua Zheng | 24 | 14.04% | 1 | 25.00% | 
| Total | 171 | 100.00% | 4 | 100.00% | 
EXPORT_SYMBOL_GPL(hidraw_report_event);
int hidraw_connect(struct hid_device *hid)
{
	int minor, result;
	struct hidraw *dev;
	/* we accept any HID device, all applications */
	dev = kzalloc(sizeof(struct hidraw), GFP_KERNEL);
	if (!dev)
		return -ENOMEM;
	result = -EINVAL;
	mutex_lock(&minors_lock);
	for (minor = 0; minor < HIDRAW_MAX_DEVICES; minor++) {
		if (hidraw_table[minor])
			continue;
		hidraw_table[minor] = dev;
		result = 0;
		break;
	}
	if (result) {
		mutex_unlock(&minors_lock);
		kfree(dev);
		goto out;
	}
	dev->dev = device_create(hidraw_class, &hid->dev, MKDEV(hidraw_major, minor),
				 NULL, "%s%d", "hidraw", minor);
	if (IS_ERR(dev->dev)) {
		hidraw_table[minor] = NULL;
		mutex_unlock(&minors_lock);
		result = PTR_ERR(dev->dev);
		kfree(dev);
		goto out;
	}
	init_waitqueue_head(&dev->wait);
	spin_lock_init(&dev->list_lock);
	INIT_LIST_HEAD(&dev->list);
	dev->hid = hid;
	dev->minor = minor;
	dev->exist = 1;
	hid->hidraw = dev;
	mutex_unlock(&minors_lock);
out:
	return result;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp | 
| Jiri Kosina | 190 | 79.83% | 3 | 33.33% | 
| Mariusz Kozlowski | 23 | 9.66% | 1 | 11.11% | 
| Yonghua Zheng | 14 | 5.88% | 2 | 22.22% | 
| Oliver Neukum | 8 | 3.36% | 1 | 11.11% | 
| Greg Kroah-Hartman | 3 | 1.26% | 2 | 22.22% | 
| Total | 238 | 100.00% | 9 | 100.00% | 
EXPORT_SYMBOL_GPL(hidraw_connect);
void hidraw_disconnect(struct hid_device *hid)
{
	struct hidraw *hidraw = hid->hidraw;
	mutex_lock(&minors_lock);
	drop_ref(hidraw, 1);
	mutex_unlock(&minors_lock);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp | 
| Jiri Kosina | 32 | 84.21% | 2 | 50.00% | 
| James Hogan | 3 | 7.89% | 1 | 25.00% | 
| Manoj Chourasia | 3 | 7.89% | 1 | 25.00% | 
| Total | 38 | 100.00% | 4 | 100.00% | 
EXPORT_SYMBOL_GPL(hidraw_disconnect);
int __init hidraw_init(void)
{
	int result;
	dev_t dev_id;
	result = alloc_chrdev_region(&dev_id, HIDRAW_FIRST_MINOR,
			HIDRAW_MAX_DEVICES, "hidraw");
	if (result < 0) {
		pr_warn("can't get major number\n");
		goto out;
	}
	hidraw_major = MAJOR(dev_id);
	hidraw_class = class_create(THIS_MODULE, "hidraw");
	if (IS_ERR(hidraw_class)) {
		result = PTR_ERR(hidraw_class);
		goto error_cdev;
	}
        cdev_init(&hidraw_cdev, &hidraw_ops);
	result = cdev_add(&hidraw_cdev, dev_id, HIDRAW_MAX_DEVICES);
	if (result < 0)
		goto error_class;
	printk(KERN_INFO "hidraw: raw HID events driver (C) Jiri Kosina\n");
out:
	return result;
error_class:
	class_destroy(hidraw_class);
error_cdev:
	unregister_chrdev_region(dev_id, HIDRAW_MAX_DEVICES);
	goto out;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp | 
| Jiri Kosina | 99 | 71.22% | 2 | 40.00% | 
| Alexey Khoroshilov | 31 | 22.30% | 1 | 20.00% | 
| Dan Carpenter | 7 | 5.04% | 1 | 20.00% | 
| Joe Perches | 2 | 1.44% | 1 | 20.00% | 
| Total | 139 | 100.00% | 5 | 100.00% | 
void hidraw_exit(void)
{
	dev_t dev_id = MKDEV(hidraw_major, 0);
	cdev_del(&hidraw_cdev);
	class_destroy(hidraw_class);
	unregister_chrdev_region(dev_id, HIDRAW_MAX_DEVICES);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp | 
| Jiri Kosina | 35 | 100.00% | 1 | 100.00% | 
| Total | 35 | 100.00% | 1 | 100.00% | 
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp | 
| Jiri Kosina | 1679 | 59.45% | 12 | 23.08% | 
| Alan Ott | 409 | 14.48% | 3 | 5.77% | 
| Yonghua Zheng | 140 | 4.96% | 2 | 3.85% | 
| Manoj Chourasia | 134 | 4.75% | 2 | 3.85% | 
| Oliver Neukum | 57 | 2.02% | 2 | 3.85% | 
| Benjamin Tissoires | 50 | 1.77% | 3 | 5.77% | 
| Andrew Duggan | 46 | 1.63% | 1 | 1.92% | 
| Matthieu Castet | 40 | 1.42% | 1 | 1.92% | 
| Alan Cox | 40 | 1.42% | 1 | 1.92% | 
| Antonio Ospite | 35 | 1.24% | 2 | 3.85% | 
| Alexey Khoroshilov | 31 | 1.10% | 1 | 1.92% | 
| Mariusz Kozlowski | 23 | 0.81% | 1 | 1.92% | 
| Dan Carpenter | 21 | 0.74% | 2 | 3.85% | 
| Amit Nagal | 18 | 0.64% | 2 | 3.85% | 
| Joe Perches | 17 | 0.60% | 1 | 1.92% | 
| Founder Fang | 16 | 0.57% | 1 | 1.92% | 
| Dmitry Torokhov | 14 | 0.50% | 2 | 3.85% | 
| Fernando Luis Vázquez Cao | 14 | 0.50% | 1 | 1.92% | 
| Al Viro | 9 | 0.32% | 1 | 1.92% | 
| Pavel Emelyanov | 6 | 0.21% | 1 | 1.92% | 
| Arnd Bergmann | 5 | 0.18% | 1 | 1.92% | 
| Daniel Mack | 4 | 0.14% | 1 | 1.92% | 
| Jiri Slaby | 4 | 0.14% | 2 | 3.85% | 
| Tejun Heo | 3 | 0.11% | 1 | 1.92% | 
| Greg Kroah-Hartman | 3 | 0.11% | 2 | 3.85% | 
| James Hogan | 3 | 0.11% | 1 | 1.92% | 
| Alexey Dobriyan | 2 | 0.07% | 1 | 1.92% | 
| Ingo Molnar | 1 | 0.04% | 1 | 1.92% | 
| Total | 2824 | 100.00% | 52 | 100.00% | 
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.