fix missing break in list_or_each_entry
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | gma500: fix a missing break in oaktrail_crtc_mode_setdrivers/ | +2 | 1 reply | |
| 2/5 | gma500: fix a missing break in cdv_intel_crtc_mode_setdrivers/ | +2 | 1 reply | |
| 3/5 | gma500: fix a missing break in psb_intel_crtc_mode_setdrivers/ | +2 | 2 replies | |
| 4/5 | gma500: fix a missing break in cdv_intel_dp_set_m_ndrivers/ | +2 | 1 reply | |
| 5/5 | gma500: fix a missing break in psb_driver_loaddrivers/ | +2 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] fix missing break in list_or_each_entry
Instead of exiting the loop as expected when an entry is found, the list_for_each_entry() continues until the traversal is complete. It could lead to invalid reference or set 'is_*' flags mistakely.
To fix this, when an entry is found, add a break to exit the loop.
Xiaomeng Tong (5):
gma500: fix a missing break in oaktrail_crtc_mode_set
gma500: fix a missing break in cdv_intel_crtc_mode_set
gma500: fix a missing break in psb_intel_crtc_mode_set
gma500: fix a missing break in cdv_intel_dp_set_m_n
gma500: fix a missing break in psb_driver_load
drivers/gpu/drm/gma500/cdv_intel_display.c | 2 ++ drivers/gpu/drm/gma500/cdv_intel_dp.c | 2 ++ drivers/gpu/drm/gma500/oaktrail_crtc.c | 2 ++ drivers/gpu/drm/gma500/psb_drv.c | 2 ++ drivers/gpu/drm/gma500/psb_intel_display.c | 2 ++ 5 files changed, 10 insertions(+)
Signature · 1 line
2.17.1