rtc: mt6397: check return value after calling platformgetresource()
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v4.14.283 by commit 79fa3f5758d8712df0678df98161f948fc4370e5, it was introduced in version v4.2 by commit fc2979118f3f5193475cb53d5df7bdaa7e358a42. For more details please see the references link.