Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4872646imu; Tue, 29 Jan 2019 08:55:31 -0800 (PST) X-Google-Smtp-Source: ALg8bN4hd06rskyvZuSgxSwePbVWrmZNKeP+6U+G8Agg6uHj4kjCvAEGqsocZgWtcSbU/RPp+vrL X-Received: by 2002:a17:902:968d:: with SMTP id n13mr27235674plp.109.1548780931170; Tue, 29 Jan 2019 08:55:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548780931; cv=none; d=google.com; s=arc-20160816; b=o8ot0C0zKiajZHfDi9nmEbaK4k8Rj+a/yfhKES6psapBk0Tu4mY4CesYMPHcUivsBS W5vOFF9HOg2YdJIgg0+fYIuJMpAJ3BJnhg6ofvAGWJVgjh1YaIg6osi+q+EV/IMGZ+sg qyxOIeMZ5R26/zizPf+W/JG6poEs+3MQs1AqnsWVjdkwGcQzZ0U6JaSUfxaJuU00xMIP /b/fLQQnxNV6qDbCn+p8O8TNwD/Vr+BBzv8KF4HV3Twd2D0hMAtKHc+niOTIjlsR5PNe pPPzNcems8fUGMcriNF4GXI2EltNlNDawjB175Ec/iQSpCOTmjoQtGjXdVw+UlMFrXiI ha+A== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=owoylBWdyzqkywwmg5euEMZlResHEJuCBLOlBuAl+JM=; b=MqT3Eegxl/InsOxBmFkR/FMCZ0LocCJTFtff56tR6p5LzyxOT2dTdufvgAVVbQ5GxX uPylNIKrbkvmRL7Q1RAGqYgzvjbJcpOydgDEsBBRtEXDNky42PueS1q7q0iySh3K08H6 ugyTsxN3cHSaauU/mC+Z8Z7/DUtVIEFsOvO9jF3o1Yau9GuJ77elZs/IkJugJ8YkzFSs vIwWpj8rUdXk4FeoU0cGrbFS1n53txNrdCbqty5d24dgtEzvzuF6b+neVVh+9tHIL9Jq IzSTlaHrxZ5LSZojg8fus9H9mGVOg0aSvWDQ3seUONGbC1YB6A1ttYSjZpsvZ4/bHJ9Z KSNw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k33si35894586pgb.424.2019.01.29.08.55.15; Tue, 29 Jan 2019 08:55:31 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728886AbfA2Qy6 (ORCPT + 99 others); Tue, 29 Jan 2019 11:54:58 -0500 Received: from muru.com ([72.249.23.125]:36608 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728836AbfA2Qy4 (ORCPT ); Tue, 29 Jan 2019 11:54:56 -0500 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 18B71804F; Tue, 29 Jan 2019 16:55:04 +0000 (UTC) Date: Tue, 29 Jan 2019 08:54:52 -0800 From: Tony Lindgren To: Yizhuo Cc: csong@cs.ucr.edu, zhiyunq@cs.ucr.edu, Russell King , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: OMAP2+: Variable "reg" in function omap4_dsi_mux_pads() could be uninitialized Message-ID: <20190129165452.GB5720@atomide.com> References: <20190126063221.8257-1-yzhai003@ucr.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190126063221.8257-1-yzhai003@ucr.edu> User-Agent: Mutt/1.11.2 (2019-01-07) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Yizhuo [190125 22:32]: > In function omap4_dsi_mux_pads(), local variable "reg" could > be uninitialized if function regmap_read() returns -EINVAL. > However, it will be used directly in the later context, which > is potentially unsafe. Thanks applying into omap-for-v5.0/fixes-v2. Regards, Tony