PNP: fix up after Lindent
More manual fixups after Lindent. No functional change. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Acked-by: Adam Belay <abelay@novell.com> Signed-off-by: Len Brown <len.brown@intel.com>
此提交包含在:
@@ -591,6 +591,7 @@ subsys_initcall(pnpbios_init);
|
||||
static int __init pnpbios_thread_init(void)
|
||||
{
|
||||
struct task_struct *task;
|
||||
|
||||
#if defined(CONFIG_PPC_MERGE)
|
||||
if (check_legacy_ioport(PNPBIOS_BASE))
|
||||
return 0;
|
||||
|
@@ -212,7 +212,7 @@ static int proc_write_node(struct file *file, const char __user * buf,
|
||||
goto out;
|
||||
}
|
||||
ret = count;
|
||||
out:
|
||||
out:
|
||||
kfree(node);
|
||||
return ret;
|
||||
}
|
||||
|
@@ -238,7 +238,7 @@ static unsigned char *pnpbios_parse_allocated_resource_data(unsigned char *p,
|
||||
break;
|
||||
|
||||
default: /* an unkown tag */
|
||||
len_err:
|
||||
len_err:
|
||||
printk(KERN_ERR
|
||||
"PnPBIOS: Unknown tag '0x%x', length '%d'.\n",
|
||||
tag, len);
|
||||
@@ -298,6 +298,7 @@ static void pnpbios_parse_fixed_mem32_option(unsigned char *p, int size,
|
||||
struct pnp_option *option)
|
||||
{
|
||||
struct pnp_mem *mem;
|
||||
|
||||
mem = kzalloc(sizeof(struct pnp_mem), GFP_KERNEL);
|
||||
if (!mem)
|
||||
return;
|
||||
@@ -468,7 +469,7 @@ static unsigned char *pnpbios_parse_resource_option_data(unsigned char *p,
|
||||
return p + 2;
|
||||
|
||||
default: /* an unkown tag */
|
||||
len_err:
|
||||
len_err:
|
||||
printk(KERN_ERR
|
||||
"PnPBIOS: Unknown tag '0x%x', length '%d'.\n",
|
||||
tag, len);
|
||||
@@ -562,7 +563,7 @@ static unsigned char *pnpbios_parse_compatible_ids(unsigned char *p,
|
||||
break;
|
||||
|
||||
default: /* an unkown tag */
|
||||
len_err:
|
||||
len_err:
|
||||
printk(KERN_ERR
|
||||
"PnPBIOS: Unknown tag '0x%x', length '%d'.\n",
|
||||
tag, len);
|
||||
@@ -756,7 +757,7 @@ static unsigned char *pnpbios_encode_allocated_resource_data(unsigned char *p,
|
||||
break;
|
||||
|
||||
default: /* an unkown tag */
|
||||
len_err:
|
||||
len_err:
|
||||
printk(KERN_ERR
|
||||
"PnPBIOS: Unknown tag '0x%x', length '%d'.\n",
|
||||
tag, len);
|
||||
|
新增問題並參考
封鎖使用者