From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1052941DCC; Mon, 13 Mar 2023 12:02:06 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EB442406BC; Mon, 13 Mar 2023 12:02:05 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 7838640151 for ; Mon, 13 Mar 2023 12:02:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1678705324; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=whmSYrDic7M/8iWmSUagt8yZcFgGPDD/oR4jjvillJ0=; b=ejKgQkM/WbuuJjh/A35xOYdOBy20xVlSEItTPiBjMYPQtb12eSBO3iqbvVLcNv93Fmy8QN 4y01VNF1H5fsURjH1AL/2r1u/m99Y8B844gJEkxf6ZtauTok6IflSlncCorf7FW3fUOFNc RV+13PpXNytN6XDdQT7vE5O0gaMwBsM= Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-471-fmdWDFXeN0KgnG7NPkt-Vg-1; Mon, 13 Mar 2023 07:01:59 -0400 X-MC-Unique: fmdWDFXeN0KgnG7NPkt-Vg-1 Received: by mail-pg1-f197.google.com with SMTP id t2-20020a632d02000000b005075b896422so2511704pgt.19 for ; Mon, 13 Mar 2023 04:01:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678705319; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=whmSYrDic7M/8iWmSUagt8yZcFgGPDD/oR4jjvillJ0=; b=Z7iAM3uRC/6d6wkxBEFsW2fOUUooef3SupfUzcF3MczczOYHNEckOFdcfO9LPrTROY TbjFGh7SjfDjaNhWFF0dGHNU8rJgUnua7ZugsXOYBLgb52SXmOctVrsr56Es3wJLD5BJ 1ryoXkS7fr+feZgluVtjPgibej7EiBNPY2FV1xpmPUCI7mJVVq4tsh6n1QYPuUBxkZdT Wawqrx4wbPOi8JxeDEidji9XWKuekrwBvqz47TCPZBMqVtX4sR5ETMrEHUEHeZxGMDjM GPzTYdUMw6JiUnmk3ihFOXPR4pw3Y/EYy5dZlDgQHcJgTlr8uKiEoVWpsbum9EYx1s+4 En6w== X-Gm-Message-State: AO0yUKW18RzBNxYuUdHKP4tfrm2dXaPE/awMdk4mNFrqZrICPOYfFSux UZeeUksJTqDv90jX6PorH8+iAafXgiG1Jj7Una4KQul23MjbMb9GVKwdk1vsXTiYun0oU7ha6Ds MEXUklQUvpJXS5UqAXyw= X-Received: by 2002:a17:903:2883:b0:19a:7f9c:66e3 with SMTP id ku3-20020a170903288300b0019a7f9c66e3mr4059494plb.5.1678705318945; Mon, 13 Mar 2023 04:01:58 -0700 (PDT) X-Google-Smtp-Source: AK7set8yUMmikxcpHaGeFrWWp1TpMEJOidgBB1jD0c7+kjOKF016Df13wrRGr5prfDfVx1iV7DJXiayt9Tuqa/2/Bgw= X-Received: by 2002:a17:903:2883:b0:19a:7f9c:66e3 with SMTP id ku3-20020a170903288300b0019a7f9c66e3mr4059485plb.5.1678705318683; Mon, 13 Mar 2023 04:01:58 -0700 (PDT) MIME-Version: 1.0 References: <20230311145606.5523-1-syalavarthi@marvell.com> In-Reply-To: <20230311145606.5523-1-syalavarthi@marvell.com> From: David Marchand Date: Mon, 13 Mar 2023 12:01:47 +0100 Message-ID: Subject: Re: [PATCH] mldev: fix identical code in conditional branches To: Srikanth Yalavarthi Cc: dev@dpdk.org, sshankarnara@marvell.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Sat, Mar 11, 2023 at 3:56=E2=80=AFPM Srikanth Yalavarthi wrote: > > Fix identical code in different conditional branches in float32 > to float16 conversion function. Issue reported in coverity scan. > > Coverity issue: 383651 > Fixes: 9637de38a2e3 ("mldev: add scalar type conversion") > > Signed-off-by: Srikanth Yalavarthi Reviewed-by: David Marchand --=20 David Marchand