diff options
| -rw-r--r-- | drivers/gpu/drm/ast/ast_post.c | 4 | ||||
| -rw-r--r-- | drivers/gpu/drm/exynos/exynos_dp_core.c | 2 | ||||
| -rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_dpi.c | 2 | ||||
| -rw-r--r-- | drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c | 2 | ||||
| -rw-r--r-- | drivers/gpu/drm/nouveau/core/engine/graph/ctxnvf0.c | 2 | ||||
| -rw-r--r-- | drivers/gpu/drm/nouveau/core/engine/graph/nv50.c | 2 | ||||
| -rw-r--r-- | drivers/gpu/drm/radeon/radeon_bios.c | 2 |
7 files changed, 8 insertions, 8 deletions
diff --git a/drivers/gpu/drm/ast/ast_post.c b/drivers/gpu/drm/ast/ast_post.c index 4e5ea3898e72..38d437f3a267 100644 --- a/drivers/gpu/drm/ast/ast_post.c +++ b/drivers/gpu/drm/ast/ast_post.c | |||
| @@ -1083,7 +1083,7 @@ static void get_ddr3_info(struct ast_private *ast, struct ast2300_dram_param *pa | |||
| 1083 | case AST_DRAM_4Gx16: | 1083 | case AST_DRAM_4Gx16: |
| 1084 | param->dram_config = 0x133; | 1084 | param->dram_config = 0x133; |
| 1085 | break; | 1085 | break; |
| 1086 | }; /* switch size */ | 1086 | } /* switch size */ |
| 1087 | 1087 | ||
| 1088 | switch (param->vram_size) { | 1088 | switch (param->vram_size) { |
| 1089 | default: | 1089 | default: |
| @@ -1454,7 +1454,7 @@ static void get_ddr2_info(struct ast_private *ast, struct ast2300_dram_param *pa | |||
| 1454 | case AST_DRAM_4Gx16: | 1454 | case AST_DRAM_4Gx16: |
| 1455 | param->dram_config = 0x123; | 1455 | param->dram_config = 0x123; |
| 1456 | break; | 1456 | break; |
| 1457 | }; /* switch size */ | 1457 | } /* switch size */ |
| 1458 | 1458 | ||
| 1459 | switch (param->vram_size) { | 1459 | switch (param->vram_size) { |
| 1460 | default: | 1460 | default: |
diff --git a/drivers/gpu/drm/exynos/exynos_dp_core.c b/drivers/gpu/drm/exynos/exynos_dp_core.c index 5e05dbc60082..a8ffc8c1477b 100644 --- a/drivers/gpu/drm/exynos/exynos_dp_core.c +++ b/drivers/gpu/drm/exynos/exynos_dp_core.c | |||
| @@ -1087,7 +1087,7 @@ static void exynos_dp_dpms(struct exynos_drm_display *display, int mode) | |||
| 1087 | break; | 1087 | break; |
| 1088 | default: | 1088 | default: |
| 1089 | break; | 1089 | break; |
| 1090 | }; | 1090 | } |
| 1091 | dp->dpms_mode = mode; | 1091 | dp->dpms_mode = mode; |
| 1092 | } | 1092 | } |
| 1093 | 1093 | ||
diff --git a/drivers/gpu/drm/exynos/exynos_drm_dpi.c b/drivers/gpu/drm/exynos/exynos_drm_dpi.c index f1b8587cc63d..482127f633c5 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_dpi.c +++ b/drivers/gpu/drm/exynos/exynos_drm_dpi.c | |||
| @@ -152,7 +152,7 @@ static void exynos_dpi_dpms(struct exynos_drm_display *display, int mode) | |||
| 152 | break; | 152 | break; |
| 153 | default: | 153 | default: |
| 154 | break; | 154 | break; |
| 155 | }; | 155 | } |
| 156 | ctx->dpms_mode = mode; | 156 | ctx->dpms_mode = mode; |
| 157 | } | 157 | } |
| 158 | 158 | ||
diff --git a/drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c b/drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c index 489ffd2c66e5..87885d8c06e8 100644 --- a/drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c +++ b/drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c | |||
| @@ -148,7 +148,7 @@ static int handle_dsi_error(struct mdfld_dsi_pkg_sender *sender, u32 mask) | |||
| 148 | break; | 148 | break; |
| 149 | case BIT(14): | 149 | case BIT(14): |
| 150 | /*wait for all fifo empty*/ | 150 | /*wait for all fifo empty*/ |
| 151 | /*wait_for_all_fifos_empty(sender)*/; | 151 | /*wait_for_all_fifos_empty(sender)*/ |
| 152 | break; | 152 | break; |
| 153 | case BIT(15): | 153 | case BIT(15): |
| 154 | dev_dbg(sender->dev->dev, "No Action required\n"); | 154 | dev_dbg(sender->dev->dev, "No Action required\n"); |
diff --git a/drivers/gpu/drm/nouveau/core/engine/graph/ctxnvf0.c b/drivers/gpu/drm/nouveau/core/engine/graph/ctxnvf0.c index 0fab95e49f53..dec03f04114d 100644 --- a/drivers/gpu/drm/nouveau/core/engine/graph/ctxnvf0.c +++ b/drivers/gpu/drm/nouveau/core/engine/graph/ctxnvf0.c | |||
| @@ -842,7 +842,7 @@ nvf0_grctx_generate_mods(struct nvc0_graph_priv *priv, struct nvc0_grctx *info) | |||
| 842 | u16 magic3 = 0x0648; | 842 | u16 magic3 = 0x0648; |
| 843 | magic[gpc][0] = 0x10000000 | (magic0 << 16) | offset; | 843 | magic[gpc][0] = 0x10000000 | (magic0 << 16) | offset; |
| 844 | magic[gpc][1] = 0x00000000 | (magic1 << 16); | 844 | magic[gpc][1] = 0x00000000 | (magic1 << 16); |
| 845 | offset += 0x0324 * (priv->tpc_nr[gpc] - 1);; | 845 | offset += 0x0324 * (priv->tpc_nr[gpc] - 1); |
| 846 | magic[gpc][2] = 0x10000000 | (magic2 << 16) | offset; | 846 | magic[gpc][2] = 0x10000000 | (magic2 << 16) | offset; |
| 847 | magic[gpc][3] = 0x00000000 | (magic3 << 16); | 847 | magic[gpc][3] = 0x00000000 | (magic3 << 16); |
| 848 | offset += 0x0324; | 848 | offset += 0x0324; |
diff --git a/drivers/gpu/drm/nouveau/core/engine/graph/nv50.c b/drivers/gpu/drm/nouveau/core/engine/graph/nv50.c index 2c7809e1a09b..1a2d56493cf6 100644 --- a/drivers/gpu/drm/nouveau/core/engine/graph/nv50.c +++ b/drivers/gpu/drm/nouveau/core/engine/graph/nv50.c | |||
| @@ -901,7 +901,7 @@ nv50_graph_ctor(struct nouveau_object *parent, struct nouveau_object *engine, | |||
| 901 | nv_engine(priv)->sclass = nvaf_graph_sclass; | 901 | nv_engine(priv)->sclass = nvaf_graph_sclass; |
| 902 | break; | 902 | break; |
| 903 | 903 | ||
| 904 | }; | 904 | } |
| 905 | 905 | ||
| 906 | /* unfortunate hw bug workaround... */ | 906 | /* unfortunate hw bug workaround... */ |
| 907 | if (nv_device(priv)->chipset != 0x50 && | 907 | if (nv_device(priv)->chipset != 0x50 && |
diff --git a/drivers/gpu/drm/radeon/radeon_bios.c b/drivers/gpu/drm/radeon/radeon_bios.c index 9ab30976287d..6a03624fadaa 100644 --- a/drivers/gpu/drm/radeon/radeon_bios.c +++ b/drivers/gpu/drm/radeon/radeon_bios.c | |||
| @@ -626,7 +626,7 @@ static bool radeon_acpi_vfct_bios(struct radeon_device *rdev) | |||
| 626 | vhdr->DeviceID != rdev->pdev->device) { | 626 | vhdr->DeviceID != rdev->pdev->device) { |
| 627 | DRM_INFO("ACPI VFCT table is not for this card\n"); | 627 | DRM_INFO("ACPI VFCT table is not for this card\n"); |
| 628 | goto out_unmap; | 628 | goto out_unmap; |
| 629 | }; | 629 | } |
| 630 | 630 | ||
| 631 | if (vfct->VBIOSImageOffset + sizeof(VFCT_IMAGE_HEADER) + vhdr->ImageLength > tbl_size) { | 631 | if (vfct->VBIOSImageOffset + sizeof(VFCT_IMAGE_HEADER) + vhdr->ImageLength > tbl_size) { |
| 632 | DRM_ERROR("ACPI VFCT image truncated\n"); | 632 | DRM_ERROR("ACPI VFCT image truncated\n"); |
