Skip to content
Commit 532ec6f1 authored by Grant Grundler's avatar Grant Grundler Committed by Roland Dreier
Browse files

SRPT: Fix odd use of WARN_ON()



While WARN_ON("const string") will work, it's intent is not obvious.
The warning is more useful by showing the "state" value.

Signed-off-by: default avatarGrant Grundler <grundler@chromium.org>
Signed-off-by: default avatarRoland Dreier <roland@purestorage.com>
parent 41ef2d56
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment