Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1567087imu; Sun, 18 Nov 2018 04:37:53 -0800 (PST) X-Google-Smtp-Source: AJdET5dInGwSTdPPc/p7mH+6BpjmQq24dUEZld5Ixq6dPGVco7uMNQT/MbJ1QGTYLJO0VkWdsa1R X-Received: by 2002:a63:ee4c:: with SMTP id n12mr16016907pgk.21.1542544673762; Sun, 18 Nov 2018 04:37:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542544673; cv=none; d=google.com; s=arc-20160816; b=g/mRJDsWQJpxY73/D7Vjq+BuwLBnGQ9j1x0u15h/EbM5VtpraaZQY3ngjrfwRpWnDV DhyolUjIPSkPJTco1VGtNawNSXR90631YomeoXcQTLGqBdLFt2Mn086MLPOBBPNyIxX+ kdvYFXpBSbQhiytetpLLFdWI2gV6xrstnt3RZCzpFlwb1zdpQlwYk05p8swWsrRlo5tk RfVCA4g9EfNmE6bmZAzmp34lxJBd0QBFlcyvDElSh+lRf645zcWvVg7Wk2ALrRFsFYVz /fq8W379swnQTvpcXtesJ6Uxbwf/j6C2p2HPtwKaqRvDcvqR1HLaK2zaTvoIOXvTxJDw qbWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=CnrP63UjhnX7vjKAZW7hy4n1DrjHfu39zKwf7A5dYPs=; b=XL9ysOpcS9kC+J+kXWrCjEe1dfK9rSZ/74Xoe0aa0wa6G5AhAXUabh6zAIh3wCsz9G zuvxm4qvJAv2z0M06IajwJ/tVcNhAin/vH3iW7LH72QTwuvr84lGdBfIc+ce11pyp7X0 PKR0l+iUV46L+AgdVpLIAB87H2sI6VqOlIOl8/3zse5tHyZQpvpx6AJF4y+pzgx0GRGn jiuy1UtdmQmKZXEgsfLVBDjleNp9yIgV29jKf9VlRbzbbDnevPU0W5gxD7bIXkBqsj2n mQxLtd4vkX2zgnRP/6bNsDSZFHJj3zD+1ZPzhKizYd4ndcWQFUQy4sj8+D7P/QFoiGfV VdIA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (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 g6si30493959pgn.57.2018.11.18.04.37.12; Sun, 18 Nov 2018 04:37:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727306AbeKRWz4 (ORCPT + 99 others); Sun, 18 Nov 2018 17:55:56 -0500 Received: from 212.199.177.27.static.012.net.il ([212.199.177.27]:55340 "EHLO herzl.nuvoton.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726287AbeKRWzz (ORCPT ); Sun, 18 Nov 2018 17:55:55 -0500 Received: from taln60.nuvoton.co.il (ntil-fw [212.199.177.25]) by herzl.nuvoton.co.il (8.13.8/8.13.8) with ESMTP id wAIC581G005944; Sun, 18 Nov 2018 14:05:08 +0200 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id 6A76762EDE; Sun, 18 Nov 2018 14:35:06 +0200 (IST) From: Tomer Maimon To: broonie@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, yuenn@google.com, venture@google.com, brendanhiggins@google.com, avifishman70@gmail.com, joel@jms.id.au Cc: linux-spi@vger.kernel.org, openbmc@lists.ozlabs.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Tomer Maimon Subject: [PATCH v1 0/1] npcm: fix uninitialized 'val' warning in receive function Date: Sun, 18 Nov 2018 14:35:03 +0200 Message-Id: <20181118123504.83082-1-tmaimon77@gmail.com> X-Mailer: git-send-email 2.14.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Addressed comments from:. - kbuild test robot : drivers/spi/spi-npcm-pspi.c:226:17: warning: 'val' may be used uninitialized in this function. Fix uninitialized 'val' warning receive function. Send function has been modify to be aligned with the receive function. The NPCM PSPI driver tested on NPCM750 evaluation board. Tomer Maimon (1): spi: npcm: fix uninitialized 'val' warning in receive function drivers/spi/spi-npcm-pspi.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) -- 2.14.1