mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 22:54:05 +08:00
567a1e852e
ctlr->mode is of unsigned type, it is never less than zero.
Fix this by using an extra variable called 'res', to store return value
from sysfs_match_string() and assign that to ctlr->mode on the success
path.
Fixes:
|
||
---|---|---|
.. | ||
fcoe_ctlr.c | ||
fcoe_sysfs.c | ||
fcoe_transport.c | ||
fcoe.c | ||
fcoe.h | ||
libfcoe.h | ||
Makefile |