diff options
| author | Rodrigo Vivi <[email protected]> | 2018-07-23 09:13:12 -0700 | 
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2018-07-23 09:13:12 -0700 | 
| commit | c74a7469f97c0f40b46e82ee979f9fb1bb6e847c (patch) | |
| tree | f2690a1a916b73ef94657fbf0e0141ae57701825 /arch/x86/platform/uv/tlb_uv.c | |
| parent | 6f15a7de86c8cf2dc09fc9e6d07047efa40ef809 (diff) | |
| parent | 500775074f88d9cf5416bed2ca19592812d62c41 (diff) | |
Merge drm/drm-next into drm-intel-next-queued
We need a backmerge to get DP_DPCD_REV_14 before we push other
i915 changes to dinq that could break compilation.
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'arch/x86/platform/uv/tlb_uv.c')
| -rw-r--r-- | arch/x86/platform/uv/tlb_uv.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/arch/x86/platform/uv/tlb_uv.c b/arch/x86/platform/uv/tlb_uv.c index b36caae0fb2f..ca446da48fd2 100644 --- a/arch/x86/platform/uv/tlb_uv.c +++ b/arch/x86/platform/uv/tlb_uv.c @@ -615,7 +615,7 @@ static int uv2_3_wait_completion(struct bau_desc *bau_desc,  	/* spin on the status MMR, waiting for it to go idle */  	while (descriptor_stat != UV2H_DESC_IDLE) { -		if ((descriptor_stat == UV2H_DESC_SOURCE_TIMEOUT)) { +		if (descriptor_stat == UV2H_DESC_SOURCE_TIMEOUT) {  			/*  			 * A h/w bug on the destination side may  			 * have prevented the message being marked @@ -2142,7 +2142,7 @@ static int __init init_per_cpu(int nuvhubs, int base_part_pnode)  	if (is_uv3_hub() || is_uv2_hub() || is_uv1_hub())  		timeout_us = calculate_destination_timeout(); -	vp = kmalloc(nuvhubs * sizeof(struct uvhub_desc), GFP_KERNEL); +	vp = kmalloc_array(nuvhubs, sizeof(struct uvhub_desc), GFP_KERNEL);  	uvhub_descs = (struct uvhub_desc *)vp;  	memset(uvhub_descs, 0, nuvhubs * sizeof(struct uvhub_desc));  	uvhub_mask = kzalloc((nuvhubs+7)/8, GFP_KERNEL); |