Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp32000pxb; Mon, 2 Nov 2020 13:09:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJwaTajiNeGNn+ukXcJO/vSY/C0uJxSnBmtUIX6/V8ZYRBQ7zBoym0FvFQTm8J5YOrGID2zy X-Received: by 2002:a17:906:a149:: with SMTP id bu9mr16720187ejb.115.1604351383094; Mon, 02 Nov 2020 13:09:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604351383; cv=none; d=google.com; s=arc-20160816; b=EL1uqPqE6yAIo7ay7ijvFtLwVfg/IGYGEgrwOYoupapt78yi5bMQ2yLzyp/UetUJiq 2gG/JhpUci/hErc+dTA0w1asP9Rg5UHXPNfvtuGr99lCpAkjBpVuZXGO5iyTtBpevjfu H9+6dzSn8WTvkAw9C8ryR+eMpu7RxzoNyrdMjLr8zq3iUY10o7e1zh/VjmnGMmILIYZS xu7u2xl1au78cTKnO6X40sdbqeQTJz4nZmbpw/tS9BSc3MtpM32UkVrKzbAtP7NWUbTC E3HzTZXfC/AkSrfX/9inNYq/fsYP5yQoidNHHWTn1ia6q3gia0o5ko1d802BgFutnCGj OBxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=S6chzrEL1+q5/HgauCqurdMSLx7xx9lDVZhCmcZkHvI=; b=QaMWXP+Jr5RL1J6f5jKNRl9TV7lx3MvRVulmBMj/TxwAOWj6ffqI0K4fOjBsPbMU8n +3isBEyj4W1xhrSwhj2lzJ61LuWR+65GGvlmem85y4xiMjaBpYU1d7eshkOdqb7FrDby f5jyWrtQ3N/NllYjeJ6BzCEtaOasyOMKavkuctKB/8K2qEexwfWlv65CanlvxyIuvpMi E+ygIcHMIrmFg8XQVZy31tTw0/qq2KKdUQW3WU06Bbr6by3qF5MvZ3sR33N+9BAjoZlJ UioBjl1it/t678daNJqgef9d2IguUurddrJiMMtSOPB02C3eGTLWA3in/7qvGJEqLOxx ixLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=i20qXrob; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qt18si5516784ejb.602.2020.11.02.13.09.19; Mon, 02 Nov 2020 13:09:43 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=i20qXrob; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726203AbgKBVHp (ORCPT + 99 others); Mon, 2 Nov 2020 16:07:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725806AbgKBVHo (ORCPT ); Mon, 2 Nov 2020 16:07:44 -0500 Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A5E8C0617A6; Mon, 2 Nov 2020 13:07:44 -0800 (PST) Received: by mail-pg1-x543.google.com with SMTP id h6so11854294pgk.4; Mon, 02 Nov 2020 13:07:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=S6chzrEL1+q5/HgauCqurdMSLx7xx9lDVZhCmcZkHvI=; b=i20qXrob8eGMOn++YWhc8yAwCQckMLo+ZPm91OcoTYfl+jq+woJXpCvWm/OOEBOtx2 9gm7lUogEu6BD2HCCHzZwe1wJuVEXcaxDXHaHO9ucDvVooLYG4tcIyk5HQUScWxPbNEx TIyH0ztC4G7M7rKVjmGzuMnIg+tykKdGK9V4RXGHH5XUT6JG3c+7wfGZgsr3lIOxI85c t2QBdiOVde3K8h++x37RRf66mbJadAQPy7ciwLyh7t7XbOiT4L9E12EgBR2jgmAoVztd EWnZKr7xpnS6BQFUyYM6cZ2jnz+RWJHLL6teiMm4lithfBWRtCGxqeHc+/WYvPtWUpk3 +toQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=S6chzrEL1+q5/HgauCqurdMSLx7xx9lDVZhCmcZkHvI=; b=Yd5UwDfGKHz6E9YaC8Xf+RKf8seuGuZebaglfD5/jHIe+HggLd/53E8FocS67AShvZ 9Q+EMOa4jUzEWs1Yi8tS+f9gfCuJHDHIzKq2X0DMIHHRnB20IVHyMf0dNRHMY/0lNLuh IndHXcRFBKFGkLr4Ri6eHgQTaerMDVyc2K2of2GZUxY8Q/PwmMbMSvsMi13qR2P8ixlu o4izxYY+ROcNc6rDol+J16+8+l5/p8v98gRD2Ww+pLj4+ajMkOBeDsJxJZaRNv4aoe2D Khw7RYYJ3Fi03X4gYqLh+WhchqaMZcgVSKNzRfzTOe8eC0SDhGRorwWVhClFW+4Nm/YC z9TA== X-Gm-Message-State: AOAM531Xp0rMvH+tyTWVJzUpoFwAM21t+DCBopIS6RQCqffDMljayurZ E7SlwkLA1X+GnthmKHmyLKze8JJMGEI= X-Received: by 2002:aa7:8a01:0:b029:15c:de46:5b2f with SMTP id m1-20020aa78a010000b029015cde465b2fmr22706776pfa.81.1604351263613; Mon, 02 Nov 2020 13:07:43 -0800 (PST) Received: from [10.230.28.234] ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id g4sm3802203pgu.81.2020.11.02.13.07.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 02 Nov 2020 13:07:42 -0800 (PST) Subject: Re: [PATCH v1] PCI: brcmstb: variable is missing proper initialization To: Jim Quinlan , linux-pci@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= Cc: Nicolas Saenz Julienne , Lorenzo Pieralisi , Rob Herring , Bjorn Helgaas , Florian Fainelli , Andrew Murray , Jeremy Linton , "moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE" , "moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE" , open list References: <20201102205712.23332-1-james.quinlan@broadcom.com> From: Florian Fainelli Message-ID: Date: Mon, 2 Nov 2020 13:07:38 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <20201102205712.23332-1-james.quinlan@broadcom.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/2/2020 12:57 PM, Jim Quinlan wrote: > The variable 'tmp' is used multiple times in the brcm_pcie_setup() > function. One such usage did not initialize 'tmp' to the current value of > the target register. By luck the mistake does not currently affect > behavior; regardless 'tmp' is now initialized properly. > > Fixes: c0452137034b ("PCI: brcmstb: Add Broadcom STB PCIe host controller driver") > Suggested-by: Rafał Miłecki > Signed-off-by: Jim Quinlan Acked-by: Florian Fainelli -- Florian