Re: [PATCH v2] scsi: fcoe: use sysfs_match_string over fcoe_parse_mode
From: Martin K. Petersen
Date: Wed Dec 13 2023 - 22:25:51 EST
Justin,
> Instead of copying @buf into a new buffer and carefully managing its
> newline/null-terminating status, we can just use sysfs_match_string()
> as it uses sysfs_streq() internally which handles newline/null-term:
Applied to 6.8/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering