Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp497727pxb; Wed, 13 Apr 2022 06:41:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAir3S/c575TBPjvLx4p/cjG95ZtvAPnK501QtOhJDA1ORSnVsMUYvTrKY4FSp0UefEFt/ X-Received: by 2002:a17:907:1c0b:b0:6e8:7ec7:a217 with SMTP id nc11-20020a1709071c0b00b006e87ec7a217mr16713171ejc.664.1649857275081; Wed, 13 Apr 2022 06:41:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649857275; cv=none; d=google.com; s=arc-20160816; b=IvL6kT/VzJlHn3jhImuej/30tdcDJRUC82HRn/QckhUFULqWfXVe/yT8w+ERLgtSx1 0AqzCgLuZdnxxvDLWj9g0zzYZ2xXCRZdcqS39hAW88unm8v98Sr2wCUYB31kjrg5K6jP 1ybTvMADa/OutVksd1V4ocr3ybdndh52ru1NVSLrhv9Ma4jSTYYwyZmRiedP4tE4racS Ot56xieqk1b89S53p3f6axb5/L9e2kBEoQEpKIArezT8vJ62Gp61XZHFLgksyV8ns+JF 4P9vbEHpyp5tXDa2jnKVDCB1vJ1RbyC1Mfx0NzBt4XtNRSz54G5Tgr9E2mnc+xnThmdE DxJQ== 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:dkim-signature; bh=bRkyB4PbFZ1fbO3XHovGn6TsXRtRWyjrzEzQotyYPuQ=; b=pdZi2xj6N5uDY5l/vi2dvRXKTZeLaLF0K08WL0uKSltrN1OlIyaqPApAV8DmxrpHni +4aD0UrNEG+Z97njCzUSdjjPFDQc8z/RcN5Xd8dYL1K11ZRhQ0Ycp6rZVXE+C7XiN+Dz UgEUnL6rQcYLth+5TMqhCHuPBky2OgmTg4P4Q9ldTQ+PmQWcQRo3KwhCQojhbOiKuW8e s9buF7W0weH9+OGofoW7tf9qFh5/P6WkRkxIH94VT4WmqnEHzsIsPnv75hK0GnquSnnl ChfiiZf6QIdZ03demEylF599Hrlu5hoGpQe0L76wwhPgqplYpwmRh0rVbJDAHOp0nwPb d0Pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="RN9/xp7N"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 20-20020a508e54000000b00418c2b5be68si2012901edx.330.2022.04.13.06.40.48; Wed, 13 Apr 2022 06:41:15 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="RN9/xp7N"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234730AbiDMJrT (ORCPT + 99 others); Wed, 13 Apr 2022 05:47:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234697AbiDMJqw (ORCPT ); Wed, 13 Apr 2022 05:46:52 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 49A103B3C0 for ; Wed, 13 Apr 2022 02:44:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1649843069; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bRkyB4PbFZ1fbO3XHovGn6TsXRtRWyjrzEzQotyYPuQ=; b=RN9/xp7NKXl+BIiYQRNM9R7Z5bS7VzWKgqd896qnp8zdVmjmZW+PCQLezKF28FgO2340jL kCXJqu+0zwLkN9+wj07zdpdLWrNJqKhFnSE9mxyTHKbn2xOIQkJkFk5c1Hpc9VkcmkyopB l/Nw6Aiu2vFioeKfgNvMVpKtDTMqj5Y= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-425-0QdxnFSqMUCOK2gBg7-BEA-1; Wed, 13 Apr 2022 05:44:26 -0400 X-MC-Unique: 0QdxnFSqMUCOK2gBg7-BEA-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id BF4F11C01700; Wed, 13 Apr 2022 09:44:25 +0000 (UTC) Received: from thuth.com (unknown [10.39.193.12]) by smtp.corp.redhat.com (Postfix) with ESMTP id D05EE53CD; Wed, 13 Apr 2022 09:44:23 +0000 (UTC) From: Thomas Huth To: Tony Krowiak , Halil Pasic , Jason Herne , linux-s390@vger.kernel.org Cc: Harald Freudenberger , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , linux-kernel@vger.kernel.org Subject: [PATCH] s390: vfio-ap: Remove the superfluous MODULE_DEVICE_TABLE declaration Date: Wed, 13 Apr 2022 11:44:16 +0200 Message-Id: <20220413094416.412114-1-thuth@redhat.com> MIME-Version: 1.0 Content-type: text/plain Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org The vfio_ap module tries to register for the vfio_ap bus - but that's the interface that it provides itself, so this does not make much sense, thus let's simply drop this statement now. Signed-off-by: Thomas Huth --- See also my previous patch to register it for the "ap" bus instead: https://lore.kernel.org/linux-s390/20211201141110.94636-1-thuth@redhat.com/ ... but since it has been decided to not auto-load the module uncondi- tionally, I'd like to suggest to rather drop this line now instead. drivers/s390/crypto/vfio_ap_drv.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/s390/crypto/vfio_ap_drv.c b/drivers/s390/crypto/vfio_ap_drv.c index 29ebd54f8919..4ac9c6521ec1 100644 --- a/drivers/s390/crypto/vfio_ap_drv.c +++ b/drivers/s390/crypto/vfio_ap_drv.c @@ -46,8 +46,6 @@ static struct ap_device_id ap_queue_ids[] = { { /* end of sibling */ }, }; -MODULE_DEVICE_TABLE(vfio_ap, ap_queue_ids); - static struct ap_matrix_mdev *vfio_ap_mdev_for_queue(struct vfio_ap_queue *q) { struct ap_matrix_mdev *matrix_mdev; -- 2.27.0