Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2171061rdb; Sun, 11 Feb 2024 15:16:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IE89hJEpY7o0qwRdoVSpPJy7FsV+l/O5atXhzlk0DmVO1vs9v+1+aW/YqKKgTM1i73gkeHv X-Received: by 2002:a0c:b4c9:0:b0:68c:9db6:e156 with SMTP id h9-20020a0cb4c9000000b0068c9db6e156mr4614462qvf.47.1707693406019; Sun, 11 Feb 2024 15:16:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707693406; cv=pass; d=google.com; s=arc-20160816; b=bPwxD0YBqtwRILlB426xhDsbe4hhms9ypg99ZYEH4oP9Ve8WnywRZS0ZstHBiM0Aao 7WkjtgN4+r4vakrmeUR/bSEI1BvveClU3Rv66vVtMZJvYXb5E3+0NG/t31B95j01VMXI jVcq7m0wmqudnjrkAVR/JT3tI5i4SaeX4JFH3GJP3aVs/dE26v3Nzgx/ADTB181OZX92 jfHHr9FNzE3JB2eYo0490CegwpkKJtACKTCOTd7EVebSBgAfj062bscGWg4yRNlo8Pg5 UA435gJqj3KpBss1aTXmK3zzzWnm42QPqICbzwWCEFxbhkQ5yA3WTusyTDx0uu5AtPQS cWsA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=ejWZEi7TYL5VXPc1nXDBB2l6mB09poQCjbbGA7dNR0M=; fh=LMphrpzQg/t/guOXNlymLI/MwnuUAqTgI/Vgy3u1fHg=; b=G52FHApy9VXcA5xain8LK5PVlxwEDj4E6UrnmaYdNJu89cYdzua29yD4gunKjY3FFT 39OR/O9aShOV0zuiIO/f2jvSWCwpLt4A2bhFA0yVMVO12CBF7ZBu/NlAfeUcSeWVSAOe 8qSx/RYhALlPVXCXqhbUN1fuINd/QkJqvyBvlH9zRauCp+gqOeOpeKxU6Tp4rj1cXIx9 vGLm/0+7T9APp6WUY3ohCDB+nKfL9/16evhT2oTUrPXhNL7sZzvJp3eSkNi+NlJ1EYFH YV+Ty6UO/ZZNbQGcxZIeYrqTNrlkOD2c4wPPPHcuZ/xrEAUbrN8S1z+W9XK5Elsgu1DJ tzDw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ionos.com header.s=google header.b=ZtkGBDXs; arc=pass (i=1 spf=pass spfdomain=ionos.com dkim=pass dkdomain=ionos.com dmarc=pass fromdomain=ionos.com); spf=pass (google.com: domain of linux-kernel+bounces-60989-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60989-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ionos.com X-Forwarded-Encrypted: i=2; AJvYcCWEomvYtaDZqMR9XxhV/P/LKOECzfKg+gQChCO966WC//lny8Ku5p+vqCaRj3Uf9ePlla+bbGkOKrJIMLt7DVa6ev5/ttaDhANXy36Myg== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 5-20020a056214202500b00680b0f40fb4si7594290qvf.206.2024.02.11.15.16.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Feb 2024 15:16:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60989-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@ionos.com header.s=google header.b=ZtkGBDXs; arc=pass (i=1 spf=pass spfdomain=ionos.com dkim=pass dkdomain=ionos.com dmarc=pass fromdomain=ionos.com); spf=pass (google.com: domain of linux-kernel+bounces-60989-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60989-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ionos.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 83F451C20E0F for ; Sun, 11 Feb 2024 23:16:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 91A3D18041; Sun, 11 Feb 2024 23:15:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ionos.com header.i=@ionos.com header.b="ZtkGBDXs" Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E6C3917548 for ; Sun, 11 Feb 2024 23:15:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707693345; cv=none; b=eym+Fyhi16KIKdkd7LEUSQwN+9AUgjYHI7kxB3TrpX2EwezDrEmVElnYnhJQKK68aHLbf22VRjB8Blyn633+axjb++bbmna+Uwen1ULwDrHmpbyq/orjlyFyaHj49u/a/MSkp4uKmhgpYv7kBOBZVJCx1TBVfljzsqrgocj5n34= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707693345; c=relaxed/simple; bh=EINUZJwko3Gf0QbcPfi08L73aK5jL2hMEANq2ElpqNc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ZbOj3ISVZqRzjrDWBY/RkH9MeRdN+FmZpnXUrMMdF5kFlo4pb2iIkOnOQ64scPnEGblRSVQPorem6sPpu4IOpxge8VsWYQFPRLBeEtZVOju3dvwMQkva8v5gw7o4HtOmhxUTB2kj55hvjSRqS1k8xoOjUirqVttKyIgbDCTXPCA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ionos.com; spf=pass smtp.mailfrom=ionos.com; dkim=pass (2048-bit key) header.d=ionos.com header.i=@ionos.com header.b=ZtkGBDXs; arc=none smtp.client-ip=209.85.208.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ionos.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ionos.com Received: by mail-ed1-f41.google.com with SMTP id 4fb4d7f45d1cf-561587ce966so2995362a12.1 for ; Sun, 11 Feb 2024 15:15:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ionos.com; s=google; t=1707693335; x=1708298135; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ejWZEi7TYL5VXPc1nXDBB2l6mB09poQCjbbGA7dNR0M=; b=ZtkGBDXs8VdAK1i6czSF0fnqpQAqAFb0voel8QPD2uiRQRGAkdg8NQGrYlZIZHhGaw vHRgiC6jWVQpvbDFIiAWxMHFv8+DYrmk59OXCoDq7U83iygejP7elaU+OP3NhGmuGUXZ yFBPoMcCHPzSD+bJWZg4AtQhp3QcriLOw+NbLnDZwdYg62nN5rOH+BjuNbeN/PY5hFA8 2TDh6iCnArs4g78Dw4KUmbGRctAO/5CEjPdbcXTwsHFW174zCHCovJ1+LPag/zP9TY8X 1RLVXglFSrQgPc4ew0EvVZUVDEjhNIeprzfLbo5I78zj/RYX54Tiub1R9I7y4eqxTKXJ 7gfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707693335; x=1708298135; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ejWZEi7TYL5VXPc1nXDBB2l6mB09poQCjbbGA7dNR0M=; b=JspnqXlE8ERYVf/ykJAhZVk4m4gAXN2q/AmjRjAWCmbZNCK1Zajs1NIPEm4Cs72dK7 nwTvoV/1t6CMUcYYTfOYGgxi4PqqD6gTSH6jPOwtaI8mWEWcQKkWDxKofUXlQKtyHugU 349jf5+NeWDk+yvgiImvlobnjmtViPhK+N9hcSCDahFddlMQ1k6IN8tVy9hrCcftSUPX 54IYNxaHi7eFmdLZUf4XS6fw9z5VMT84anZe5wW20xzw+7I2unKDbuE1HnnY/lmen9A2 Asv0rN6MMboLE5lfuFosVUhmohPNkvqGQQwOd7yaQo0Pc4FiFalmHXDJt8IJ3eiC3D/9 nJEQ== X-Gm-Message-State: AOJu0YyRwi+s0Za90Gt13xgFvEGEfuDcrOj1GkUWMercPlAvSsT+r7QM 7GjfMiwzdhf1sE2W3KXYCJGqwW+U9SZVyJtcbupWt4Q7S5th3wohMw/shD19RUTHWXNTxVtTg7Q m X-Received: by 2002:a05:6402:3218:b0:561:c656:fc35 with SMTP id g24-20020a056402321800b00561c656fc35mr30090eda.2.1707693334705; Sun, 11 Feb 2024 15:15:34 -0800 (PST) Received: from raven.blarg.de (p200300dc6f267100023064fffe740809.dip0.t-ipconnect.de. [2003:dc:6f26:7100:230:64ff:fe74:809]) by smtp.gmail.com with ESMTPSA id et13-20020a056402378d00b0055d19c9daf2sm2170180edb.15.2024.02.11.15.15.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Feb 2024 15:15:33 -0800 (PST) From: Max Kellermann To: linux-kernel@vger.kernel.org Cc: Max Kellermann Subject: [PATCH v4 05/35] kref.h: move declarations to kref_types.h Date: Mon, 12 Feb 2024 00:14:48 +0100 Message-Id: <20240211231518.349442-6-max.kellermann@ionos.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240211231518.349442-1-max.kellermann@ionos.com> References: <20240211231518.349442-1-max.kellermann@ionos.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit By providing declarations in a lean header, we can reduce header dependencies. Signed-off-by: Max Kellermann --- arch/arm64/kvm/vgic/vgic.h | 1 + block/bsg-lib.c | 1 + drivers/acpi/acpi_ipmi.c | 1 + drivers/acpi/ec.c | 1 + drivers/ata/libata-core.c | 1 + drivers/base/core.c | 1 + drivers/char/hw_random/core.c | 1 + drivers/char/ipmi/ipmi_msghandler.c | 1 + drivers/char/xillybus/xillyusb.c | 1 + drivers/clk/clk.c | 1 + drivers/comedi/comedi_buf.c | 1 + drivers/comedi/comedi_fops.c | 1 + drivers/dax/bus.c | 1 + drivers/gpu/drm/drm_auth.c | 1 + drivers/gpu/drm/drm_connector.c | 1 + drivers/gpu/drm/drm_drv.c | 1 + drivers/gpu/drm/msm/msm_gem.h | 1 + drivers/gpu/drm/nouveau/nvkm/core/memory.c | 2 ++ drivers/gpu/drm/nouveau/nvkm/engine/fifo/cgrp.c | 1 + drivers/gpu/drm/nouveau/nvkm/engine/fifo/chid.c | 2 ++ drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c | 1 + drivers/greybus/connection.c | 1 + drivers/greybus/operation.c | 1 + drivers/hid/hid-core.c | 1 + drivers/hid/hid-cougar.c | 1 + drivers/hid/hid-debug.c | 1 + drivers/hid/hid-logitech-dj.c | 1 + drivers/hid/wacom_sys.c | 1 + drivers/iio/buffer/industrialio-buffer-dma.c | 1 + drivers/iio/industrialio-buffer.c | 1 + drivers/infiniband/core/cache.c | 1 + drivers/infiniband/core/cm.c | 1 + drivers/infiniband/core/counters.c | 2 ++ drivers/infiniband/core/device.c | 1 + drivers/infiniband/core/restrack.c | 1 + drivers/infiniband/hw/erdma/erdma_cm.c | 1 + drivers/infiniband/hw/erdma/erdma_qp.c | 2 ++ drivers/infiniband/hw/qedr/qedr_iw_cm.c | 2 ++ drivers/infiniband/sw/rxe/rxe_pool.h | 2 ++ drivers/infiniband/sw/rxe/rxe_queue.c | 1 + drivers/infiniband/sw/siw/siw.h | 1 + drivers/infiniband/ulp/isert/ib_isert.c | 1 + drivers/infiniband/ulp/rtrs/rtrs.c | 1 + drivers/infiniband/ulp/srpt/ib_srpt.c | 1 + drivers/media/dvb-core/dvb_ca_en50221.c | 1 + drivers/media/dvb-core/dvb_frontend.c | 1 + drivers/media/dvb-core/dvbdev.c | 1 + drivers/misc/genwqe/card_dev.c | 1 + drivers/mtd/mtd_blkdevs.c | 1 + .../net/ethernet/chelsio/inline_crypto/chtls/chtls.h | 1 + .../ethernet/chelsio/inline_crypto/chtls/chtls_cm.c | 1 + drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c | 1 + drivers/net/ethernet/intel/ice/ice_sriov.c | 2 ++ drivers/net/ethernet/intel/ice/ice_vf_lib.c | 2 ++ drivers/net/ethernet/mellanox/mlx5/core/lag/lag.c | 1 + drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c | 1 + drivers/net/ethernet/mellanox/mlx5/core/uar.c | 1 + .../net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c | 1 + drivers/net/ethernet/qlogic/qede/qede_rdma.c | 1 + drivers/net/pse-pd/pse_core.c | 1 + drivers/net/wireless/ath/carl9170/tx.c | 1 + drivers/nvdimm/core.c | 1 + drivers/nvdimm/dimm.c | 1 + drivers/nvdimm/dimm_devs.c | 1 + drivers/of/dynamic.c | 1 + drivers/of/unittest.c | 1 + drivers/pci/hotplug/acpiphp_glue.c | 1 + drivers/pci/slot.c | 1 + drivers/pci/switch/switchtec.c | 1 + drivers/pcmcia/cs_internal.h | 2 +- drivers/rpmsg/mtk_rpmsg.c | 1 + drivers/rpmsg/qcom_glink_native.c | 1 + drivers/rpmsg/qcom_smd.c | 1 + drivers/rpmsg/virtio_rpmsg_bus.c | 1 + drivers/scsi/bnx2fc/bnx2fc_els.c | 2 ++ drivers/scsi/bnx2fc/bnx2fc_fcoe.c | 1 + drivers/scsi/bnx2fc/bnx2fc_hwi.c | 2 ++ drivers/scsi/bnx2fc/bnx2fc_io.c | 2 ++ drivers/scsi/bnx2fc/bnx2fc_tgt.c | 2 ++ drivers/scsi/ch.c | 1 + drivers/scsi/cxgbi/libcxgbi.h | 1 + drivers/scsi/device_handler/scsi_dh_alua.c | 1 + drivers/scsi/device_handler/scsi_dh_rdac.c | 1 + drivers/scsi/elx/efct/efct_hw.c | 2 ++ drivers/scsi/elx/efct/efct_io.c | 2 ++ drivers/scsi/elx/efct/efct_lio.c | 2 ++ drivers/scsi/elx/efct/efct_scsi.c | 2 ++ drivers/scsi/elx/efct/efct_unsol.c | 2 ++ drivers/scsi/elx/libefc/efc_domain.c | 2 ++ drivers/scsi/elx/libefc/efc_els.c | 1 + drivers/scsi/elx/libefc/efc_node.c | 2 ++ drivers/scsi/elx/libefc/efc_nport.c | 2 ++ drivers/scsi/fcoe/fcoe_ctlr.c | 1 + drivers/scsi/hosts.c | 1 + drivers/scsi/libfc/fc_disc.c | 1 + drivers/scsi/libfc/fc_exch.c | 1 + drivers/scsi/libfc/fc_lport.c | 1 + drivers/scsi/libfc/fc_rport.c | 1 + drivers/scsi/libsas/sas_internal.h | 1 + drivers/scsi/lpfc/lpfc_bsg.c | 1 + drivers/scsi/lpfc/lpfc_debugfs.c | 1 + drivers/scsi/lpfc/lpfc_els.c | 1 + drivers/scsi/lpfc/lpfc_hbadisc.c | 1 + drivers/scsi/lpfc/lpfc_init.c | 1 + drivers/scsi/lpfc/lpfc_nportdisc.c | 1 + drivers/scsi/lpfc/lpfc_nvme.c | 1 + drivers/scsi/lpfc/lpfc_nvmet.c | 1 + drivers/scsi/lpfc/lpfc_sli.c | 1 + drivers/scsi/mpi3mr/mpi3mr.h | 1 + drivers/scsi/mpt3sas/mpt3sas_base.h | 1 + drivers/scsi/qedf/qedf_els.c | 2 ++ drivers/scsi/qedf/qedf_io.c | 1 + drivers/scsi/qedf/qedf_main.c | 1 + drivers/scsi/qla2xxx/qla_inline.h | 2 ++ drivers/scsi/qla4xxx/ql4_isr.c | 2 ++ drivers/scsi/qla4xxx/ql4_os.c | 1 + drivers/scsi/scsi_scan.c | 1 + drivers/scsi/scsi_sysfs.c | 1 + drivers/scsi/sg.c | 1 + drivers/soc/qcom/smem_state.c | 1 + drivers/staging/greybus/authentication.c | 1 + drivers/staging/greybus/fw-download.c | 1 + drivers/staging/greybus/fw-management.c | 1 + drivers/target/iscsi/iscsi_target.c | 1 + drivers/target/iscsi/iscsi_target_nego.c | 1 + drivers/target/target_core_device.c | 1 + drivers/target/target_core_pr.c | 1 + drivers/target/target_core_tmr.c | 2 ++ drivers/target/target_core_tpg.c | 1 + drivers/target/target_core_transport.c | 1 + drivers/target/target_core_user.c | 1 + drivers/usb/core/config.c | 1 + drivers/usb/core/hcd.c | 1 + drivers/usb/core/hub.c | 1 + drivers/usb/core/message.c | 1 + drivers/usb/core/urb.c | 1 + drivers/usb/gadget/function/f_fs.c | 1 + drivers/usb/host/oxu210hp-hcd.c | 1 + drivers/usb/misc/usblcd.c | 1 + drivers/vfio/container.c | 1 + drivers/vhost/scsi.c | 1 + drivers/video/fbdev/smscufx.c | 1 + drivers/xen/xen-scsiback.c | 1 + drivers/xen/xenbus/xenbus_dev_frontend.c | 1 + include/drm/drm_atomic.h | 2 ++ include/drm/drm_auth.h | 2 +- include/drm/drm_device.h | 2 +- include/drm/drm_framebuffer.h | 1 + include/drm/drm_mode_object.h | 2 +- include/kvm/arm_vgic.h | 2 +- include/linux/backing-dev-defs.h | 2 +- include/linux/backing-dev.h | 1 + include/linux/ceph/messenger.h | 2 +- include/linux/ceph/mon_client.h | 2 +- include/linux/ceph/osd_client.h | 2 +- include/linux/comedi/comedidev.h | 2 +- include/linux/configfs.h | 2 +- include/linux/cpu_rmap.h | 2 +- include/linux/dmaengine.h | 1 + include/linux/greybus/connection.h | 2 +- include/linux/greybus/operation.h | 2 +- include/linux/hugetlb.h | 2 +- include/linux/hw_random.h | 2 +- include/linux/iio/buffer-dma.h | 2 +- include/linux/iio/buffer_impl.h | 2 +- include/linux/interrupt.h | 2 +- include/linux/klist.h | 2 +- include/linux/kobject.h | 2 +- include/linux/kref.h | 5 +---- include/linux/kref_types.h | 12 ++++++++++++ include/linux/lockd/lockd.h | 2 +- include/linux/memory-tiers.h | 2 +- include/linux/mm_inline.h | 4 ++++ include/linux/mm_types.h | 2 +- include/linux/mtd/blktrans.h | 2 +- include/linux/nfs_page.h | 2 +- include/linux/relay.h | 2 +- include/linux/rpmsg.h | 2 +- include/linux/sh_clk.h | 2 +- include/linux/sunrpc/xprt.h | 2 +- include/linux/surface_aggregator/serial_hub.h | 2 +- include/linux/tee_drv.h | 2 +- include/linux/usb.h | 2 +- include/linux/usb/serial.h | 2 +- include/linux/watch_queue.h | 2 +- include/media/media-request.h | 1 + include/media/v4l2-device.h | 2 ++ include/net/bluetooth/hci_core.h | 1 + include/net/tls_toe.h | 2 +- include/rdma/ib_verbs.h | 2 +- include/rdma/restrack.h | 2 +- include/rdma/uverbs_types.h | 1 + kernel/irq/manage.c | 1 + kernel/watch_queue.c | 1 + lib/klist.c | 1 + lib/kobject.c | 1 + mm/memory-tiers.c | 1 + mm/z3fold.c | 1 + net/can/j1939/main.c | 1 + net/can/j1939/transport.c | 1 + net/dsa/dsa.c | 1 + net/nfc/llcp_core.c | 1 + net/qrtr/af_qrtr.c | 1 + net/rds/message.c | 1 + net/rds/rdma.c | 1 + net/tipc/node.c | 2 ++ net/tipc/subscr.c | 2 ++ net/tipc/topsrv.c | 1 + net/tls/tls_toe.c | 1 + sound/soc/qcom/qdsp6/q6apm.c | 1 + 210 files changed, 252 insertions(+), 42 deletions(-) create mode 100644 include/linux/kref_types.h diff --git a/arch/arm64/kvm/vgic/vgic.h b/arch/arm64/kvm/vgic/vgic.h index 8d134569d0a1..6aeffbe017c0 100644 --- a/arch/arm64/kvm/vgic/vgic.h +++ b/arch/arm64/kvm/vgic/vgic.h @@ -6,6 +6,7 @@ #define __KVM_ARM_VGIC_NEW_H__ #include +#include #include #define PRODUCT_ID_KVM 0x4b /* ASCII code K */ diff --git a/block/bsg-lib.c b/block/bsg-lib.c index b3acdbdb6e7e..15d31c179ad7 100644 --- a/block/bsg-lib.c +++ b/block/bsg-lib.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/acpi/acpi_ipmi.c b/drivers/acpi/acpi_ipmi.c index 31b360db74a1..ab8e7a640d99 100644 --- a/drivers/acpi/acpi_ipmi.c +++ b/drivers/acpi/acpi_ipmi.c @@ -12,6 +12,7 @@ #include #include #include +#include MODULE_AUTHOR("Zhao Yakui"); MODULE_DESCRIPTION("ACPI IPMI Opregion driver"); diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index bb4f4c935e60..0edab9edbc0f 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c @@ -29,6 +29,7 @@ #include #include #include +#include #include #include "internal.h" diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index 0e8b78e69042..0939f79e4c49 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c @@ -48,6 +48,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/base/core.c b/drivers/base/core.c index e3e8bbf42004..586d2bdbe0bd 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/char/hw_random/core.c b/drivers/char/hw_random/core.c index 415e09a77022..f60fd8242db7 100644 --- a/drivers/char/hw_random/core.c +++ b/drivers/char/hw_random/core.c @@ -28,6 +28,7 @@ #include #include #include +#include #define RNG_MODULE_NAME "hw_random" diff --git a/drivers/char/ipmi/ipmi_msghandler.c b/drivers/char/ipmi/ipmi_msghandler.c index dee055371123..769026a866e6 100644 --- a/drivers/char/ipmi/ipmi_msghandler.c +++ b/drivers/char/ipmi/ipmi_msghandler.c @@ -38,6 +38,7 @@ #include #include #include +#include #define IPMI_DRIVER_VERSION "39.2" diff --git a/drivers/char/xillybus/xillyusb.c b/drivers/char/xillybus/xillyusb.c index 5a5afa14ca8c..37994b7b30d7 100644 --- a/drivers/char/xillybus/xillyusb.c +++ b/drivers/char/xillybus/xillyusb.c @@ -28,6 +28,7 @@ #include #include #include +#include #include "xillybus_class.h" diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 2253c154a824..bf9131940cb1 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/comedi/comedi_buf.c b/drivers/comedi/comedi_buf.c index 393966c09740..ac9e8b2c58a3 100644 --- a/drivers/comedi/comedi_buf.c +++ b/drivers/comedi/comedi_buf.c @@ -9,6 +9,7 @@ #include #include +#include #include #include "comedi_internal.h" diff --git a/drivers/comedi/comedi_fops.c b/drivers/comedi/comedi_fops.c index 8e0ab06e3494..859df6db3d9d 100644 --- a/drivers/comedi/comedi_fops.c +++ b/drivers/comedi/comedi_fops.c @@ -26,6 +26,7 @@ #include #include #include +#include #include #include diff --git a/drivers/dax/bus.c b/drivers/dax/bus.c index ee5277a8f723..679d232a207e 100644 --- a/drivers/dax/bus.c +++ b/drivers/dax/bus.c @@ -8,6 +8,7 @@ #include #include #include +#include #include "dax-private.h" #include "bus.h" #include diff --git a/drivers/gpu/drm/drm_auth.c b/drivers/gpu/drm/drm_auth.c index 22aa015df387..5b1481720007 100644 --- a/drivers/gpu/drm/drm_auth.c +++ b/drivers/gpu/drm/drm_auth.c @@ -29,6 +29,7 @@ */ #include +#include #include #include diff --git a/drivers/gpu/drm/drm_connector.c b/drivers/gpu/drm/drm_connector.c index ae90134336db..2aadea38c3e0 100644 --- a/drivers/gpu/drm/drm_connector.c +++ b/drivers/gpu/drm/drm_connector.c @@ -36,6 +36,7 @@ #include #include +#include #include