diff options
author | Hans de Goede <hdegoede@redhat.com> | 2012-05-22 11:40:27 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2012-05-30 07:55:46 +0200 |
commit | 54e2dc9341aca23d5241699e3b74c8dce609fa2d (patch) | |
tree | 0a7ae888e38c2233b957bc0476d81bee7cc3e148 /lib/iomap.c | |
parent | 85a2e40cb5053574cd3b1f33c00194309ce3704c (diff) | |
download | op-kernel-dev-54e2dc9341aca23d5241699e3b74c8dce609fa2d.zip op-kernel-dev-54e2dc9341aca23d5241699e3b74c8dce609fa2d.tar.gz |
watchdog: sch56xx-common: Add proper ref-counting of watchdog data
This fixes referencing free-ed memory in the corner case where /dev/watchdog
is open when the platform driver gets unbound from the platform device.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'lib/iomap.c')
0 files changed, 0 insertions, 0 deletions