Message ID | 37daa028845d90ee77f1e547121a051a983fec2e.1667647002.git.christophe.jaillet@wanadoo.fr |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp934888wru; Sat, 5 Nov 2022 04:18:56 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5/cyfaFqRxwNQ9QcL5zH1r84Ofo87aZkiWQ7ZSs6X1X1JKm0mldUy66GTjMpjVbBwVctPN X-Received: by 2002:aa7:dd57:0:b0:453:2d35:70bb with SMTP id o23-20020aa7dd57000000b004532d3570bbmr40462307edw.26.1667647136089; Sat, 05 Nov 2022 04:18:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667647136; cv=none; d=google.com; s=arc-20160816; b=wBpkeGPjFBDGqDBJKKuGRVVL/hyS9hdo6jXd5A27nmc2t2hRWoAoKRRsTvZgmRKBo8 wkiO6P2nP49suDNsnkNsGpYR5A/D52jIIZkWHDuY8V2A2nCPFPMPKLYOGvql9vVsARAl yrJ/6d78lUcePfSdeVwP0wOetZNzLumFJIp08f7NKx75IxP8/vGuGy/GYgDgb+wKu/Fk 5HCDOFDPUB2RkNuCnYXihwtx5g07T+OljlwxHsFbdksyiJI6XKxxKpNmS/q/O5CLF++0 bZIGBlrKAwYpdSZdQ9UeWKQLbiIZ4dP/IFFL0OjkozbTc59D901ZafAejGEiCOgxQrQG +M3g== 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=oCvL/bm4J/8EdJ8blwV9BRNrsdI4k/i7uHv9d/05M+0=; b=J8a2nbS2+Y/VXM/0PpYNBYHMjrElZlWPQJS171/hGJLU+6RcFTlIcwUaGnCn/p4885 /ObzQHTBXe3KLTdMKELzRKy9yZqMKfBQZyhujebfEisvDD2rv4lTVvenkM52+ZgENYHV 3/czrBj3HWxZZ2Z6e9H/U2ZzfUk8zKZNN+h22mUkhNUjCsbnbmSP0Cim5CBpD10JWYpG vfKYeqO+s4iJLrRNAAblQjWVq8T+a5p5SnDx4hw6cHntA3dzFKm9ww/Fp25Pal7D5Fmu lVtIweif+MdmwAvOS/5C0A0SFamqazikrHkdAajVuLcMqh6bEEEhr7E/sRucgz/Epc6k OWlw== 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 m17-20020a056402511100b00461b8e2c7f4si2866321edd.548.2022.11.05.04.18.32; Sat, 05 Nov 2022 04:18:56 -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 S229781AbiKELRB (ORCPT <rfc822;hjfbswb@gmail.com> + 99 others); Sat, 5 Nov 2022 07:17:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229772AbiKELQ7 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 5 Nov 2022 07:16:59 -0400 Received: from smtp.smtpout.orange.fr (smtp-29.smtpout.orange.fr [80.12.242.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA3E213D2C for <linux-kernel@vger.kernel.org>; Sat, 5 Nov 2022 04:16:58 -0700 (PDT) Received: from pop-os.home ([86.243.100.34]) by smtp.orange.fr with ESMTPA id rHAWoPKKvr5PdrHAWoUSkv; Sat, 05 Nov 2022 12:16:57 +0100 X-ME-Helo: pop-os.home X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Sat, 05 Nov 2022 12:16:57 +0100 X-ME-IP: 86.243.100.34 From: Christophe JAILLET <christophe.jaillet@wanadoo.fr> To: Corey Minyard <minyard@acm.org> Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET <christophe.jaillet@wanadoo.fr>, openipmi-developer@lists.sourceforge.net Subject: [PATCH] ipmi/watchdog: Include <linux/kstrtox.h> when appropriate Date: Sat, 5 Nov 2022 12:16:54 +0100 Message-Id: <37daa028845d90ee77f1e547121a051a983fec2e.1667647002.git.christophe.jaillet@wanadoo.fr> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748654763371789837?= X-GMAIL-MSGID: =?utf-8?q?1748654763371789837?= |
Series |
ipmi/watchdog: Include <linux/kstrtox.h> when appropriate
|
|
Commit Message
Christophe JAILLET
Nov. 5, 2022, 11:16 a.m. UTC
The kstrto<something>() functions have been moved from kernel.h to
kstrtox.h.
So, in order to eventually remove <linux/kernel.h> from <linux/watchdog.h>,
include the latter directly in the appropriate files.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
---
drivers/char/ipmi/ipmi_watchdog.c | 1 +
1 file changed, 1 insertion(+)
Comments
On Sat, Nov 05, 2022 at 12:16:54PM +0100, Christophe JAILLET wrote: > The kstrto<something>() functions have been moved from kernel.h to > kstrtox.h. > > So, in order to eventually remove <linux/kernel.h> from <linux/watchdog.h>, > include the latter directly in the appropriate files. This is in my queue. Thanks. -corey > > Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> > --- > drivers/char/ipmi/ipmi_watchdog.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/char/ipmi/ipmi_watchdog.c b/drivers/char/ipmi/ipmi_watchdog.c > index 5b4e677929ca..47365150e431 100644 > --- a/drivers/char/ipmi/ipmi_watchdog.c > +++ b/drivers/char/ipmi/ipmi_watchdog.c > @@ -23,6 +23,7 @@ > #include <linux/init.h> > #include <linux/completion.h> > #include <linux/kdebug.h> > +#include <linux/kstrtox.h> > #include <linux/rwsem.h> > #include <linux/errno.h> > #include <linux/uaccess.h> > -- > 2.34.1 >
diff --git a/drivers/char/ipmi/ipmi_watchdog.c b/drivers/char/ipmi/ipmi_watchdog.c index 5b4e677929ca..47365150e431 100644 --- a/drivers/char/ipmi/ipmi_watchdog.c +++ b/drivers/char/ipmi/ipmi_watchdog.c @@ -23,6 +23,7 @@ #include <linux/init.h> #include <linux/completion.h> #include <linux/kdebug.h> +#include <linux/kstrtox.h> #include <linux/rwsem.h> #include <linux/errno.h> #include <linux/uaccess.h>