[PATCH v2 0/3] MR1775: Fix a few gcc warnings