Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6501644ybi; Mon, 8 Jul 2019 04:05:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqyWQiHVw6NbbUQ1ZSKcCZLYrMIiiQbob+ZvtpsA6U7P024BW8imKInLjiUgVV/WfDd+wExQ X-Received: by 2002:a65:6216:: with SMTP id d22mr21156515pgv.404.1562583932292; Mon, 08 Jul 2019 04:05:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562583932; cv=none; d=google.com; s=arc-20160816; b=wOrtN80pBa0Ru7RZcCIP8iZTBFX+CU9lc7hl0jD6n0oZTXDqtdOIoLCSLpB+oPJj0W mlEjM7PFtXYWTJYjFrWYDav6I5PRpWeA3iizK6I3t9BbdvFSSUcVPp9EeBLuFF9zwn8R wPuwvMfftfTJlNpWYxtjW4qOQ6K9yh7WDQYL4UY4jvHJuhgrKOSpQgUOG32V4BdQUNQ3 oLoDPGIWMyaXD78GgNplrj9q7cW9IjuGkc91aGAcmacpzmth2GmmsjpReNXX5koJVsLF 2yYkAvjDOZWjkZugWc0ev2ntjKk/VzuShgujZW0wxEVWZHrVdiizCq208WL5WG9pwVX2 J+9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:in-reply-to :content-disposition:mime-version:references:subject:cc:to:from:date; bh=MZ95k2560SZJZtSQGUYFc39yRb7QWh7b5Ur/z/UlXO8=; b=E0RRmzOo+GXZum0hbkPdcsbPbQVzduYo5kwGXk5E+o9E5e9lDAElQALJkW5j4lpTB/ 3dZxOiq2OKx1UjCuYFvc4yl1Q2nE53CLvSeciDCBHjh05b7WNIMckVk83knUAFVNCejq sjlDxOF60eSaUrHUBUvWQpsOrCIpzFs1cX1Gj6M3BOxiv1sGs933CxZYGCfGPpJaMwJA GDwcdeydo+tUY9EqJK+17bouzKJxBc0w74deHWjZVMhcC/zVue8Z2ZTq80EUCpqveMvB twT+Wg6ov0Z1FPGqDeza8EyD/tbGc/vAcc129iX6hxeidnh3DxvMO1XoPElYLWE82daC dJ0w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f9si18214164pgc.510.2019.07.08.04.05.16; Mon, 08 Jul 2019 04:05:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728726AbfGHIXI (ORCPT + 99 others); Mon, 8 Jul 2019 04:23:08 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:50058 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728673AbfGHIXG (ORCPT ); Mon, 8 Jul 2019 04:23:06 -0400 Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x688MT0J143001 for ; Mon, 8 Jul 2019 04:23:05 -0400 Received: from e06smtp05.uk.ibm.com (e06smtp05.uk.ibm.com [195.75.94.101]) by mx0a-001b2d01.pphosted.com with ESMTP id 2tm02m4gf6-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 08 Jul 2019 04:23:05 -0400 Received: from localhost by e06smtp05.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 8 Jul 2019 09:23:03 +0100 Received: from b06avi18878370.portsmouth.uk.ibm.com (9.149.26.194) by e06smtp05.uk.ibm.com (192.168.101.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Mon, 8 Jul 2019 09:23:00 +0100 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06avi18878370.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x688MwZU39780634 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 8 Jul 2019 08:22:58 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B595D4C04A; Mon, 8 Jul 2019 08:22:58 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 79DB34C044; Mon, 8 Jul 2019 08:22:58 +0000 (GMT) Received: from localhost (unknown [9.152.212.112]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Mon, 8 Jul 2019 08:22:58 +0000 (GMT) Date: Mon, 8 Jul 2019 10:22:57 +0200 From: Vasily Gorbik To: Linus Torvalds Cc: linux-kernel , linux-s390 , Heiko Carstens , Christian Borntraeger , Greg Kroah-Hartman Subject: [PATCH] s390: ap: constify parameter of match_apqn References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Patchwork-Bot: notify X-TM-AS-GCONF: 00 x-cbid: 19070808-0020-0000-0000-000003513853 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19070808-0021-0000-0000-000021A4E115 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-07-08_02:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907080110 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Christian Borntraeger commit 92ce7e83b4e5 ("driver_find_device: Unify the match function with class_find_device()") changed the prototype of driver_find_device to use a const void pointer. Change match_apqn accordingly. Fixes: ec89b55e3bce ("s390: ap: implement PAPQ AQIC interception in kernel") Signed-off-by: Christian Borntraeger Signed-off-by: Vasily Gorbik --- drivers/s390/crypto/vfio_ap_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/s390/crypto/vfio_ap_ops.c b/drivers/s390/crypto/vfio_ap_ops.c index 2c9fb1423a39..7e85ba7c6ef0 100644 --- a/drivers/s390/crypto/vfio_ap_ops.c +++ b/drivers/s390/crypto/vfio_ap_ops.c @@ -26,7 +26,7 @@ static int vfio_ap_mdev_reset_queues(struct mdev_device *mdev); -static int match_apqn(struct device *dev, void *data) +static int match_apqn(struct device *dev, const void *data) { struct vfio_ap_queue *q = dev_get_drvdata(dev); -- 2.21.0