peripheral: Fix unchecked return value
authorTedd Ho-Jeong An <tedd.an@intel.com>
Mon, 18 Oct 2021 17:28:33 +0000 (10:28 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:37 +0000 (19:08 +0530)
commit5d018bd7c1318b0191f1c4b9b6a939ad6c3a91cb
tree785271a92b2ac3850b29d4fac1622b6be52b39e2
parent7300769ba8aca043982b1c8e2a16f9e76313b18f
peripheral: Fix unchecked return value

This patch fixes the unchecked return value(CWE-252) issues reported by
the Coverity.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
peripheral/main.c