misc: fs_loader: Initialize actread variable
authorAlif Zakuan Yuslaimi <alif.zakuan.yuslaimi@altera.com>
Mon, 18 Aug 2025 02:55:02 +0000 (19:55 -0700)
committerTom Rini <trini@konsulko.com>
Tue, 9 Sep 2025 16:30:51 +0000 (10:30 -0600)
commita3f0a8e7a1be4843363967e63d8e5c7b725ce2fc
tree274888755924d57b9c5c4cd4b33d4bf7693066a7
parente0f9a4fb576c3f4233393194161e48941823cbc3
misc: fs_loader: Initialize actread variable

Initialize the actread variable to prevent undefined behavior
that can occur if the variable is used before being assigned a
value.

This will help to prevent potential issues, especially if
actread is used (e.g., read, incremented, or returned) before
being explicitly set elsewhere in the code.

Signed-off-by: Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi@altera.com>
drivers/misc/fs_loader.c