index
:
kernel/git/torvalds/linux.git
master
Linux kernel source tree
Linus Torvalds
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
drivers
/
base
/
class.c
Age
Commit message (
Expand
)
Author
Files
Lines
2024-01-04
class: fix use-after-free in class_register()
Jing Xia
1
-0
/
+1
2023-10-21
driver core: class: remove boilerplate code
Maurizio Lombardi
1
-4
/
+2
2023-05-19
driver core: class: properly reference count class_dev_iter()
Greg Kroah-Hartman
1
-0
/
+2
2023-04-03
driver core: class: remove struct class_interface * from callbacks
Greg Kroah-Hartman
1
-2
/
+2
2023-04-03
driver core: class: mark the struct class in struct class_interface constant
Greg Kroah-Hartman
1
-1
/
+1
2023-04-03
driver core: class: make class_register() take a const *
Greg Kroah-Hartman
1
-3
/
+3
2023-04-03
driver core: class: mark class_release() as taking a const *
Greg Kroah-Hartman
1
-1
/
+1
2023-04-01
driver core: class: fix slab-use-after-free Read in class_register()
Greg Kroah-Hartman
1
-0
/
+1
2023-03-31
driver core: class: remove dev_kobj from struct class
Greg Kroah-Hartman
1
-4
/
+0
2023-03-31
driver core: class: remove subsystem private pointer from struct class
Greg Kroah-Hartman
1
-4
/
+0
2023-03-31
driver core: create class_is_registered()
Greg Kroah-Hartman
1
-0
/
+25
2023-03-31
driver core: core: move to use class_to_subsys()
Greg Kroah-Hartman
1
-1
/
+1
2023-03-29
driver core: class.c: convert to only use class_to_subsys
Greg Kroah-Hartman
1
-52
/
+61
2023-03-29
driver core: class: implement class_get/put without the private pointer.
Greg Kroah-Hartman
1
-18
/
+63
2023-03-29
driver core: class: mark the struct class for sysfs callbacks as constant
Greg Kroah-Hartman
1
-2
/
+2
2023-03-28
driver core: bus: constify class_unregister/destroy()
Greg Kroah-Hartman
1
-4
/
+4
2023-03-27
driver core: class: fix documentation for class_create()
Greg Kroah-Hartman
1
-1
/
+0
2023-03-24
driver core: class: use lock_class_key already present in struct subsys_private
Greg Kroah-Hartman
1
-6
/
+9
2023-03-17
driver core: class: make class_create/remove_file*() options const
Greg Kroah-Hartman
1
-2
/
+2
2023-03-17
driver core: class: make class_find_device*() options const
Greg Kroah-Hartman
1
-1
/
+1
2023-03-17
driver core: class: make class_for_each_device() options const
Greg Kroah-Hartman
1
-1
/
+1
2023-03-17
driver core: class: make class_dev_iter_init() options const
Greg Kroah-Hartman
1
-2
/
+2
2023-03-17
driver core: class: remove struct module owner out of struct class
Greg Kroah-Hartman
1
-6
/
+3
2023-03-17
driver core: class: specify the module owner in __class_register()
Greg Kroah-Hartman
1
-3
/
+3
2023-03-07
driver core: class: fix block class problem when removing CONFIG_SYSFS_DEPREC...
Greg Kroah-Hartman
1
-6
/
+0
2023-03-06
driver core: remove CONFIG_SYSFS_DEPRECATED and CONFIG_SYSFS_DEPRECATED_V2
Greg Kroah-Hartman
1
-1
/
+1
2023-02-14
driver core: class: move EXPORT_SYMBOL_GPL() lines to the correct place
Greg Kroah-Hartman
1
-8
/
+6
2023-02-08
driver core: make kobj_type structures constant
Thomas Weißschuh
1
-1
/
+1
2023-01-23
driver core: class: Clear private pointer on registration failures
Rafael J. Wysocki
1
-5
/
+11
2023-01-11
driver core: change to_subsys_private() to use container_of_const()
Greg Kroah-Hartman
1
-1
/
+1
2022-11-22
kobject: make kobject_get_ownership() take a constant kobject *
Greg Kroah-Hartman
1
-1
/
+1
2022-11-09
class: fix possible memory leak in __class_register()
Yang Yingliang
1
-0
/
+5
2022-09-01
class: use IS_ERR_OR_NULL() helper in class_unregister()
Yang Yingliang
1
-1
/
+1
2022-02-02
block: remove genhd.h
Christoph Hellwig
1
-1
/
+1
2020-11-09
drivers: base: fix some kernel-doc markups
Mauro Carvalho Chehab
1
-1
/
+1
2020-10-02
drivers core: Miscellaneous changes for sysfs_emit
Joe Perches
1
-1
/
+1
2019-12-16
device.h: move 'struct class' stuff out to device/class.h
Greg Kroah-Hartman
1
-0
/
+1
2019-01-18
driver core: move device->knode_class to device_private
Wei Yang
1
-4
/
+10
2017-12-07
driver core: Remove redundant license text
Greg Kroah-Hartman
1
-3
/
+0
2017-12-07
driver core: add SPDX identifiers to all driver core files
Greg Kroah-Hartman
1
-0
/
+1
2017-06-09
driver core: remove class_attrs from struct class
Greg Kroah-Hartman
1
-33
/
+0
2016-11-29
driver core: class: add class_groups support
Greg Kroah-Hartman
1
-0
/
+15
2015-09-29
class_find_device: fix reference to argument "match"
Rolf Eike Beer
1
-1
/
+1
2015-03-25
drivers: base: class: Add a blank line after declarations
Cosmin Tomulescu
1
-0
/
+2
2013-09-26
sysfs: make attr namespace interface less convoluted
Tejun Heo
1
-20
/
+9
2013-08-22
sysfs.h: remove attr_name() macro
Greg Kroah-Hartman
1
-2
/
+2
2013-02-06
driver-core: constify data for class_find_device()
Michał Mirosław
1
-2
/
+2
2011-12-14
driver-core: implement 'sysdev' functionality for regular devices and buses
Kay Sievers
1
-7
/
+7
2011-10-19
class: Implement support for class attrs in tagged sysfs directories.
Eric W. Biederman
1
-2
/
+15
2010-11-17
driver-core: merge private parts of class and bus
Kay Sievers
1
-19
/
+19
2010-11-10
driver core: fix whitespace in class_attr_string
Brandon Philips
1
-2
/
+2
2010-10-22
SYSFS: Allow boot time switching between deprecated and modern sysfs layout
Andi Kleen
1
-2
/
+2
2010-10-22
driver core: remove CONFIG_SYSFS_DEPRECATED_V2 but keep it for block devices
Kay Sievers
1
-19
/
+0
2010-05-21
kobj: Add basic infrastructure for dealing with namespaces.
Eric W. Biederman
1
-0
/
+9
2010-03-19
driver-core: document ERR_PTR() return values
Jani Nikula
1
-0
/
+2
2010-03-07
Driver core: Constify struct sysfs_ops in struct kobj_type
Emese Revfy
1
-1
/
+1
2010-03-07
driver core: Add class_attr_string for simple read-only string
Andi Kleen
1
-0
/
+10
2010-03-07
driver-core: Add attribute argument to class_attribute show/store
Andi Kleen
1
-2
/
+2
2010-02-16
class: Free the class private data in class_release
Laurent Pinchart
1
-0
/
+2
2009-09-15
Driver core: Add support for compatibility classes
Jean Delvare
1
-0
/
+87
2008-10-09
driver-core: use klist for class device list and implement iterator
Tejun Heo
1
-33
/
+103
2008-08-21
driver model: anti-oopsing medicine
David Brownell
1
-0
/
+11
2008-07-28
locking: fix mutex @key parameter kernel-doc notation
Randy Dunlap
1
-0
/
+1
2008-07-21
class: change internal semaphore to a mutex
Dave Young
1
-11
/
+12
2008-07-21
class: add lockdep infrastructure
Matthew Wilcox
1
-5
/
+6
2008-07-21
class: rename "sem" to "class_sem" in internal class structure
Greg Kroah-Hartman
1
-11
/
+11
2008-07-21
class: rename "subsys" to "class_subsys" in internal class structure
Greg Kroah-Hartman
1
-11
/
+12
2008-07-21
class: rename "interfaces" to "class_interfaces" in internal class structure
Greg Kroah-Hartman
1
-2
/
+2
2008-07-21
class: rename "devices" to "class_devices" in internal class structure
Greg Kroah-Hartman
1
-5
/
+5
2008-07-21
class: move driver core specific parts to a private structure
Greg Kroah-Hartman
1
-39
/
+48
2008-07-21
Driver Core: add ability for class_find_device to start in middle of list
Greg Kroah-Hartman
1
-9
/
+13
2008-07-21
Driver Core: add ability for class_for_each_device to start in middle of list
Greg Kroah-Hartman
1
-8
/
+13
2008-07-21
sysfs: add /sys/dev/{char,block} to lookup sysfs path by major:minor
Dan Williams
1
-0
/
+4
2008-05-14
Driver core: struct class remove children list
Dave Young
1
-1
/
+0
2008-04-30
driver core: remove no longer used "struct class_device"
Kay Sievers
1
-637
/
+1
2008-04-19
driver core: replace remaining __FUNCTION__ occurrences
Harvey Harrison
1
-4
/
+4
2008-01-31
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6
Linus Torvalds
1
-1
/
+1
2008-01-31
docbook: fix drivers/base/class warning
Randy Dunlap
1
-1
/
+1
2008-01-27
Driver core: Fix up build when CONFIG_BLOCK=N
Greg Kroah-Hartman
1
-1
/
+1
2008-01-24
Driver core: coding style fixes
Greg Kroah-Hartman
1
-70
/
+70
2008-01-24
Driver Core: add class iteration api
Dave Young
1
-0
/
+133
2008-01-24
Driver core: change sysdev classes to use dynamic kobject names
Kay Sievers
1
-1
/
+1
2008-01-24
Kobject: rename kobject_init_ng() to kobject_init()
Greg Kroah-Hartman
1
-1
/
+1
2008-01-24
Kobject: rename kobject_add_ng() to kobject_add()
Greg Kroah-Hartman
1
-2
/
+2
2008-01-24
Driver core: convert block from raw kobjects to core devices
Kay Sievers
1
-0
/
+7
2008-01-24
Kobject: convert drivers/base/class.c to use kobject_init/add_ng()
Greg Kroah-Hartman
1
-7
/
+3
2008-01-24
kobject: remove subsystem_(un)register functions
Greg Kroah-Hartman
1
-2
/
+2
2008-01-24
kset: remove decl_subsys macro
Greg Kroah-Hartman
1
-2
/
+9
2008-01-24
kset: convert drivers/base/class.c to use kset_create
Greg Kroah-Hartman
1
-7
/
+5
2008-01-24
kobject: remove struct kobj_type from struct kset
Greg Kroah-Hartman
1
-3
/
+5
2007-10-31
Revert "Driver core: remove class_device_*_bin_file"
Greg Kroah-Hartman
1
-0
/
+18
2007-10-30
Driver core: remove class_device_*_bin_file
Greg Kroah-Hartman
1
-18
/
+0
2007-10-12
Driver core: rename ktype_class
Greg Kroah-Hartman
1
-5
/
+5
2007-10-12
driver core: remove subsystem_init()
Greg Kroah-Hartman
1
-1
/
+1
2007-10-12
Driver core: remove subsys_get()
Greg Kroah-Hartman
1
-1
/
+1
2007-10-12
Driver core: remove subsys_put()
Greg Kroah-Hartman
1
-1
/
+1
2007-10-12
Driver core: remove subsys_set_kset
Greg Kroah-Hartman
1
-1
/
+1
2007-10-12
Driver core: change add_uevent_var to use a struct
Kay Sievers
1
-32
/
+10
2007-07-11
driver-core: make devt_attr and uevent_attr static
Tejun Heo
1
-28
/
+16
2007-07-11
sysfs: kill unnecessary attribute->owner
Tejun Heo
1
-2
/
+0
2007-06-08
Driver core: keep PHYSDEV for old struct class_device
Kay Sievers
1
-38
/
+21
2007-05-02
remove "struct subsystem" as it is no longer needed
Greg Kroah-Hartman
1
-10
/
+8
2007-04-27
driver core: fix namespace issue with devices assigned to classes
Kay Sievers
1
-1
/
+1
2007-02-23
Driver core: remove class_device_rename
Greg Kroah-Hartman
1
-42
/
+0
2007-02-16
Driver: remove redundant kobject_unregister checks
Mariusz Kozlowski
1
-2
/
+1
2007-02-07
driver core fixes: make_class_name() retval checks
Cornelia Huck
1
-7
/
+14
2006-12-13
driver core: delete virtual directory on class_unregister()
Akinobu Mita
1
-0
/
+2
2006-12-01
CONFIG_SYSFS_DEPRECATED - class symlinks
Kay Sievers
1
-51
/
+98
2006-12-01
Driver Core: Move virtual_device_parent() to core.c
Greg Kroah-Hartman
1
-17
/
+0
2006-10-18
driver core fixes: sysfs_create_link() retval check in class.c
Cornelia Huck
1
-1
/
+4
2006-09-29
[PATCH] Fix parameter names in drivers/base/class.c
Rolf Eike Beer
1
-4
/
+4
2006-09-25
Class: add support for class interfaces for devices
Greg Kroah-Hartman
1
-0
/
+10
2006-09-25
Driver core: create devices/virtual/ tree
Greg Kroah-Hartman
1
-0
/
+17
2006-09-25
Driver core: add const to class_create
Miguel Ojeda Sandonis
1
-1
/
+1
2006-09-25
class_device_create(): make fmt argument 'const char *'
Dmitry Torokhov
1
-1
/
+2
2006-09-25
deprecate PHYSDEV* keys
Kay Sievers
1
-1
/
+1
2006-06-30
Remove obsolete #include <linux/config.h>
Jörn Engel
1
-1
/
+0
2006-06-21
[PATCH] Driver core: add generic "subsystem" link to all devices
Kay Sievers
1
-0
/
+2
2006-06-21
[PATCH] Driver core: allow struct device to have a dev_t
Greg Kroah-Hartman
1
-0
/
+1
2006-06-21
[PATCH] Driver core: change make_class_name() to take kobjects
Greg Kroah-Hartman
1
-14
/
+17
2006-06-21
[PATCH] Driver Core: remove unused exports
Greg Kroah-Hartman
1
-4
/
+2
2006-06-21
[PATCH] Driver core: class_device_add needs error checks
Stephen Hemminger
1
-18
/
+54
2006-05-06
[CLASS DEVICE]: add attribute_group creation
Stephen Hemminger
1
-0
/
+32
2006-04-14
[PATCH] driver core: fix unnecessary NULL check in drivers/base/class.c
Jayachandran C
1
-7
/
+6
2006-01-04
[PATCH] driver core: replace "hotplug" by "uevent"
Kay Sievers
1
-33
/
+33
2005-10-30
[PATCH] fix missing includes
Tim Schmielau
1
-0
/
+1
2005-10-28
[PATCH] Driver Core: add the ability for class_device structures to be nested
Greg Kroah-Hartman
1
-44
/
+81
2005-10-28
[PATCH] add sysfs attr to re-emit device hotplug event
Kay Sievers
1
-2
/
+14
2005-10-28
[PATCH] Driver core: pass interface to class interface methods
Dmitry Torokhov
1
-4
/
+4
2005-10-28
[PATCH] Driver core: send hotplug event before adding class interfaces
Dmitry Torokhov
1
-1
/
+2
2005-09-22
[PATCH] fix class symlinks in sysfs
Bill Nottingham
1
-0
/
+13
2005-09-13
[PATCH] drivers/base/*: use kzalloc instead of kmalloc+memset
Jiri Slaby
1
-6
/
+4
2005-09-05
[PATCH] Driver core: small cleanup; remove check for NULL before kfree() in d...
Jesper Juhl
1
-4
/
+2
2005-09-05
[PATCH] Driver core: link device and all class devices derived from it.
Dmitry Torokhov
1
-2
/
+31
2005-08-16
[PATCH] Driver core: potentially fix use after free in class_device_attr_show
Maneesh Soni
1
-4
/
+6
2005-06-20
[PATCH] class: add kerneldoc for the new class functions.
gregkh@suse.de
1
-0
/
+43
2005-06-20
[PATCH] CLASS: move a "simple" class logic into the class core.
gregkh@suse.de
1
-11
/
+134
2005-06-20
[PATCH] sysfs: (driver/base) if show/store is missing return -EIO
Dmitry Torokhov
1
-2
/
+2
2005-06-20
[PATCH] kset_hotplug_ops->name shoudl return const char *
Dmitry Torokhov
1
-1
/
+1
2005-04-18
[PATCH] kobject/hotplug split - class core
kay.sievers@vrfy.org
1
-0
/
+2
2005-04-16
Linux-2.6.12-rc2
v2.6.12-rc2
Linus Torvalds
1
-0
/
+591