Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp282088pxj; Thu, 13 May 2021 04:59:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNm7nHM36BYTEvyOzw7VOPD7pJsGX/bGpGAdbuPPAJZ1B1FdgTdI3tTvLH8hI7XbGXdLxr X-Received: by 2002:aa7:c150:: with SMTP id r16mr49060158edp.82.1620907181441; Thu, 13 May 2021 04:59:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620907181; cv=none; d=google.com; s=arc-20160816; b=OdLf4a2j1ttvwNjDHChvZAfWOdZl/7/Vv+r5C8bcWUevCrkAUKzqpKc+0ZtmxMGYxG BmMAglLXnFz4DpzKYs6TfQcI67iVsoQutO9Y5IlB2w/uJNRVhIObobbiIvpkbcNu1wch jzivAwhHQ0akdQMOuqXU/oX9LgRUsQvZVPDinblzr5Fd2m/w1IrnGvXAItdVQaGUEuLY enan2EG+2Xa2QCxP08gXzyXol578sypuHSQ4mt3x4EWNXxjLEdvogmAx8lOH89DTojNm 8dbTrUl2aWCI9+RHoNeufAV+oywkBOOH6L0xGsmV9A9HpJpKIVEIwFB87h8bsL6Z3/2c 4c2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=AfFRxDcIJjlX8ijYQq4Fr0ZKGcGvyNGEvsxjz+4g48o=; b=PZ6CEU6yNA6gTLqOxS6V+dA88j+PnZD9pXSByJltXSJ+la0thobaSXaceYtucksqor np3i3Mnoexa+luZX2Xe5RNbrJQMIRjINUzgANNBG5imgVSTuH2WkkpRDPwjxUBRGhrBI rCdevkl+0VeMlvTnCZcOmKbDb0tjVldC8AYMDSzMmIt6z4hb4d6T/ZpH8JYlcWyz2vX9 lRcYjTjWDqM+OZExKYsC8q+pbqKraV6T/6ubb7XWlMmJFRcdRanoKuSUxM4I9DiQJ4JP 9Kpr8tZxAnOlZ2U7KNAo+oIamusKIyGqB8R/zESTwdi3oT0Z4ifUgUs5rclgizsX1ThC fYxw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i14si3635958eje.519.2021.05.13.04.59.16; Thu, 13 May 2021 04:59:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233190AbhEMLLC (ORCPT + 99 others); Thu, 13 May 2021 07:11:02 -0400 Received: from out30-57.freemail.mail.aliyun.com ([115.124.30.57]:53810 "EHLO out30-57.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231690AbhEMLK7 (ORCPT ); Thu, 13 May 2021 07:10:59 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R111e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e01424;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0UYkkqt._1620904183; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0UYkkqt._1620904183) by smtp.aliyun-inc.com(127.0.0.1); Thu, 13 May 2021 19:09:49 +0800 From: Jiapeng Chong To: wim@linux-watchdog.org Cc: linux@roeck-us.net, p.zabel@pengutronix.de, linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org, Jiapeng Chong Subject: [PATCH v2] watchdog: dw_wdt: Fix duplicate included linux/kernel.h Date: Thu, 13 May 2021 19:09:42 +0800 Message-Id: <1620904182-74107-1-git-send-email-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Clean up the following includecheck warning: ./drivers/watchdog/dw_wdt.c: linux/kernel.h is included more than once. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- Changes in v2: -Adjust header file order, for the follow advice: https://lore.kernel.org/patchwork/patch/1428192/ drivers/watchdog/dw_wdt.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/watchdog/dw_wdt.c b/drivers/watchdog/dw_wdt.c index 32d0e17..cd57884 100644 --- a/drivers/watchdog/dw_wdt.c +++ b/drivers/watchdog/dw_wdt.c @@ -13,22 +13,21 @@ */ #include -#include -#include #include +#include #include #include +#include #include #include +#include #include #include -#include #include -#include #include +#include #include #include -#include #define WDOG_CONTROL_REG_OFFSET 0x00 #define WDOG_CONTROL_REG_WDT_EN_MASK 0x01 -- 1.8.3.1