Commit Graph
4 Commits
Author SHA1 Message Date
Greg Hackmann e14dccb7c0 alarmtimer: don't rate limit one-shot timers
Commit ff86bf0c65f1 ("alarmtimer: Rate limit periodic intervals") sets a
minimum bound on the alarm timer interval.  This minimum bound shouldn't
be applied if the interval is 0.  Otherwise, one-shot timers will be
converted into periodic ones.

Fixes: ff86bf0c65f1 ("alarmtimer: Rate limit periodic intervals")
Change-Id: I3dd6cb7b5caec3d39b956489448c19d3cda41e5c
Reported-by: Ben Fennema <fennema@google.com>
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Cc: stable@vger.kernel.org
Cc: John Stultz <john.stultz@linaro.org>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kevin F. Haggerty <haggertk@lineageos.org>
2021-06-19 16:26:29 +02:00
Greg Hackmann d3a82f23ec net: wireless: bcmdhd: fix use-after-free in _dhd_pno_get_for_batch()
Bug: 32838767
Change-Id: I987b07c30b3ed76865a002e7c154a5fa36b1bf29
Signed-off-by: Greg Hackmann <ghackmann@google.com>
CVE-2017-0430
Signed-off-by: Kevin F. Haggerty <haggertk@lineageos.org>
2019-08-06 12:24:27 +02:00
Greg Hackmann da38a81bad ANDROID: sdcardfs: remove dead function open_flags_to_access_mode()
smatch warns about the suspicious formatting in the last line of
open_flags_to_access_mode().  It turns out the only caller was deleted
over a year ago by "ANDROID: sdcardfs: Bring up to date with Android M
permissions:", so we can "fix" the function's formatting by deleting it.

Change-Id: Id85946f3eb01722eef35b1815f405a6fda3aa4ff
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Signed-off-by: Kevin F. Haggerty <haggertk@lineageos.org>
2019-08-06 10:45:26 +02:00
Greg Hackmann d1b0c6c861 gpu: ion: fix page offset in dma_buf_kmap()
Change-Id: I0646806bfdd4526f1a22dba55b2063322d0eabe6
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Git-commit: e2d0b9d6731a8795f1cc5d7c55d590a2d91d51a1
Git-repo: https://android.googlesource.com/kernel/common
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
2013-04-16 11:12:02 -07:00