Skip to content

RTC: fix double free in rtc_register_device() error path

Dmitry Torokhov linux-rtc lkml 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 12 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4RTC: fix double free in rtc_register_device() error pathdrivers/rtc/class.c+2 -43 replies
2/4RTC: remove unnecessary device_get() in rtc_device_unregisterdrivers/rtc/class.c+12 -132 replies
3/4RTC: properly manage lifetime of dev and cdev in rtc devicedrivers/rtc/rtc-dev.c+1 -02 replies
4/4RTC: switch to using is_visible() to control sysfs attributesdrivers/rtc/class.c drivers/rtc/rtc-core.h drivers/rtc/rtc-sysfs.c+42 -565 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchKrzysztof Kozlowski
1/4R-b
2/4R-b
3/4R-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread