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 69282C05027 for ; Wed, 8 Feb 2023 14:46:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231564AbjBHOor (ORCPT ); Wed, 8 Feb 2023 09:44:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231555AbjBHOon (ORCPT ); Wed, 8 Feb 2023 09:44:43 -0500 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7ADF54ABE0 for ; Wed, 8 Feb 2023 06:44:39 -0800 (PST) Received: by mail-ej1-x62c.google.com with SMTP id sa10so21341331ejc.9 for ; Wed, 08 Feb 2023 06:44:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20210112.gappssmtp.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=pDy3NocjvArraEl6AxQ9hnOhL9P3eliaBBIoj5WWDtA=; b=kF0jUotzr9gBu+jEIkoI/F7w4YiCfzqXRdN/8fn4bCOSt8goCY/ik/prMDyw674nBw SlbS2GoZPuNyz+emC6BUwkt5PEG/uTjuQtH0ngzeo1lRIXsXnRF0Q367q+FiWB5Ys03+ ooGKrgVj2LrlJK/Z2DeQYaBLnerM3uHG6KkAZyO3KdJv/ylssiM7GtUrdBDw7FpGgphf dGn+ek8gXxQLac0wO51KbsBcr3UtILI2qRG3kIBITxH0AcAgzDtbMlo/RCNRx62b0AtC iJjfhfuE145jMDPdSt4q25B2NDOIH0fVKtNLEuA3DGuHXHIeaQIb1ISt4RA91nq4t87F NMYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=pDy3NocjvArraEl6AxQ9hnOhL9P3eliaBBIoj5WWDtA=; b=lukpH1rttjkdWDu7LwOH2GvbOtgTlOQ0uoPsQdFqION4OyERG1i7PF4l0g4rQYqkZp Bao2QXWOonVfGzvgdz/8KUHXzYl/W7Hud4joXdgzUAC52SsIYP099sbPR+uBd+K5HMmF OkVGkVhXZfRUJfZs6bUWXROJt9FOBKySkI5XN7wcV7K0aP6LfGzINj6/YlIckkVZFo+L 24k57+c0VRH9J2Pxfw+AwMklumMswSrOYVk+5SxQUhywUgrjzx5eSV7SlHRcLIIKwBVx RJaFE0vBIVOOcyrHL0Is1QyfJVBEEQYVHx3woNcF/3aLIBVBfW5Uytx83WSz3gjg8FnO hoVg== X-Gm-Message-State: AO0yUKVHHQqCQGPTFUtg7hqb9lCTt+WBZc6Q3qsfvCqYJFSan7Wzp26/ i7WxRlMIvDHdE1+pO8DBn0gr9Q== X-Google-Smtp-Source: AK7set9qYlJ+CisVLCwiWnp8Ar609N7ufxMnaqevfhXepk8ApPMWvdz7gcAS95s+ODrrJoC0GJzA1w== X-Received: by 2002:a17:906:b853:b0:8ab:4c4:d0f6 with SMTP id ga19-20020a170906b85300b008ab04c4d0f6mr3244759ejb.56.1675867478130; Wed, 08 Feb 2023 06:44:38 -0800 (PST) Received: from localhost (host-213-179-129-39.customer.m-online.net. [213.179.129.39]) by smtp.gmail.com with ESMTPSA id kf15-20020a17090776cf00b0087bdae33badsm8366973ejc.56.2023.02.08.06.44.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Feb 2023 06:44:37 -0800 (PST) Date: Wed, 8 Feb 2023 15:44:36 +0100 From: Jiri Pirko To: Andy Shevchenko Cc: Jakub Kicinski , Xin Long , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, dev@openvswitch.org, tipc-discussion@lists.sourceforge.net, "David S. Miller" , Eric Dumazet , Paolo Abeni , Pravin B Shelar , Jon Maloy , Ying Xue , Simon Horman Subject: Re: [PATCH net-next v3 3/3] openvswitch: Use string_is_terminated() helper Message-ID: References: <20230208133153.22528-1-andriy.shevchenko@linux.intel.com> <20230208133153.22528-3-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230208133153.22528-3-andriy.shevchenko@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Wed, Feb 08, 2023 at 02:31:53PM CET, andriy.shevchenko@linux.intel.com wrote: >Use string_is_terminated() helper instead of cpecific memchr() call. >This shows better the intention of the call. > >Signed-off-by: Andy Shevchenko >Reviewed-by: Simon Horman Reviewed-by: Jiri Pirko