Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp596886pxb; Fri, 22 Apr 2022 07:34:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxz8h79/9l+NS8kaHmustOlZjDmtVeHN5JGem8akki21iIB6VgMti87zA72DeW/KrVuCojY X-Received: by 2002:a17:906:f85:b0:6d6:e97b:d276 with SMTP id q5-20020a1709060f8500b006d6e97bd276mr4300166ejj.431.1650638089872; Fri, 22 Apr 2022 07:34:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650638089; cv=none; d=google.com; s=arc-20160816; b=Wgd1MhNEGdBd5KDNYcyyQVP11bi4Y346UD60aYtWKHhylOQvEXOJ3gzoWieC+sesa3 MNKWQnc6SR+2i/QR3D2g9UUj2GB+/KkcUTHg1wip7lJvBNzrD02uv06WHH0zG9r9+UNq uA+hjFsW5TGGha9KqX2gv9gn/dIMWUr7OFispPf6XSLksEQ1Dct7HE/7v+1IoESxxhLR lNLWOxeqykssa1lAISW4ya5YorE24uuhAYgxI7XybszolIGZXUpJeg1lfDv2wcukQrNp 2C3HA88NB205duQsStx0jRTR4cCQlEksjlSWDAke+WqK2rNTKmLF1YSS2dUoBN2ofC1c s7aQ== 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:dkim-signature; bh=3O6/BdDKv6pQlJqixzof36IiCZINQ7EleO0KCxDYz08=; b=iyRhzxRk5rvkukjqF6fNIDmdqXr/MMpIioE0QRDWGM7cmhA5Lzm7bIqs69nRWNQPTk kbdsUVqkENBJckY9l1eyIirEG+9gl++njLWD48+Q/E9LzTtLyT778CGZI1MZmUVJknJf wEuWswciYqbgsjZO0vF8Yo2w7nw36qVI2vW9pD977zhjw/Js8r3L8277BHwwYst7whJ7 a5YeK76OakARsRx6kbpmueGVlVWqtfEM5XMHs+W15NwjujfxGLE79/v57/rNeNEBaf82 XMqVT/yc+FSW0USElf24KQshIHJD23Edi1dhjOJZ/xyVo4hBWAsp0y8e6ZCkCauvaKLr NTeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=Gwxs6xPN; dkim=neutral (no key) header.i=@suse.cz header.b="Un44p/32"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f20-20020a056402355400b0041faf0432d1si7123471edd.461.2022.04.22.07.34.24; Fri, 22 Apr 2022 07:34:49 -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=@suse.cz header.s=susede2_rsa header.b=Gwxs6xPN; dkim=neutral (no key) header.i=@suse.cz header.b="Un44p/32"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1388269AbiDUKUF (ORCPT + 99 others); Thu, 21 Apr 2022 06:20:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1382272AbiDUKT7 (ORCPT ); Thu, 21 Apr 2022 06:19:59 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DD1A22525; Thu, 21 Apr 2022 03:17:10 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 3A8A1215FC; Thu, 21 Apr 2022 10:17:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1650536229; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=3O6/BdDKv6pQlJqixzof36IiCZINQ7EleO0KCxDYz08=; b=Gwxs6xPNUG8N4mol49RlvyysByoXuj/4BkAmKh9CYflIQGSSlcVbekd8xvly3WOCk6KYW2 48cyDeZqZczl09WaDcwqFyEwpvR6a1tszxs3ssCCLH0dEut90wuxG9ZY+2rxJvZEBoYFNg LjXfJVyaDoIZ6icbL+83D5sqssgY9KU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1650536229; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=3O6/BdDKv6pQlJqixzof36IiCZINQ7EleO0KCxDYz08=; b=Un44p/32CI+/Gg3yw9FzYxTSWF43suEDiPCeFUmzZNq/LV2rZLdpBsPpiG8fMdTZpZcY23 OUwe2Blot0PL0+Bg== Received: from localhost.localdomain (unknown [10.100.208.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 090082C142; Thu, 21 Apr 2022 10:17:09 +0000 (UTC) From: Jiri Slaby To: gregkh@linuxfoundation.org Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Jiri Slaby Subject: [PATCH 0/7] serial: various cleanups Date: Thu, 21 Apr 2022 12:17:01 +0200 Message-Id: <20220421101708.5640-1-jslaby@suse.cz> X-Mailer: git-send-email 2.36.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS 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 This is a set of simple cleanups for various drivers. All should be straightforward. The last two patches enable compilation on 0-day bot also for three more drivers. So we should have a better coverage. Actually the last but one is the result of the last one -- 0-day bot already complained to me. Jiri Slaby (7): serial: sunplus-uart: mark sunplus_console_ports[] static serial: xilinx_uartps: return early in cdns_uart_handle_tx() serial: xilinx_uartps: cache xmit in cdns_uart_handle_tx() serial: zs: use NULL as a pointer, not 0 serial: qcom: use check for empty instead of pending serial: pic32: make SERIAL_PIC32_CONSOLE depend on SERIAL_PIC32=y serial: allow COMPILE_TEST for some drivers drivers/tty/serial/Kconfig | 8 ++--- drivers/tty/serial/cpm_uart/cpm_uart.h | 2 ++ drivers/tty/serial/qcom_geni_serial.c | 2 +- drivers/tty/serial/sunplus-uart.c | 2 +- drivers/tty/serial/xilinx_uartps.c | 46 +++++++++----------------- drivers/tty/serial/zs.c | 2 +- 6 files changed, 25 insertions(+), 37 deletions(-) -- 2.36.0