lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20210917091247.231305-1-lv.ruyi@zte.com.cn>
Date:   Fri, 17 Sep 2021 09:12:47 +0000
From:   cgel.zte@...il.com
To:     mturquette@...libre.com
Cc:     sboyd@...nel.org, matthias.bgg@...il.com, lv.ruyi@....com.cn,
        chun-jie.chen@...iatek.com, wenst@...omium.org,
        linux-clk@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
        linux-mediatek@...ts.infradead.org, linux-kernel@...r.kernel.org,
        Zeal Robot <zealci@....com.cn>
Subject: [PATCH] clk: mediatek: remove duplicate include

From: Lv Ruyi <lv.ruyi@....com.cn>

Remove all but the first include of dt-bindings/clock/mt8195-clk.h
from clk-mt8195-imp_iic_wrap.c,and maintain alphabetic order in the
include list.

Reported-by: Zeal Robot <zealci@....com.cn>
Signed-off-by: Lv Ruyi <lv.ruyi@....com.cn>
---
 drivers/clk/mediatek/clk-mt8195-imp_iic_wrap.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/drivers/clk/mediatek/clk-mt8195-imp_iic_wrap.c b/drivers/clk/mediatek/clk-mt8195-imp_iic_wrap.c
index 0e2ac0a30aa0..261610509e39 100644
--- a/drivers/clk/mediatek/clk-mt8195-imp_iic_wrap.c
+++ b/drivers/clk/mediatek/clk-mt8195-imp_iic_wrap.c
@@ -3,13 +3,12 @@
 // Copyright (c) 2021 MediaTek Inc.
 // Author: Chun-Jie Chen <chun-jie.chen@...iatek.com>
 
-#include "clk-gate.h"
-#include "clk-mtk.h"
-
-#include <dt-bindings/clock/mt8195-clk.h>
 #include <linux/clk-provider.h>
 #include <linux/platform_device.h>
 
+#include "clk-gate.h"
+#include "clk-mtk.h"
+
 #include <dt-bindings/clock/mt8195-clk.h>
 
 static const struct mtk_gate_regs imp_iic_wrap_cg_regs = {
-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ