Skip to content

Commit 7dda145

Browse files
6by9pelwell
authored andcommitted
drm/vc4: Correct logging string for dev_err_probe
The commit that changed from dev_err to dev_err_probe left the %d in the format string, but removed the parameter, leading to a compile warning. Fixes: "6505412df625 drm/vc4: Use dev_err_probe when logging error registering HDMI audio" Signed-off-by: Dave Stevenson <[email protected]>
1 parent 085aeef commit 7dda145

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/vc4/vc4_hdmi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1848,7 +1848,7 @@ static int vc4_hdmi_audio_init(struct vc4_hdmi *vc4_hdmi)
18481848
snd_soc_card_set_drvdata(card, vc4_hdmi);
18491849
ret = devm_snd_soc_register_card(dev, card);
18501850
if (ret)
1851-
dev_err_probe(dev, ret, "Could not register sound card: %d\n");
1851+
dev_err_probe(dev, ret, "Could not register sound card.\n");
18521852

18531853
return ret;
18541854

0 commit comments

Comments
 (0)