Commit 38dbbfa5 authored by Tao Zhou's avatar Tao Zhou Committed by Alex Deucher
Browse files

drm/amdgpu: fix coding style issue for mca notifier



Fix some issues found by checkpatch script.

Signed-off-by: default avatarTao Zhou <tao.zhou1@amd.com>
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent fb4d5891
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -2878,8 +2878,8 @@ static int amdgpu_bad_page_notifier(struct notifier_block *nb,
		kcalloc(adev->umc.max_ras_err_cnt_per_query,
			sizeof(struct eeprom_table_record), GFP_KERNEL);
	if (!err_data.err_addr) {
		dev_warn(adev->dev, "Failed to alloc memory for "
				"umc error address record in mca notifier!\n");
		dev_warn(adev->dev,
			"Failed to alloc memory for umc error record in mca notifier!\n");
		return NOTIFY_DONE;
	}