Searched hist:e0d0ae8a (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/wireless/rsi/ |
H A D | rsi_91x_debugfs.c | e0d0ae8a Thu Jul 06 09:37:04 CDT 2017 Amitkumar Karwar <amit.karwar@redpinesignals.com> rsi: use BUILD_BUG_ON check for fsm_state
Whenever new fsm_state enum element is added, fsm_state array also needs to be updated. If this change is missed, we may end up doing invalid access in array. BUILD_BUG_ON check will help to avoid this problem.
Signed-off-by: Amitkumar Karwar <amit.karwar@redpinesignals.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> e0d0ae8a Thu Jul 06 09:37:04 CDT 2017 Amitkumar Karwar <amit.karwar@redpinesignals.com> rsi: use BUILD_BUG_ON check for fsm_state Whenever new fsm_state enum element is added, fsm_state array also needs to be updated. If this change is missed, we may end up doing invalid access in array. BUILD_BUG_ON check will help to avoid this problem. Signed-off-by: Amitkumar Karwar <amit.karwar@redpinesignals.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
|
H A D | rsi_main.h | e0d0ae8a Thu Jul 06 09:37:04 CDT 2017 Amitkumar Karwar <amit.karwar@redpinesignals.com> rsi: use BUILD_BUG_ON check for fsm_state
Whenever new fsm_state enum element is added, fsm_state array also needs to be updated. If this change is missed, we may end up doing invalid access in array. BUILD_BUG_ON check will help to avoid this problem.
Signed-off-by: Amitkumar Karwar <amit.karwar@redpinesignals.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> e0d0ae8a Thu Jul 06 09:37:04 CDT 2017 Amitkumar Karwar <amit.karwar@redpinesignals.com> rsi: use BUILD_BUG_ON check for fsm_state Whenever new fsm_state enum element is added, fsm_state array also needs to be updated. If this change is missed, we may end up doing invalid access in array. BUILD_BUG_ON check will help to avoid this problem. Signed-off-by: Amitkumar Karwar <amit.karwar@redpinesignals.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
|