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 31618C636D7 for ; Wed, 8 Feb 2023 14:44:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231543AbjBHOof (ORCPT ); Wed, 8 Feb 2023 09:44:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230025AbjBHOod (ORCPT ); Wed, 8 Feb 2023 09:44:33 -0500 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E603C22A12 for ; Wed, 8 Feb 2023 06:44:28 -0800 (PST) Received: by mail-ed1-x52b.google.com with SMTP id q19so20792504edd.2 for ; Wed, 08 Feb 2023 06:44:28 -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=8+MJ/hCoxLQ4ZkyxT0Igfncyofm6E/bHxd/lqh8riTI=; b=Awr/YMBhb9pFMRUDTgC87F6TvkKCALd1QAQJR6sRo9U+RXW7dik/1UY82raxCgDeVN CdGEGsofEcdr1yvpk1cKy/y9geckQd6mb3z7KpGekhKTQWibX2bxcVdVGZTQKm7iqT4S 1F9rDBrmSbyGIyAmACXPYGC1tjMs/l17nHB2Q3/ULTeTdmVcJ3Cryrl4+v0pO5fVprLb Eq51p5/pxsXKU61phEsbb4QwZ/QyzAZxkQOtjsDIx36s+9d8M3wtmRLbo82f9opfzwEV 3/4bfmEAO0BR5GXiIj21qzC3QDy5ONSJ1NBm9B2G6JMdSrPiePU79V+u/mePH94RcH2/ ofPA== 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=8+MJ/hCoxLQ4ZkyxT0Igfncyofm6E/bHxd/lqh8riTI=; b=HpgFRL65yh2sLjnNdAKkn3V6lt4/UyJ2dzEeUWexm6VFl0t70YrHUx9CRvL/j58aAg jiipvs83r9ONknG4ILt7IRA+bQbhgE0qDqPz7FKyuQthmqT61sY6bHzrjQLzTt7TzoSC fz0VxkPVRLdTinOW+rv0jshRxsHhzRtXnHGcdtFtn9y+yYPnHw2q/6r+D+s1qFXUbXLG eBbsZF6FkhGJAcIlwxSKOgxwd8shSDmMMb9Wkfh8ywJ+CV79E1rHcm3tuPtzXzgKuV48 COz82XqWAFmPQpjYrUCkZk6BcUZJdq6BAbP+9mDGFi450b4VTVaJsxBeYmcEcFHnffwH wpsA== X-Gm-Message-State: AO0yUKUc3Zfccpoq5FiJNIxb5HSJDdtzrSdCTsWVYllICJvlGtJEg52q vKLIt+Z2k65nrqyvxbLMUu74WQ== X-Google-Smtp-Source: AK7set+9heUrHpgwJrfugET6oI4/ZsZGAx9SGvYdGiPwPk/wazBmlDhUFMSXkf4F81NhLqEEHA3loQ== X-Received: by 2002:a50:bb2d:0:b0:4a2:5652:d8ba with SMTP id y42-20020a50bb2d000000b004a25652d8bamr2752403ede.18.1675867467501; Wed, 08 Feb 2023 06:44:27 -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 v14-20020a50d08e000000b004ab16281309sm154378edd.29.2023.02.08.06.44.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Feb 2023 06:44:26 -0800 (PST) Date: Wed, 8 Feb 2023 15:44:25 +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 2/3] genetlink: Use string_is_terminated() helper Message-ID: References: <20230208133153.22528-1-andriy.shevchenko@linux.intel.com> <20230208133153.22528-2-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230208133153.22528-2-andriy.shevchenko@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Wed, Feb 08, 2023 at 02:31:52PM 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