Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp1159125pxv; Fri, 23 Jul 2021 00:59:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYpxndnvpNq7/4zoKOcaXSVWdL565Hj/miJQGFkl6GcifqlQYCWobzeIcRqXovj11+biT7 X-Received: by 2002:a05:6e02:190d:: with SMTP id w13mr2819889ilu.53.1627027162745; Fri, 23 Jul 2021 00:59:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627027162; cv=none; d=google.com; s=arc-20160816; b=JjB5s4Dl2i4mF0Lrp/MeTnwXMMDGBFx+6aivRqby+XP5RWJ62NC2x4ZOd30NsF71xg PRVWIhCzQusESUz0unxZVs99wH4V9at9Fh7lMph+WihPYxr7FAyYNgHXHvPi7vbJZQGG fPDLzp3vtSgrznw22Z7XtOvkbIoszCXW6vrYEZ92dcVU6lty4DOiQxbZvECMy/WWE2ah lJRg+vzJ+pDDkQdDq79Y9BgUeidDPt1Cf4ndAJTlV//QLPwT+0GXnRlx6OOk/kEcCib1 /GAoy2Ef8NwtJQd03VkTwbpNmBqw1EQZBhJihRzTJbxKKaA09lNtFNZ6wA1VOlgGxGhf bNrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=jU3lbDQCNS3KkID+IIlXd4vuBp9ztfGLQxPWfLTeI9M=; b=uLB6zQ/E422sQc/cCS0V2LxG8PKJUhI+vPql5OFmCad9Zgi37AlS0Wt6iJdZf38s0Z qTTQg3nIaSREUjk+o30eNzoB52i99uQormuCZOTYQrOPH0jM+Hog1Mp3afznZM6THF5p X/RzHFs+SCAw+PYuO9HEwlQ5Tpxi4qGBfOdyz3btDVDFnHaMGYYElUnkiqQVfK0isGXy nimGaH2gjc1qq2g5NcVmfhGH7qsqkjuLAQZ0WN1588b9iH2bljuaGDGCqhSpyL1knPxx QvqLKwrXinYCbQw+7bz8m8uRJbTTcBUp2uXh0ElRct5t63pTq1+eNc3Fkt5L5HZcNZvd jS9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b="InW/xbxe"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z10si29535287ilz.130.2021.07.23.00.59.10; Fri, 23 Jul 2021 00:59:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b="InW/xbxe"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234266AbhGWHRw (ORCPT + 99 others); Fri, 23 Jul 2021 03:17:52 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:37114 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233291AbhGWHRv (ORCPT ); Fri, 23 Jul 2021 03:17:51 -0400 Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 16N7p4Bp136247; Fri, 23 Jul 2021 03:57:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=jU3lbDQCNS3KkID+IIlXd4vuBp9ztfGLQxPWfLTeI9M=; b=InW/xbxegS27e/nes/OcoqDEb+ZsjloOT85379QLgRKNg+OMdkM+JFnuvh8PtPHQWKaC fbrOKz90DirS7wMxgtiGA7gbbGJMcxyNteGkqPfDR6/dyzfwbWRAhrzdpOo/8FWKCWzZ 9CJjFpreorUoEbmEUhS7jVI/zENCeNUeFO/5G86Dr1XH86uO9+ScMS7A8glOfrfD5ktw ZC2P2igmGFyZN1hLAU11nfXKgMIsvMObJ2uLActtnMOZXconFEi4ySmw3wqX3zwtzFT4 H0hdysW0MeDwubJqQCvPI422vT0whAkm0zS0bIPQ6DUKCcC9UFCBGdMzvhUia7vaydaj xA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 39ysr9847w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 23 Jul 2021 03:57:29 -0400 Received: from m0098393.ppops.net (m0098393.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 16N7rMd2141844; Fri, 23 Jul 2021 03:57:29 -0400 Received: from ppma06ams.nl.ibm.com (66.31.33a9.ip4.static.sl-reverse.com [169.51.49.102]) by mx0a-001b2d01.pphosted.com with ESMTP id 39ysr9844v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 23 Jul 2021 03:57:28 -0400 Received: from pps.filterd (ppma06ams.nl.ibm.com [127.0.0.1]) by ppma06ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 16N7ldUp026680; Fri, 23 Jul 2021 07:57:26 GMT Received: from b06avi18878370.portsmouth.uk.ibm.com (b06avi18878370.portsmouth.uk.ibm.com [9.149.26.194]) by ppma06ams.nl.ibm.com with ESMTP id 39vng72h5e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 23 Jul 2021 07:57:26 +0000 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06avi18878370.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 16N7sq0i25035154 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 23 Jul 2021 07:54:52 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2BC3811C050; Fri, 23 Jul 2021 07:57:23 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D6B7411C058; Fri, 23 Jul 2021 07:57:21 +0000 (GMT) Received: from oc7455500831.ibm.com (unknown [9.145.25.128]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 23 Jul 2021 07:57:21 +0000 (GMT) Subject: Re: [PATCH 4/8] tty: stop using alloc_tty_driver To: Jiri Slaby , gregkh@linuxfoundation.org Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Richard Henderson , Ivan Kokshaysky , Matt Turner , Geert Uytterhoeven , "James E.J. Bottomley" , Helge Deller , Jeff Dike , Richard Weinberger , Anton Ivanov , Chris Zankel , Max Filippov , Samuel Iglesias Gonsalvez , Jens Taprogge , Karsten Keil , Ulf Hansson , "David S. Miller" , Jakub Kicinski , Heiko Carstens , Vasily Gorbik , Laurentiu Tudor , Jiri Kosina , David Sterba , Shawn Guo , Sascha Hauer , Oliver Neukum , Felipe Balbi , Johan Hovold , Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz References: <20210723074317.32690-1-jslaby@suse.cz> <20210723074317.32690-5-jslaby@suse.cz> From: Christian Borntraeger Message-ID: <4323b79d-45e1-9a80-66dd-87bdbd16cc27@de.ibm.com> Date: Fri, 23 Jul 2021 09:57:21 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210723074317.32690-5-jslaby@suse.cz> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: h8hOYcA75sj_mtLNu73Iog4d-HG3Gn7Q X-Proofpoint-ORIG-GUID: aAoK0-mi5yh38cALVviBs2boHbts6Tuc X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-07-23_03:2021-07-23,2021-07-23 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 adultscore=0 lowpriorityscore=0 suspectscore=0 malwarescore=0 bulkscore=0 clxscore=1015 spamscore=0 phishscore=0 mlxscore=0 mlxlogscore=879 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2107230043 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23.07.21 09:43, Jiri Slaby wrote: > alloc_tty_driver was deprecated by tty_alloc_driver in commit > 7f0bc6a68ed9 (TTY: pass flags to alloc_tty_driver) in 2012. > > I never got into eliminating alloc_tty_driver until now. So we still > have two functions for allocating drivers which might be confusing. So > get rid of alloc_tty_driver uses to eliminate it for good in the next > patch. > > Note we need to switch return value checking as tty_alloc_driver uses > ERR_PTR. And flags are now a parameter of tty_alloc_driver. > > Signed-off-by: Jiri Slaby [..] > drivers/s390/char/con3215.c | 7 +++---- > drivers/s390/char/sclp_tty.c | 7 +++---- > drivers/s390/char/sclp_vt220.c | 7 +++---- s390 parts look sane Acked-by: Christian Borntraeger