Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp7769902rwp; Tue, 18 Jul 2023 23:13:48 -0700 (PDT) X-Google-Smtp-Source: APBJJlGyOZWXVs/thrWoKjhREQJf4xwoUTEqcsOUIj5eA2GzcRb2KsfWgwNww4m+JtWF0lbYUKg5 X-Received: by 2002:a17:906:cc5b:b0:991:f427:2fd8 with SMTP id mm27-20020a170906cc5b00b00991f4272fd8mr1340336ejb.74.1689747228351; Tue, 18 Jul 2023 23:13:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689747228; cv=none; d=google.com; s=arc-20160816; b=xYS+vhisVIT6J9raNxtwJPMMZ9if6uahqEKdLQ3bL9xHa4vxptsi0J9HIvYk8q0mgt kiBCESTY03Q4aeJPldkHrizQSeTW1icoYQV/aR/0H1IVQWOngbxHIxss8gqlJLTZguGf jfIUGU2nZ/dohq3s1O4ue6/excj4XOIYtviIP1gDy5+Hh4ugicE4H6kBsmf5ZafJsIHV VjIHxJbv+3RLshnOvZw8WVQUnInll2cTDpn9cEvv0e2jksvRmSDy8hMbfe3IZqQwtxMx jxNrywg6FXqVm2hyVAoQufo6crW8rYwdm5TbURFxvYwgbCzB3ZXuyp/ILZMQYzhYCVHC apcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=3TofMif/p4Hk0wO1em+uYGTtba18rnbPq7f5M849UOs=; fh=NWOWQlRrCp07WOeQIiItaSNtLAOHDQ619pz4fIDcN00=; b=QprV+yQp/orSqUDsrqGaY+26kCbKXZRB+MzQtfEUHw0U2X/MrsT1yt/nfwvtCUMh3w haZgqBfqsHbLqkxAgW3kSD1hbautEoL0UfvsZO0chDF4AdhsuzOkiXgOqysfLnCeTBaw +S+UTjRMh/SAH9Pel7lRT6DZ3RBEbxYOrcIyPAgXApGmvVKcvS7U5H9GQ0Ks80ylrsm0 TETd3mWpNzJCe6/OY2HEVh4QsQqJTsj0Z4Wor2yeuI149zxJI3H+tDAOInWnDYq96fkC q0lwF9wGtcN5M09nEN648HJDEgNWG/EIUWL3Gm6LmT+eBlJtVqjJR80a2PXYwA0xVuOu gbUg== ARC-Authentication-Results: i=1; mx.google.com; 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 pv12-20020a170907208c00b00992c1154498si2289475ejb.967.2023.07.18.23.13.23; Tue, 18 Jul 2023 23:13:48 -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; 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 S229977AbjGSFuh (ORCPT + 99 others); Wed, 19 Jul 2023 01:50:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229464AbjGSFug (ORCPT ); Wed, 19 Jul 2023 01:50:36 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4CCF11BF2; Tue, 18 Jul 2023 22:50:35 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id C01C780AA; Wed, 19 Jul 2023 05:50:34 +0000 (UTC) Date: Wed, 19 Jul 2023 08:50:33 +0300 From: Tony Lindgren To: Jiri Slaby Cc: Andy Shevchenko , Greg Kroah-Hartman , Dhruva Gole , Ilpo =?utf-8?B?SsOkcnZpbmVu?= , John Ogness , Johan Hovold , Sebastian Andrzej Siewior , Vignesh Raghavendra , linux-omap@vger.kernel.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] serial: core: Fix serial core port id to not use port->line Message-ID: <20230719055033.GL5194@atomide.com> References: <20230719051235.46396-1-tony@atomide.com> <82c49602-8c6e-51c2-6f73-28fb9b458db8@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,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 * Jiri Slaby [230719 05:37]: > On 19. 07. 23, 7:34, Andy Shevchenko wrote: > > On Wed, Jul 19, 2023 at 07:26:41AM +0200, Jiri Slaby wrote: > > > On 19. 07. 23, 7:12, Tony Lindgren wrote: > > > > ... > > > > > > int ctrl_id; /* optional serial core controller id */ > > > > + int port_id; /* optional serial core port id */ > > > > > > Can the id be negative? If not, please use uint. > > > > Does this suggestion apply to ctrl_id as well? > > Sure, but he hasn't added it in this series ;). So it should go to someone's > todo :P. Yes it can be uint, that's left over from some earlier revision where -ENODEV was used, will fix that too. Regards, Tony