mirror of
https://github.com/torvalds/linux.git
synced 2024-12-01 08:31:37 +00: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 |