From patchwork Sat Nov 5 11:09:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe JAILLET X-Patchwork-Id: 15951 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp933871wru; Sat, 5 Nov 2022 04:16:39 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5OmsgJ7LjuUsIhhej0QOWmihUWx6NyUA0i3Hu4kw6YHybM6+b6vlckiLXT+Prcr09aYYfL X-Received: by 2002:a17:907:984:b0:77f:4d95:9e2f with SMTP id bf4-20020a170907098400b0077f4d959e2fmr38885749ejc.176.1667646999147; Sat, 05 Nov 2022 04:16:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667646999; cv=none; d=google.com; s=arc-20160816; b=JuuiPP068fDM0icbVMKi3jA6Zh/uyZMWgtKBn8ReIcolj9olU6Kbd4pD7cZIeqxsCe dPIw9XPIfwVGASCczwd7OtbFbjpl3TFM7Q0u2FYGuFEph6EClTQJ4R5GxvMlgxuu6wvm 97P5YAuuVQJEqfvBAIARVvX2f9zMQXknOmSr7IcuLmjbMwP6dQfHeXNB9X6wM4JvxG30 qesECjEO5Qz1wbCoJWMpXMbFD1njg6T7wQqO4Z8HgTHc+HVKLTiD1qifz9guWTd1EJt4 vB3zZR5jZL24u3rUsk/78jIweDXr1rs5s/4mbdexew0wq3m+Solk9vB18Rr+mffzcswl cIWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=06rpL1blyTFxKYx+7EITU+6KQ6Xl+HNahiZPs3M1nvI=; b=y6Ev9BIT24wsVpvfVGY+uT5nsGXNP82uS0mKVdKQanNBRH2DBYa4YRY+D06lOQhGzw 9JGV1yR874U7eeYjS1/emdMeu9qpzxuMqtRK4yhvW9VTjIXDDZiJagheK1fGIJTI+TWL fE/93y1jHOkatVxEqIP6ZSu7or82wRUMm8NCdGTo7lPchL2tJjjI/15j4iL/6+SB2ia4 mVAO6pqW+JBnkh1tllgQtpkeh4oKfF2Az8BPrXbPfbBOKMCX1mcqbMkOuQEgowbXfZ0U +UZtWKykdp3UZvpHQHhdvXZFQu5d6RW8qIYzLVM60tMU1dkK4MeNHenJhy4qHq+yznRt IkeQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qq23-20020a17090720d700b0077547abf08fsi1703444ejb.169.2022.11.05.04.16.15; Sat, 05 Nov 2022 04:16:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229486AbiKELJt (ORCPT + 99 others); Sat, 5 Nov 2022 07:09:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229511AbiKELJr (ORCPT ); Sat, 5 Nov 2022 07:09:47 -0400 Received: from smtp.smtpout.orange.fr (smtp-20.smtpout.orange.fr [80.12.242.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DF75101F5 for ; Sat, 5 Nov 2022 04:09:44 -0700 (PDT) Received: from pop-os.home ([86.243.100.34]) by smtp.orange.fr with ESMTPA id rH3QocCGWnj75rH3QonBEO; Sat, 05 Nov 2022 12:09:42 +0100 X-ME-Helo: pop-os.home X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Sat, 05 Nov 2022 12:09:42 +0100 X-ME-IP: 86.243.100.34 From: Christophe JAILLET To: Wim Van Sebroeck , Guenter Roeck , Joel Stanley , Andrew Jeffery Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET , linux-watchdog@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org Subject: [PATCH] watchdog: Include when appropriate Date: Sat, 5 Nov 2022 12:09:34 +0100 Message-Id: <08fd5512e569558231247515c04c8596a1d11004.1667646547.git.christophe.jaillet@wanadoo.fr> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748654620107300643?= X-GMAIL-MSGID: =?utf-8?q?1748654620107300643?= The kstrto() functions have been moved from kernel.h to kstrtox.h. So, in order to eventually remove from , include the latter directly in the appropriate files. Signed-off-by: Christophe JAILLET Reviewed-by: Guenter Roeck --- drivers/watchdog/aspeed_wdt.c | 1 + drivers/watchdog/watchdog_dev.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/watchdog/aspeed_wdt.c b/drivers/watchdog/aspeed_wdt.c index 0cff2adfbfc9..10863d2ef924 100644 --- a/drivers/watchdog/aspeed_wdt.c +++ b/drivers/watchdog/aspeed_wdt.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/watchdog/watchdog_dev.c b/drivers/watchdog/watchdog_dev.c index 55574ed42504..f31608f3e324 100644 --- a/drivers/watchdog/watchdog_dev.c +++ b/drivers/watchdog/watchdog_dev.c @@ -35,6 +35,7 @@ #include /* For __init/__exit/... */ #include /* For hrtimers */ #include /* For printk/panic/... */ +#include /* For kstrto* */ #include /* For kthread_work */ #include /* For handling misc devices */ #include /* For module stuff/... */