/* * Copyright (C) 2014 Alexander Shiyan * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * */ #ifndef __DT_BINDINGS_CLOCK_CLPS711X_H #define __DT_BINDINGS_CLOCK_CLPS711X_H #define CLPS711X_CLK_DUMMY 0 #define CLPS711X_CLK_CPU 1 #define CLPS711X_CLK_BUS 2 #define CLPS711X_CLK_PLL 3 #define CLPS711X_CLK_TIMERREF 4 #define CLPS711X_CLK_TIMER1 5 #define CLPS711X_CLK_TIMER2 6 #define CLPS711X_CLK_PWM 7 #define CLPS711X_CLK_SPIREF 8 #define CLPS711X_CLK_SPI 9 #define CLPS711X_CLK_UART 10 #define CLPS711X_CLK_TICK 11 #define CLPS711X_CLK_MAX 12 #endif alt='cgit logo'/> index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/net/rds
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2016-11-26 19:31:24 -0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-12-01 12:46:00 -0200
commitb40769ee2ed09ed6c6da33b0cbdf423ff94f685b (patch)
tree1cde9fd2230e29b051db457b9b6b47f4ae130658 /net/rds
parent003611334d5592984e319e08c6b66825aca00290 (diff)
[media] lirc: fix error paths in lirc_cdev_add()
"c77d17c0 [media] lirc: use-after free" introduces two problems: cdev_del() can be called with a NULL argument, and the kobject_put() path will cause a double free. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'net/rds')