Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3232857imm; Sun, 3 Jun 2018 23:13:29 -0700 (PDT) X-Google-Smtp-Source: ADUXVKILpIrvYGxqQhq75s40eL3qDQLFgdid1HO2RV15njHVv3uCn8elO8CVI37azllyXOp2t3vk X-Received: by 2002:a62:ca99:: with SMTP id y25-v6mr3769585pfk.187.1528092809416; Sun, 03 Jun 2018 23:13:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528092809; cv=none; d=google.com; s=arc-20160816; b=eWvvT9k2uePmYc/RcAdb4Py9PTP18d1ay3D/pTSfgLKVLqXtgWOZp/5XDYpH6w4moR Gnub4sZJEuG/16pX7F3K6lSoTa0RE7590xoWCc0KXpJU/4cf7Tj9Ys54pLk11DQY9qRv QMkLIvVJexJwwZOnYWvsLtWfKJuOWqhbHm31WE8tHXW7MfDqGY9k+FBW1PySTIAcbFaf SRHQiZq+YAPa2/nHFTs8H0weA4TwYjcWEnpwK5k31wVnqjhRNpkbYIFQ+9OILkJIMoYy 85aG+7M3NKHlMYCxPHZS2D2sl7k/QeqpHdCppgSyZ9v1mmvz5/3QDWrQnUd1qe1Cx8Gx ljaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=aBV5GpCqkyYk111rcO47/Aiup2/1KglhggxqL+XHhpk=; b=IJdpPKLx+4hP19Ys1jJX0yly6FiAOF1LsROFYlJfB3Tn+187ncE/njw1o+8rn00Q9I B/emMxoTuiOCxHlMjGNTUm845VpGMHJdjXw+BhaW4jm6727ntSMc6RXz1Zo2NXxSthUS QCxo1ZHjSCgBup24XlobmZtrsYwfHMDwfoohh7pPGv1Zhsd0nVAC1VbWmywNiYul8cTb VKKMeOTa4liAKXjkSipdzKr3eruRwoFpgIaYFquSKtDH8EvXTFvZCPHCb4mF/irdG40F J7cf4Nez0lCbo7LVVl7oly2lN023FWad56I5PGcFgFIbjvK9bRFiCyCoU8A0wRMBwECj Ib1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OSRFS8tz; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x5-v6si6380870pll.278.2018.06.03.23.13.15; Sun, 03 Jun 2018 23:13:29 -0700 (PDT) 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; dkim=pass header.i=@linaro.org header.s=google header.b=OSRFS8tz; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751610AbeFDGMi (ORCPT + 99 others); Mon, 4 Jun 2018 02:12:38 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:55217 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750997AbeFDGMh (ORCPT ); Mon, 4 Jun 2018 02:12:37 -0400 Received: by mail-wm0-f66.google.com with SMTP id o13-v6so13132171wmf.4 for ; Sun, 03 Jun 2018 23:12:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=aBV5GpCqkyYk111rcO47/Aiup2/1KglhggxqL+XHhpk=; b=OSRFS8tzzlWtNWxu2h5eAgdIiPpuw/S8GNgYHEmL+FOa71qy0GM9B8llxwiGJAbONO 3L1YcIaSVPe9lco+/SirJZY+hRkqgNCEAO4XdqvRGmgfvenXFS2wn5cvGgPXZIguPqhS lg7v7I+OftrFw+RHtZlmhLz5pjVUnlzSPRsXg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=aBV5GpCqkyYk111rcO47/Aiup2/1KglhggxqL+XHhpk=; b=LWA18tY38qMAn92S0EQBDPuw2RfFFig1xYV8cL64iYfehErg926Tiq/yBR2Y7KRK48 j4mcgE4EZV0q0Jfdcdf2frJ1Vi/VspXOSepwGNmoGXmblKnAmFrUx2Fw6azwSNjB8AbY 0Q9ei5qiOoShMXC/FAIdHXmtMM41KPZUMaZertiqqM6QylqHE5t3+8AcZcmio8UZT/YM B1gBBMEgZKPfB3bd1vE3JK/9voscWqvDVNqbJSb4CntWB9KH9eg/XfzaPXIptLVU3Y7v mb7At6iHbnyHw02QAa1GeIfM/NEqekDt0iMVMfTkou0ENfZ92pyobGFnyz5kqNybbutd t42Q== X-Gm-Message-State: APt69E3/JX8s+TMX0+wXsaeQhfFeOp02+xer95O2iMwseJI9DgpeaoTb FSMd84qqaVHcYG6N4sd7jw/txA== X-Received: by 2002:a1c:6545:: with SMTP id z66-v6mr7504963wmb.86.1528092755951; Sun, 03 Jun 2018 23:12:35 -0700 (PDT) Received: from dell ([2.31.167.234]) by smtp.gmail.com with ESMTPSA id x70-v6sm8559757wma.9.2018.06.03.23.12.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 03 Jun 2018 23:12:35 -0700 (PDT) Date: Mon, 4 Jun 2018 07:12:33 +0100 From: Lee Jones To: Fabrice Gasnier Cc: thierry.reding@gmail.com, rdunlap@infradead.org, sfr@canb.auug.org.au, gerald.baeza@st.com, alexandre.torgue@st.com, mcoquelin.stm32@gmail.com, linux-next@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pwm@vger.kernel.org Subject: Re: [PATCH 2/2] pwm: stm32: initialize raw local variables Message-ID: <20180604061233.GC25455@dell> References: <1526657044-14879-1-git-send-email-fabrice.gasnier@st.com> <1526657044-14879-3-git-send-email-fabrice.gasnier@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1526657044-14879-3-git-send-email-fabrice.gasnier@st.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 18 May 2018, Fabrice Gasnier wrote: > This removes build warning when COMPILE_TEST=y and MFD_STM32_TIMERS=n > in drivers/pwm/pwm-stm32.c. In function 'stm32_pwm_capture' 'raw_prd' and > 'raw_dty' may be used uninitialized in this function > [-Wmaybe-uninitialized] > > Signed-off-by: Fabrice Gasnier > --- > drivers/pwm/pwm-stm32.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks. -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog