mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-11 07:19:20 +00:00
Lock "FunctionName" should not be initialized
This commit is contained in:
@ -31,7 +31,7 @@ private:
|
||||
public:
|
||||
SpinLockData *GetLockData() { return &LockData; }
|
||||
|
||||
int Lock(const char *FunctionName = "Unknown")
|
||||
int Lock(const char *FunctionName)
|
||||
{
|
||||
LockData.AttemptingToGet = FunctionName;
|
||||
SpinLock_Lock(&LockData.LockData);
|
||||
|
Reference in New Issue
Block a user