Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp273438rdf; Thu, 2 Nov 2023 23:16:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE0N2W8xkabaNXa4lrdpqJMivLBx6GHwACmv0pjoAHIu+QK/SqRbz7gWZSU1FFBMIxzqgZL X-Received: by 2002:a17:903:2346:b0:1cc:449b:41e2 with SMTP id c6-20020a170903234600b001cc449b41e2mr19390387plh.23.1698992182638; Thu, 02 Nov 2023 23:16:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698992182; cv=none; d=google.com; s=arc-20160816; b=UWQmfk2gyNXMPrn9eDWp0C/blxBLX+qbEPMllO3kFqo4ont8FQRe3XQDBkJlD/fCXR GgMKgXJBJ07FONr+Ae9Owc9TeVBKeOwWIqDNZtP74VNQvPEhdmVJ/kJbtRZLLyTKiYGP Bb/5QY0Ff9+lYSzKoH4SJUgkCrrt8NRfyz+IQ0Ai1zX1SX1cdqg+4UjOAjE8Zti5GHWs u3loOZjNYgp3RsJ00V3cq9SKflsq9Kbz6Uy1xNnZdsN3/ys+B1/w5cw7O52tG7IkAPXf FHWvGbGXCFiioPav9iFlrEJMg02c7afOqWSi/2jNk9Hgj/pj+jtCzOPP/cGfLyj+YEzo tj6g== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=UrTbHIBuDGRrYkDPZsK7lRpnYMK3E56TRQ6kVp/EyZE=; fh=J5fZGSGUmoD0NT+ZfFkgng7qPhvONoMGdVOrNctU85A=; b=b14Bg/aPJUQGAUtEIKvZuhbWsAzKTw46q91dYiTRv7XetLAc+opdt80/nBiXPlD+0b mcCyEo170x7FovFSnFbmN/6hXBFn7EYrLMnXlmgZF4NBnqVHYWZS1ILDWGTIBsoCVMQv uJ2+iN4MShuynYZlWo+w6ESjI0zJK2CTVr4TTIe/wg9tp8sLcLKz5u9HQWKyjsZzEFLq wi+/0vpxqm+dTvRkCAR6W9dnGpInIrV+IW3NbnaHcq8IiD1tfxjSfI/ZG2PJD7e83V0T hXxYh3O8hHy6auQyA3T3TDtueDJYz46F+ApHZRM+7+hb0ZrUM4FD1TKA4t4l0YvHMBGQ WUdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeconstruct.com.au header.s=2022a header.b=JMtdd0T0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=codeconstruct.com.au Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id j3-20020a170902da8300b001a6ef92d441si993282plx.599.2023.11.02.23.16.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 23:16:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@codeconstruct.com.au header.s=2022a header.b=JMtdd0T0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=codeconstruct.com.au Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id AFC6F8115A8F; Thu, 2 Nov 2023 23:16:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230361AbjKCGPu (ORCPT + 99 others); Fri, 3 Nov 2023 02:15:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230307AbjKCGPs (ORCPT ); Fri, 3 Nov 2023 02:15:48 -0400 Received: from codeconstruct.com.au (pi.codeconstruct.com.au [203.29.241.158]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D91D51B2 for ; Thu, 2 Nov 2023 23:15:41 -0700 (PDT) Received: from localhost.localdomain (ppp14-2-79-67.adl-apt-pir-bras31.tpg.internode.on.net [14.2.79.67]) by mail.codeconstruct.com.au (Postfix) with ESMTPSA id E281B201BF; Fri, 3 Nov 2023 14:15:38 +0800 (AWST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1698992139; bh=UrTbHIBuDGRrYkDPZsK7lRpnYMK3E56TRQ6kVp/EyZE=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=JMtdd0T0P2ikWmfihcJb7TZYWjGjos/oKFYsVKErP6oYr9ryUwZBj1FmAHMZvOg5K /lLCvJwADNnbA6Qvi7Ml4lSiHyJqIHKVL8GjPW6qBdkmSyz7ws6OODms3Bugi9c9bd EvUjv8nvKmBnxP8z6Jg7vqcdPkVsSUTF2di+420m3rCNJX4ycft1f7Yy0xqwDRfrII EY//3q5nRw+uu3Hi36DTDKhmGKQ9gdwsA2jef7pJy159m02X8/tE+4W4C7cDcdrvb7 gcrVKBHGx4HYZULDZfTGT1BzFc3h5NKGyyvPwUm8v2o3ykpdtz2fehzJ1sKQ7Ri9rb a/G36x83DzgPA== From: Andrew Jeffery To: minyard@acm.org, openipmi-developer@lists.sourceforge.net Cc: Andrew Jeffery , linux-kernel@vger.kernel.org, Jonathan.Cameron@Huawei.com, aladyshev22@gmail.com, jk@codeconstruct.com.au Subject: [PATCH 02/10] ipmi: kcs_bmc: Include spinlock.h Date: Fri, 3 Nov 2023 16:45:14 +1030 Message-Id: <20231103061522.1268637-3-andrew@codeconstruct.com.au> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231103061522.1268637-1-andrew@codeconstruct.com.au> References: <20231103061522.1268637-1-andrew@codeconstruct.com.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 02 Nov 2023 23:16:11 -0700 (PDT) struct kcs_bmc_device defines a spinlock member but the header in which it is defined failed to include the spinlock header. In the spirit of include-what-you-use, do what's necessary. Signed-off-by: Andrew Jeffery --- drivers/char/ipmi/kcs_bmc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/char/ipmi/kcs_bmc.h b/drivers/char/ipmi/kcs_bmc.h index fa408b802c79..880d835fb90c 100644 --- a/drivers/char/ipmi/kcs_bmc.h +++ b/drivers/char/ipmi/kcs_bmc.h @@ -7,6 +7,7 @@ #define __KCS_BMC_H__ #include +#include #define KCS_BMC_EVENT_TYPE_OBE BIT(0) #define KCS_BMC_EVENT_TYPE_IBF BIT(1) -- 2.39.2