mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 04:29:11 -04:00
staging: wimax: fix quoted string split across lines in op-rfkill.c
This commit fixes the following checkpatch.pl warning: WARNING: quoted string split across lines + dev_err(dev, "WIMAX_GNL_RFKILL: can't find RFKILL_STATE " + "attribute\n"); Signed-off-by: Gabriele Modena <gabriele.modena@gmail.com> Link: https://lore.kernel.org/r/590fcf33a97025019e5c3b3a915fec9bbe24aa4c.1615652628.git.gabriele.modena@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
23df3c40da
commit
dff20ceb91
@@ -417,8 +417,7 @@ int wimax_gnl_doit_rfkill(struct sk_buff *skb, struct genl_info *info)
|
||||
dev = wimax_dev_to_dev(wimax_dev);
|
||||
result = -EINVAL;
|
||||
if (info->attrs[WIMAX_GNL_RFKILL_STATE] == NULL) {
|
||||
dev_err(dev, "WIMAX_GNL_RFKILL: can't find RFKILL_STATE "
|
||||
"attribute\n");
|
||||
dev_err(dev, "WIMAX_GNL_RFKILL: can't find RFKILL_STATE attribute\n");
|
||||
goto error_no_pid;
|
||||
}
|
||||
new_state = nla_get_u32(info->attrs[WIMAX_GNL_RFKILL_STATE]);
|
||||
|
||||
Reference in New Issue
Block a user