[llvmlinux] [PATCH] remove unformated space
Jan-Simon Moeller
jsmoeller at linuxfoundation.org
Thu Mar 21 14:31:51 UTC 2013
Thanks, will apply.
Best,
Jan-Simon
Am 21.03.2013 10:19 schrieb "liguang" <lig.fnst at cn.fujitsu.com>:
> Signed-off-by: liguang <lig.fnst at cn.fujitsu.com>
> ---
> ...perf_event_intel_uncore_to_fix_boot_crash.patch | 34
> ++++++++++----------
> 1 files changed, 17 insertions(+), 17 deletions(-)
>
> diff --git
> a/arch/x86_64/patches/remove_perf_event_intel_uncore_to_fix_boot_crash.patch
> b/arch/x86_64/patches/remove_perf_event_intel_uncore_to_fix_boot_crash.patch
> index 5878b15..1407048 100644
> ---
> a/arch/x86_64/patches/remove_perf_event_intel_uncore_to_fix_boot_crash.patch
> +++
> b/arch/x86_64/patches/remove_perf_event_intel_uncore_to_fix_boot_crash.patch
> @@ -2,39 +2,39 @@ diff --git
> a/arch/x86/kernel/cpu/perf_event_intel_uncore.c b/arch/x86/kernel/cpu
> index b43200d..e878b26 100644
> --- a/arch/x86/kernel/cpu/perf_event_intel_uncore.c
> +++ b/arch/x86/kernel/cpu/perf_event_intel_uncore.c
> -@@ -2428,7 +2428,7 @@ static void __init uncore_types_exit(struct
> intel_uncore_type **types)
> +@@ -2428,2 +2428,2 @@ static void __init uncore_types_exit(struct
> intel_uncore_type **types)
> static int __init uncore_type_init(struct intel_uncore_type *type)
> {
> - struct intel_uncore_pmu *pmus;
> + struct intel_uncore_pmu *pmus;
> - struct attribute_group *events_group;
> + struct attribute_group *attr_group;
> - struct attribute **attrs;
> - int i, j;
> -
> + struct attribute **attrs;
> + int i, j;
> +
> @@ -2455,19 +2455,19 @@ static int __init uncore_type_init(struct
> intel_uncore_type *type)
> - while (type->event_descs[i].attr.attr.name)
> - i++;
> -
> + while (type->event_descs[i].attr.attr.name)
> + i++;
> +
> - events_group = kzalloc(sizeof(struct attribute *) * (i +
> 1) +
> - sizeof(*events_group), GFP_KERNEL);
> - if (!events_group)
> + attr_group = kzalloc(sizeof(struct attribute *) * (i + 1)
> +
> + sizeof(*attr_group), GFP_KERNEL);
> + if (!attr_group)
> - goto fail;
> -
> + goto fail;
> +
> - attrs = (struct attribute **)(events_group + 1);
> - events_group->name = "events";
> - events_group->attrs = attrs;
> + attrs = (struct attribute **)(attr_group + 1);
> + attr_group->name = "events";
> + attr_group->attrs = attrs;
> -
> - for (j = 0; j < i; j++)
> - attrs[j] = &type->event_descs[j].attr.attr;
> -
> +
> + for (j = 0; j < i; j++)
> + attrs[j] = &type->event_descs[j].attr.attr;
> +
> - type->events_group = events_group;
> + type->events_group = attr_group;
> - }
> -
> - type->pmu_group = &uncore_pmu_attr_group;
> + }
> +
> + type->pmu_group = &uncore_pmu_attr_group;
> --
> 1.7.2.5
>
> _______________________________________________
> LLVMLinux mailing list
> LLVMLinux at lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/llvmlinux
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20130321/30bc750f/attachment.html>
More information about the LLVMLinux
mailing list