Message ID | 20231016130934.1158504-11-andriy.shevchenko@linux.intel.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp3449414vqb; Mon, 16 Oct 2023 06:11:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHmZSinovih8OdhNnLwgnQtE+ZL1lQOTHMEkOYsAJPsRoX3ayw75QNZ1VB7cFoH22lQyMNv X-Received: by 2002:a17:90b:4f4d:b0:27d:9b6:ec1b with SMTP id pj13-20020a17090b4f4d00b0027d09b6ec1bmr14517381pjb.4.1697461875313; Mon, 16 Oct 2023 06:11:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697461875; cv=none; d=google.com; s=arc-20160816; b=HuIKQJSs0IvI0vM4fDuBQD9JAeqPeuQnwQ5QaRLFn6lCk6jHvf50/lDeIQ+S0CaXxd oUJKUb9h74iGZRgxPsjkTj6kYWYXx9n0rnfTvgd2jIErJaJmSkhmBGdDzG+cp0FOTixz uTc53bw7dH6IFdGAwXdIGUnFMmw1si0o4ezAoieu48ZsamkynrYyjJTPNxedqiJOWEep 8El/vdeYBhXQIHMLkZeIZP1Vl5P4NWjcvyrEtxXUlRAwNYJxEi2nGiYEGHY+jiLZ1KDx 9OkszGMhZmUnpwf1iNQR+sBhdq7v0rGL0PB9/nfOqV8STc2KXBeXmwKQ+YUCUqrlVGdS mhHw== 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=LEN5xFeSMLpFIq+mhwNFcLSLhMrNN/5KcIPRB0JPqCM=; fh=YYrWResMAxfU+C17BdM7l/WUXXvK87rdz5rOaZ9UMD0=; b=EKTAIIPaamKiXRLOcuCWP+tZqEruH5YaymKDnYJgOk0q7IeK/YdjOVtnlKfM0VhinF bF4Iy98nvPWCUo8byN+8J870DMOZt+SIxO3LN9Eg3Qxwv9mNjAXC33jYsBmVsXqEJp/k wl95GKMnqEDDl0xwb8KpchFx4C0znXgrFUJwmuhGOpZKpscgQSmoaldyqkq/+qxznPbk pTyVV1XVzrr8wfEd1FtEgPaITc+4mOK+Dv85RO0odXm7lvqw2EfAw/bwmibg9RlTRZOg Lh1v+Ya7C1/ejmOYD9dJf5wx4VvF7vsE85akwv/6xPY0EB0yhNJj6DeezrNrZkLbdziR cNhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ZVx5nvbD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id s128-20020a637786000000b0058543c16567si5695727pgc.459.2023.10.16.06.11.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 06:11:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ZVx5nvbD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 1F270809C643; Mon, 16 Oct 2023 06:11:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233722AbjJPNKJ (ORCPT <rfc822;hjfbswb@gmail.com> + 18 others); Mon, 16 Oct 2023 09:10:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233641AbjJPNJw (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 16 Oct 2023 09:09:52 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27247F7; Mon, 16 Oct 2023 06:09:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697461789; x=1728997789; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ycKEu6aIli6lxZMS9klc458Zt4d5Yco6j3mjsSXjEcE=; b=ZVx5nvbD8G2ZM6GvG/c6x5y0hrQHWEMNohBnpmt2pr3LIHzyffSdZrjy FfQysvRwbfqk3x2FjkWxFmACmkclz7PjW7g7iEglgdvflMSpGSestubkR ZT/wnekmrhuVL/7YMJcSZqsf1d2SKtLB+tq87/RIP1l9FHicchk1JcUH3 7uWVLhkUhuE2OM3B6jlcVrhOMIOMIW2KvhrmRp3xYHWA4RW/ohtGgsQsF QFL5Glw+mRlXpkqWp/pxv2e8b29f3wJQ67ZzYoImOPUjVk2Ox9FvXpefe 4ga1TB74viVA2+buTcSnVPtjQ5l4da5jF2rwLXwvuoJTzoL6ROPtwmku3 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10863"; a="416590166" X-IronPort-AV: E=Sophos;i="6.03,229,1694761200"; d="scan'208";a="416590166" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Oct 2023 06:09:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10863"; a="759385522" X-IronPort-AV: E=Sophos;i="6.03,229,1694761200"; d="scan'208";a="759385522" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga007.fm.intel.com with ESMTP; 16 Oct 2023 06:09:46 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 626A9BC2; Mon, 16 Oct 2023 16:09:42 +0300 (EEST) From: Andy Shevchenko <andriy.shevchenko@linux.intel.com> To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>, Mathias Nyman <mathias.nyman@linux.intel.com>, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Mathias Nyman <mathias.nyman@intel.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org> Subject: [PATCH v2 10/10] xhci: dbc: Add missing headers Date: Mon, 16 Oct 2023 16:09:34 +0300 Message-Id: <20231016130934.1158504-11-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.40.0.1.gaa8946217a0b In-Reply-To: <20231016130934.1158504-1-andriy.shevchenko@linux.intel.com> References: <20231016130934.1158504-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 16 Oct 2023 06:11:12 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779917783261214337 X-GMAIL-MSGID: 1779917783261214337 |
Series |
xhci: dbc: Update driver to use modern APIs
|
|
Commit Message
Andy Shevchenko
Oct. 16, 2023, 1:09 p.m. UTC
Don't inherit headers "by chances" from asm/bug.h, asm/io.h,
etc... Include the needed headers explicitly.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
drivers/usb/host/xhci-dbgcap.c | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/host/xhci-dbgcap.c b/drivers/usb/host/xhci-dbgcap.c index 73494d55b0be..d82935d31126 100644 --- a/drivers/usb/host/xhci-dbgcap.c +++ b/drivers/usb/host/xhci-dbgcap.c @@ -6,9 +6,24 @@ * * Author: Lu Baolu <baolu.lu@linux.intel.com> */ +#include <linux/bug.h> +#include <linux/device.h> #include <linux/dma-mapping.h> -#include <linux/slab.h> +#include <linux/errno.h> +#include <linux/kstrtox.h> +#include <linux/list.h> #include <linux/nls.h> +#include <linux/pm_runtime.h> +#include <linux/slab.h> +#include <linux/spinlock.h> +#include <linux/string.h> +#include <linux/sysfs.h> +#include <linux/types.h> +#include <linux/workqueue.h> + +#include <linux/io-64-nonatomic-lo-hi.h> + +#include <asm/byteorder.h> #include "xhci.h" #include "xhci-trace.h"