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 v5.15.47 by commit 865051de2d9eaa50630e055b73921ceaf3c4a7fc, it was introduced in version v4.2 by commit fc2979118f3f5193475cb53d5df7bdaa7e358a42. For more details please see the references link.