From patchwork Sun Nov 18 12:35:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomer Maimon X-Patchwork-Id: 10687773 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 796FE14DB for ; Sun, 18 Nov 2018 12:36:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6525928D68 for ; Sun, 18 Nov 2018 12:36:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5695A29C31; Sun, 18 Nov 2018 12:36:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1847D28D68 for ; Sun, 18 Nov 2018 12:36:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726995AbeKRWz4 (ORCPT ); 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-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-)