1
0
Fork 0
Commit Graph

2 Commits (redonkable)

Author SHA1 Message Date
Richard Zhu e4e58f4b61 MLK-11894 imx: sema4: fix the out of bounds write
Fix the out of bounds write, and the dereference before
null check.

Signed-off-by: Richard Zhu <Richard.Zhu@freescale.com>
(cherry picked from commit 775ff0727166535e9b1ba1f70167e6a33fee5f13)
2018-10-29 11:10:38 +08:00
Anson Huang b3c47c44c8 MLK-11488-1 driver: char: sema4: add sema4 support
- add linux sema4 driver.
- use volatile types in sema4 structure.
- align the port definiton a9 is 1, m4 is 2.

Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Richard Zhu <r65037@freescale.com>
2018-10-29 11:10:38 +08:00