Cppcheck complains about the following warning, fix by adding
parentheses
[sound/soc/sof/ipc.c:783]:
(style) Clarify calculation precedence for '&' and '?'.
[sound/soc/sof/ipc.c:785]:
(style) Clarify calculation precedence for '&' and '?'.
[sound/soc/sof/ipc.c:787]:
(style) Clarify calculation precedence for '&' and '?'.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
                         " lock debug: %s\n"
                         " lock vdebug: %s\n",
                         v->build, v->date, v->time,
-                        ready->flags & SOF_IPC_INFO_GDB ?
+                        (ready->flags & SOF_IPC_INFO_GDB) ?
                                "enabled" : "disabled",
-                        ready->flags & SOF_IPC_INFO_LOCKS ?
+                        (ready->flags & SOF_IPC_INFO_LOCKS) ?
                                "enabled" : "disabled",
-                        ready->flags & SOF_IPC_INFO_LOCKSV ?
+                        (ready->flags & SOF_IPC_INFO_LOCKSV) ?
                                "enabled" : "disabled");
        }