]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/sti: fix inconsistent indenting warning
authorCharles Han <hanchunchao@inspur.com>
Wed, 5 Mar 2025 10:16:41 +0000 (18:16 +0800)
committerRaphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Thu, 3 Apr 2025 15:22:56 +0000 (17:22 +0200)
Fix below inconsistent indenting smatch warning.
smatch warnings:
drivers/gpu/drm/sti/sti_hda.c:696 sti_hda_bind() warn: inconsistent indenting

Signed-off-by: Charles Han <hanchunchao@inspur.com>
Acked-by: Raphaƫl Gallais-Pou <rgallaispou@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250305101641.2399-1-hanchunchao@inspur.com
Signed-off-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
drivers/gpu/drm/sti/sti_hda.c

index eedccdf70833145d8cc316588915db2c766bb31a..d202b6c1eb8f6032fef547c9f00ca9cd2a914520 100644 (file)
@@ -693,7 +693,7 @@ static int sti_hda_bind(struct device *dev, struct device *master, void *data)
 
        connector->hda = hda;
 
-               bridge = devm_kzalloc(dev, sizeof(*bridge), GFP_KERNEL);
+       bridge = devm_kzalloc(dev, sizeof(*bridge), GFP_KERNEL);
        if (!bridge)
                return -ENOMEM;