Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp1791303rdf; Sun, 5 Nov 2023 14:47:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IFyaIewsUZg1UMyLJl5ZNyUZhjvHM0wgEccAsfILERMl2i8vkGJ3DheoLK2wFMU6PVEPkAl X-Received: by 2002:a17:90a:950c:b0:27d:e29:8352 with SMTP id t12-20020a17090a950c00b0027d0e298352mr22029169pjo.45.1699224466200; Sun, 05 Nov 2023 14:47:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699224466; cv=none; d=google.com; s=arc-20160816; b=x7tWQvcnGBjBgCFfakJMSSu3rxdqv9xvJ5WK8m6KwLLY9x3IlXuq2875ZyKumkoxDv pfQEbaabf4Mlm3lLh+Ra1+a9LZjB0DNisTUcu7y1mOnTyQ8YGgZ7NSCsPPA0HP7TYC/S 0LbZu1NNnJC+Ud8n3lI6LhNSZQQ1Yavke2s2YVHH9venaLZ2ereJCwoQewF14u2rNWqQ XhOjEl03MwDnq5E1NwNIc4YAo+dOSMztR3D6BkLQw8fMVqGKcnB6+SK/Gcj4ZKQBgNOf 2Fz3fTVBbH6fzXtiL1SW4THnSCLXgH8dGzxXaP535/jOg7NaSMRq51B5BbK0d4SQukbx JLCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=1TOTltR3bb+XNIcf27UXTOFQ8YANP5VzWaRS1UXoM6Y=; fh=MQKibY1gp03oHfoDc5Rz7YuTEvyytF8k3oA40d6PJLM=; b=n/LLllGSm+7e5HAs1qNsKOBf1cOeZnN3otk7wU2O/5WF5yE/uUCTbbSHuWZMyGEDWn igmsTM+r6Na0R438qpCHctEmNvfEvTCIN9413zTQmgrYRurMeiI8h5KUmiO+XbzW/VsE PhyOJ+57Cy/qz00jphaYY7yPui6S/UCQW1w+hPNla/qu84dmatxQizSlqdzRdPFsk1S5 +052RkBKSpSqHct4ORs2yhIilUTP3HYzu+om4DqOY4YIZlStXPwDtAoWCQyRwC6lt7aG LSsbVoGC/71na/WeYjT/mCpIwmoU4hr9GnZrOWyIByncvFgtv6vgeRRAE2nIQJlWCdYN advg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeconstruct.com.au header.s=2022a header.b=iSTSeyaw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id cu20-20020a17090afa9400b00277387bc11dsi6552176pjb.188.2023.11.05.14.47.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Nov 2023 14:47:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@codeconstruct.com.au header.s=2022a header.b=iSTSeyaw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id CFBAC80740F9; Sun, 5 Nov 2023 14:47:43 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229715AbjKEWrh (ORCPT + 99 others); Sun, 5 Nov 2023 17:47:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229597AbjKEWrg (ORCPT ); Sun, 5 Nov 2023 17:47:36 -0500 Received: from codeconstruct.com.au (pi.codeconstruct.com.au [203.29.241.158]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B0B7CF for ; Sun, 5 Nov 2023 14:47:32 -0800 (PST) Received: from [192.168.68.112] (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 B6F3620075; Mon, 6 Nov 2023 06:47:27 +0800 (AWST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1699224448; bh=1TOTltR3bb+XNIcf27UXTOFQ8YANP5VzWaRS1UXoM6Y=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=iSTSeyawJ3UzDutlcUbEk3WiscArwc1m6oIpSlJyo4d7gzXgnvaIOBhgAfpqzCEzt ev7V7Jufa5EFTReWvdFoUcM7/Q+KaCKd0mJq0zadqwjYxDufl8JnJpLcxpuzC8PSx3 U45Abq69F/CWosT5gWYCRQV6DaNJx/1/ykmt39guPj+map1AQTV001RZ+SJaKgXV2s t/kP/HMV9u1K0PYKXXSImIeXP8LtUQ1B365HL0Fhwue+ipCWbS9+cr1xmhAN1Yx3UW IsT4NPVrdnpmBOhkjnyJi5k4lA2+mc72WgsDuz8fM+i+6VBPXHcAL1nWYt0a9OV3ON h5wkiYTzyl43g== Message-ID: Subject: Re: [PATCH 02/10] ipmi: kcs_bmc: Include spinlock.h From: Andrew Jeffery To: Jonathan Cameron Cc: minyard@acm.org, openipmi-developer@lists.sourceforge.net, linux-kernel@vger.kernel.org, aladyshev22@gmail.com, jk@codeconstruct.com.au Date: Mon, 06 Nov 2023 09:17:26 +1030 In-Reply-To: <20231103143657.0000046f@Huawei.com> References: <20231103061522.1268637-1-andrew@codeconstruct.com.au> <20231103061522.1268637-3-andrew@codeconstruct.com.au> <20231103143657.0000046f@Huawei.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4-2 MIME-Version: 1.0 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,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Sun, 05 Nov 2023 14:47:44 -0800 (PST) On Fri, 2023-11-03 at 14:36 +0000, Jonathan Cameron wrote: > On Fri, 3 Nov 2023 16:45:14 +1030 > Andrew Jeffery wrote: >=20 > > 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. > >=20 > > Signed-off-by: Andrew Jeffery > This is fine, but whilst checking it I noticed there is no > forwards def of struct device or appropriate include. Ah, I'll fix that too. clangd automatically added the spinlock include at one point and so I figured I'd capture it. Andrew