Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp878739pxf; Wed, 7 Apr 2021 13:59:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJziKl95wbmtpIhqQifoIRqIXkhG9JgzToENyRyqbEDeduB6VwbJbqcC7XU5CN8t2sAe6VBN X-Received: by 2002:a02:c50f:: with SMTP id s15mr5364480jam.133.1617829177054; Wed, 07 Apr 2021 13:59:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617829177; cv=none; d=google.com; s=arc-20160816; b=jBsaLigfl6qrkgCQXY4ZU1IlaYKKBcGkKHRL0T/B9XiqObFSeGnhXeytE0toPLoDuM TXgp2aJhVhjwe0yY6H0gvBT/jL7eG4sQkDvw3OgWrdtx3vmciNsTUoxbcXl0Dl9jH7tP JEHXtZv83xeKQseWc4xm3P+oJvWc81tFZi1KQmNVKub80eMigiilEmmClH5Gnsz8Cz3v 6OOXXmC2C5hYezrsLv5uOXHoUgujaHy+X1XzK1GVbLXwcOjzXALfbD7RVw4LJg9fHQyO N01UoOCGlecdEZCtRjNt8XCw8iN3LhVZNVti+sPO/+coitXfR0Wtv3z/D506uk0/Wse3 LlbA== 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:dkim-signature; bh=gBFb+9sR9jZVH8lGWvvZrIB5SbC52QoGVcJsFVBS8zM=; b=XgRk00PAa558V7ZbsSekf7jAEQmvayY5P89etmPa/QZTx+8RHMSznX9k9ILoGLXMhs eRSGaCJDTkD0gqKKBUMEBv7YAtWRUrAfq9JoaL8OoqnWPt4rsTZSfL2p8SZJ64Hyu+vi h3OeuJsdju30KEiIq572umWUWK3mZYgQ5mOrtUPESQkLDFepKhqc/lvWjdZAFGgq6ZbY /mjO6lV+L8QAk+rZuIQJrTWUWl50EjOBg5YYvH4y/6FHr/lFgpeqizEJ11wJHMadGDiX 8i++gq+4IgJOHt+W3d63ImZUl1wefaa3rzhotqPAYpIqvQXolN8AipAbGkI/hGUJqmi0 Vj7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fDHQQ7TR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v19si22157414iom.33.2021.04.07.13.59.24; Wed, 07 Apr 2021 13:59:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fDHQQ7TR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245735AbhDGMot (ORCPT + 99 others); Wed, 7 Apr 2021 08:44:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:51828 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231124AbhDGMop (ORCPT ); Wed, 7 Apr 2021 08:44:45 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6C8B56135D; Wed, 7 Apr 2021 12:44:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1617799476; bh=gnFVVLuMw1XrbnmPwx8G5P4avuQB7mSzP86qLuRcJpI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fDHQQ7TReibjFn8nqWoRCdeBp7Hyv74wTwIPAD9uJluSwxREqP+raeQzUq5RjXSn9 Z7iT979kTKmAQKldAvnfc2bLBd2+xkSvz2dvkH3WgInsDtCc/vUJ6cybRu5YANGwAG 5OFPDjZ5i2I4SrRk1P3J1KpB8d0hcaUh10sZDdjyG56V1bKlI/dTEFOklGrVuAQdBV RX54+FAg79buZ7q+xo0+Oy724te7w8g5IQn81f+yX8/HMfSP3hsb2ynBAFWTZyIOS7 3gdDo02ROadZvEkRPXe4nCnBaFX/tuSJpr1SNoD1nh1DzPDncKpqQbQdAHOhsWmnk8 usAO0dMdPfBvA== Date: Wed, 7 Apr 2021 15:44:32 +0300 From: Leon Romanovsky To: Dexuan Cui Cc: Andrew Lunn , "davem@davemloft.net" , "kuba@kernel.org" , KY Srinivasan , Haiyang Zhang , Stephen Hemminger , "wei.liu@kernel.org" , Wei Liu , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-hyperv@vger.kernel.org" Subject: Re: [PATCH net-next] net: mana: Add a driver for Microsoft Azure Network Adapter (MANA) Message-ID: References: <20210406232321.12104-1-decui@microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 07, 2021 at 08:28:45AM +0000, Dexuan Cui wrote: > > From: Leon Romanovsky > > Sent: Wednesday, April 7, 2021 1:15 AM > > > ... > > > int gdma_test_eq(struct gdma_context *gc, struct gdma_queue *eq) > > > { > > > struct gdma_generate_test_event_req req = { 0 }; > > > struct gdma_general_resp resp = { 0 }; > > > > BTW, you don't need to write { 0 }, the {} is enough. > > Thanks for the suggestion! I'll use {0} in v2. You missed the point, "{ 0 }" change to be "{}" without 0. Thanks