Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4772633ybc; Tue, 26 Nov 2019 14:30:38 -0800 (PST) X-Google-Smtp-Source: APXvYqxjCHnydHJlJ4Zs8YUpGfj4Q0vw/5r3aZ5dDmQAJotYwjUbF7YM/0DxexyhC9Kv90ze0zu1 X-Received: by 2002:a50:b632:: with SMTP id b47mr28042805ede.289.1574807438246; Tue, 26 Nov 2019 14:30:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574807438; cv=none; d=google.com; s=arc-20160816; b=b5YVJsKKKOM0w7pIEe9xkpl/MRDilfolAdP0D+v9hzJt/CpiSeOtXnbrmqc98k31gr 5YkCUyC6cZPapWGoRjeHe/z+cBfiYKa2ypY7sOPIvVg5fm4WYZlAgXwNlninqzanPzUS mR2GtqDyQqqer2l4oAUzOrjbXqVGNpYjMpoL8Mi7v0o3fiypfkQaQrY24JQT/XYjKbiw kei7iEwpU6OL0veVzkjkx3RPQ+4z+hMzJMux7+lClVK9ogf5uCnDiIPgGjmOE2nGdaFY edm7kAI9Nt4E5DX7YygsNOukP7W+yxA2x/s3yjsyEOZgUwObY8pvOVRZYUXlF2OCGMrk iK2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=X7czqVkoEYLu9jchLgLJsSf45+1ymW0TAtTYsnS8aYU=; b=swus4o74OIBQvFSLVkfDRhHfRT0ghKTpO92tc9XMMJGqR5wxtHpMIrMBeL9YD34UTL EB15WbPAP7QkxA+LBJf+EMVPgzs3AJDyhFDqgwkiZcAT7Z0pFmMc9HVKYDgez3+uFvw6 SdlHY8q/++lj8QqW6LErkUiQus1eXAiBIhhF4k/moD5vk8Wx4I3f0w51yFxRBX8/Eu7f tc2Xicg9WKOicTG/IeIgA5Qe32EqH8GGyYQeqm/kZf0q/oWnxd5GjCv/RlFJA6z/Sd5V dSF+iCLT6gnxUWHSYsPTdJg2egEv4PK7u7+oTDfnLUgSZNU0hkyXBRVT3sJFFEV2GfV3 jJGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CVIhaKl0; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i13si8560543ejj.367.2019.11.26.14.30.02; Tue, 26 Nov 2019 14:30:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CVIhaKl0; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726299AbfKZW35 (ORCPT + 99 others); Tue, 26 Nov 2019 17:29:57 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:37910 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726077AbfKZW35 (ORCPT ); Tue, 26 Nov 2019 17:29:57 -0500 Received: by mail-wm1-f68.google.com with SMTP id z19so5224324wmk.3; Tue, 26 Nov 2019 14:29:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=X7czqVkoEYLu9jchLgLJsSf45+1ymW0TAtTYsnS8aYU=; b=CVIhaKl0iHduS/t0BNo95kQzNUtwxq+/gkJLbDkmY+pwSmXs1NikyN77bwlxkk8TZk 3bdQUk+xGrOio7HmRmjVrYyEjkqubfsYYOJwLM8C7lGwGptP8Jjn9jXIm7t1OZJT0szq Qk2neAbTpXRc5vyOHbKKyn2OOwMADpkLcgrkEffaUTm2dMmjsls4B6M/VSvAlmx1/smL VTD2aDz4jjCFN48lqDlGr38Yylyj/p/o9IKK965vQOg7VX3JIvR5dBltSkn1X4rToYSd pAFqDW0uM/6EfixBEBAwpvis6SRNAw3Z4tNhDy5I4Ys/cgdnrLf0RT9X0iESjcluWlnB IgFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=X7czqVkoEYLu9jchLgLJsSf45+1ymW0TAtTYsnS8aYU=; b=uYwiDVEf6QaSIEFa07lj7ItEj+/NtWimiaBVdDKSibvm0yOrNJ1p9ye2hgZj/VsxEe OKW9+Q7A8iJWl5yD6qL5Ma7c6w5YC5K6FLu94nux93GCngDYxY/uU01F86Tv2K5vYcbR smLhX/lePAPXUAmV+sHZJtRGweOa5CVdmOTor3oVFrzRMf0zSB7E9h6m2kAAe+prn6Tm CrlSBs6nUTdMnTeS6XJ5UtFE0XfjKGfhV3iPbt4z20r7X2QSG24Wko1NZEtPovXO3NfJ MJcegjPxLgtpcC8kHcDKQZNfRlkpLS7QnpdYhtiOvaMHaAZckETh1aDxuGPPZoUPys/l mFeg== X-Gm-Message-State: APjAAAUfgQXPUWRDkS/Nfcl/Q5QugD/+II4MxMh5GcRrrlP/d6E7Deai RyrHKR8BIlOFguk7B/GpwA== X-Received: by 2002:a7b:c44c:: with SMTP id l12mr1113151wmi.71.1574807394912; Tue, 26 Nov 2019 14:29:54 -0800 (PST) Received: from ninjahub.lan (host-2-102-12-67.as13285.net. [2.102.12.67]) by smtp.googlemail.com with ESMTPSA id d14sm3491148wru.9.2019.11.26.14.29.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Nov 2019 14:29:54 -0800 (PST) From: Jules Irenge To: bfields@fieldses.org Cc: joe@perches.com, chuck.lever@oracle.com, trond.myklebust@hammerspace.com, anna.schumaker@netapp.com, davem@davemloft.net, linux-nfs@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Jules Irenge Subject: [PATCH] net: sunrpc: remove 0 Date: Tue, 26 Nov 2019 22:29:36 +0000 Message-Id: <20191126222936.172873-1-jbi.octave@gmail.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Remove 0 to fix warning detected by sparse tool. Using plain integer as NULL pointer. Signed-off-by: Jules Irenge --- net/sunrpc/xprtsock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c index 70e52f567b2a..f90323dfc548 100644 --- a/net/sunrpc/xprtsock.c +++ b/net/sunrpc/xprtsock.c @@ -614,7 +614,7 @@ xs_read_stream_reply(struct sock_xprt *transport, struct msghdr *msg, int flags) static ssize_t xs_read_stream(struct sock_xprt *transport, int flags) { - struct msghdr msg = { 0 }; + struct msghdr msg = {}; size_t want, read = 0; ssize_t ret = 0; -- 2.23.0