Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp905065rdg; Fri, 11 Aug 2023 04:00:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHuR3pGKr2zIgi2PUoJBx2YXlCJ2vUILL+Q0YhGyKTyxlK9AJwf8/lWIyGCqQupIoNtFnJB X-Received: by 2002:a17:906:3f12:b0:99d:dfd:a5ba with SMTP id c18-20020a1709063f1200b0099d0dfda5bamr1352356ejj.43.1691751633570; Fri, 11 Aug 2023 04:00:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691751633; cv=none; d=google.com; s=arc-20160816; b=oRLU7Cck2zk2HVI5xvvTx2h4aIfwBg5oEtaUqyTYSbGeQ0sSqsNa3ckDqo5H/uVVpB G4F0jY64FHtgVudVO8MBqH0+dM+XHdAZH6FR/7sLkirmYRLrORFbIQFw3Ydj0telbzFs G3eYzyP/dmYi1+ODOUd59muwnXUMHnsSvR5B3n58naz2MHeokIongdFJu2B6cwTaZBGZ PFafkA/Ynul2Pai9Dv61jM6nabh+R1plal3XFpsiyr5yDCI0GhBoKrVeZP78KnNLEPGe S4zjRDhfHClaGnVzMeBr/54FOeWTx9JSzHlOYJOyHzKDyCMnhkGqBhQhiGYU6lwRKjdF +Lsw== 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=8ATv6ZZ3B2x/NcnzMzu7y23GH+2sDqXPNghS+jGnM9w=; fh=S61hBOhJ5JehVxpLHOTSOpTjZsp1/wHbbN+pks37VNs=; b=vyKVqMj/r1WqY8La5+7j1aECQX7a78OhVyWxtqMI6dD2dOoEQNJk0p/xvq1dRR++Eu jB400lmKx7h5PHM8P1jZN7dVT6fWg4kbvWKuDIX3BfVlNpil8tgGYtlqrJqJroc9iq4/ IEv/qVwhZjR+OGAGPfG+jiWMIVqbXTc/3Ts2sGmN1zrhW5O/V+6hArLPAVg8zo3Rdaqe xgMUkBsYfmcwu/OEW5oJoVtM9bq8kTfbOgZui2kKnyAwES5ZnCkjpDFFP3j+29d/eB5H FE/EEK6MRG4BM3qcoR1JcMHLkNSCn7+qXzRIx4lTGAKc4TropKW8aeSqsAoZuYKncOZf cFzA== 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 jj7-20020a170907984700b0096f4deef5basi3329984ejc.649.2023.08.11.04.00.08; Fri, 11 Aug 2023 04:00:33 -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 S233769AbjHKKWJ (ORCPT + 99 others); Fri, 11 Aug 2023 06:22:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235967AbjHKKWB (ORCPT ); Fri, 11 Aug 2023 06:22:01 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5610EDA; Fri, 11 Aug 2023 03:22:01 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 869B580F1; Fri, 11 Aug 2023 10:22:00 +0000 (UTC) Date: Fri, 11 Aug 2023 13:21:59 +0300 From: Tony Lindgren To: Andy Shevchenko Cc: Greg Kroah-Hartman , Jiri Slaby , Dhruva Gole , Ilpo =?utf-8?B?SsOkcnZpbmVu?= , John Ogness , Johan Hovold , Sebastian Andrzej Siewior , Vignesh Raghavendra , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Guenter Roeck Subject: Re: [PATCH] serial: core: Fix serial core port id, including multiport devices Message-ID: <20230811102159.GM11676@atomide.com> References: <20230810065737.47294-1-tony@atomide.com> <20230811051121.GL11676@atomide.com> 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 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 * Andy Shevchenko [230811 09:40]: > Hmm... Looking into the implementation code it seems better to have > > /* Use -1 for max to apply IDA defaults */ > int min = 0, max = -1; > > And supply like that. OK let's use that, will send out v2. Thanks, Tony