From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8876EC28CF5 for ; Wed, 26 Jan 2022 13:50:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235498AbiAZNuV (ORCPT ); Wed, 26 Jan 2022 08:50:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241631AbiAZNuS (ORCPT ); Wed, 26 Jan 2022 08:50:18 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81ADCC06161C; Wed, 26 Jan 2022 05:50:18 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1EB7F6135E; Wed, 26 Jan 2022 13:50:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EC05BC340E3; Wed, 26 Jan 2022 13:50:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643205017; bh=9mDXCoeqsja8rXJhe52fHHw9XzlnXG7asjLqfZfZcZ4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=taWxoPenqHi5/N2FoZdUABm1Z1CwBtaxeHzAMMuZzVlUoFzlgWwpbCyllHoNeLtXC hsemCiRRI1YHCsuV0C3WAk+ZvS2d3ZDCxxV63in9EWXAA7VjjXRn9Waa8MD0Wx7PxU Qd2Vs0LaylFbY5N3hnuPcy9vI8SMpbgr5jnz49zc= Date: Wed, 26 Jan 2022 14:50:13 +0100 From: Greg Kroah-Hartman To: "Maciej W. Rozycki" Cc: Jiri Slaby , Christoph Hellwig , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH v3] tty: Partially revert the removal of the Cyclades public API Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org On Wed, Jan 26, 2022 at 09:22:54AM +0000, Maciej W. Rozycki wrote: > Fix a user API regression introduced with commit f76edd8f7ce0 ("tty: > cyclades, remove this orphan"), which removed a part of the API and > caused compilation errors for user programs using said part, such as > GCC 9 in its libsanitizer component[1]: > > .../libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:160:10: fatal error: linux/cyclades.h: No such file or directory > 160 | #include > | ^~~~~~~~~~~~~~~~~~ > compilation terminated. > make[4]: *** [Makefile:664: sanitizer_platform_limits_posix.lo] Error 1 > > As the absolute minimum required bring `struct cyclades_monitor' and > ioctl numbers back then so as to make the library build again. Add a > preprocessor warning as to the obsolescence of the features provided. > > References: > > [1] GCC PR sanitizer/100379, "cyclades.h is removed from linux kernel > header files", > > Signed-off-by: Maciej W. Rozycki > Fixes: f76edd8f7ce0 ("tty: cyclades, remove this orphan") > Cc: stable@vger.kernel.org # v5.13+ > --- > Changes from v2: > > - Add #warning directives. Thanks, that looks good, now queued up. greg k-h