Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp4417183pxa; Mon, 10 Aug 2020 08:36:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwANRdR0jXXSY3UniM/GfwXkfjBb36fauYbGDfPA4I+1+t4GQUOr/m4mGmiOOrIouswj9Aj X-Received: by 2002:a17:906:46cc:: with SMTP id k12mr22089841ejs.366.1597073773293; Mon, 10 Aug 2020 08:36:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597073773; cv=none; d=google.com; s=arc-20160816; b=cPbvpfB5DPk66kFgLD2hPuwwghjV6ZwDJr26zzcm23juukz7mFejzFydbdtsqTJ2Ma HoM7wOX558Nl5jH9taokaA8k8UpEU3fmNRd4krKQbHnHtm9Cbo2aXwRjrGTwSpsQGbKi Mxjaw3RaIms8uiE5w5w2mhI099KlJ+FXk+xBF/diB6B9yJJRY8gDe46HigLvreuWzg2W YcsP0cGQ0ab/l4945wPLdKh5e7nYeEZp2VrcumDWltczkRYqG7bH4xFb/Qs2RBjAjftD TrhLn5+wjA1h8S4/BPpQt63WjBVixtPkdtR5PaxcbNiGQdIWmzunAqya/jAvTQsbuikR U9RA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=GwSYBM4Pzrr22sEy1LmXPPvoq68ynoyZqjuqKnQCMWw=; b=S0RhllR4zRo5zggcslcN4P28JmL/FYFwqVUFjumlKgTQK8Qs5Js+7Ck3BgEKrium5R BxbFdslCiCCugM1XPW025E3fZwSjCM56m7ulZKfKkejBHqXJWSkGOvH8CrBCl0ZSdpnb aC+0aykAK2MT2WaLRBPcm9UpEKGnzZYl5E7XKXszlHzzY3crgbpW/u6WCkUp5wD0geqq pIjCf7mCHmmRBAop95y0LDDnSzPEFiAPDeuOklfyrvwn1kSxQBghLEe88VonBUMn41zB jOwIYrWH4hBpBNQFg5W1CCRm+x/bv1p+3NTQ/dMcCzH7M7wKD462FIygxjBZ68No+ZbT 1z9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Kt6wGF/T"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v19si1172853edx.39.2020.08.10.08.35.50; Mon, 10 Aug 2020 08:36:13 -0700 (PDT) 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=@kernel.org header.s=default header.b="Kt6wGF/T"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729192AbgHJPd1 (ORCPT + 99 others); Mon, 10 Aug 2020 11:33:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:36394 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729009AbgHJP3u (ORCPT ); Mon, 10 Aug 2020 11:29:50 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EC98722D02; Mon, 10 Aug 2020 15:29:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597073390; bh=VKaJERNSz+3XNKtG98/BzX7fGxRhNyOOax5a2lSDGBU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Kt6wGF/Tf6igYx6dZxXfH8p2YniSk1RhCmvT04fvZ2I6VIpmT90Btrbyy85HOpCvd lkanATCLfglcoWzaeN7ivpIxguKabzSCiHwa0fRdXAlVgP5M6RkJk5k9Givn5Szznn ZPoT32OFwOWmyoox6nuexDF8ElBTC5NCuHOo6Fus= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Ben Skeggs , Sasha Levin Subject: [PATCH 4.19 21/48] drm/nouveau/fbcon: zero-initialise the mode_cmd2 structure Date: Mon, 10 Aug 2020 17:21:43 +0200 Message-Id: <20200810151805.259303158@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200810151804.199494191@linuxfoundation.org> References: <20200810151804.199494191@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ben Skeggs [ Upstream commit 15fbc3b938534cc8eaac584a7b0c1183fc968b86 ] This is tripping up the format modifier patches. Signed-off-by: Ben Skeggs Signed-off-by: Sasha Levin --- drivers/gpu/drm/nouveau/nouveau_fbcon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_fbcon.c b/drivers/gpu/drm/nouveau/nouveau_fbcon.c index fef38ea146a2a..406cb99af7f21 100644 --- a/drivers/gpu/drm/nouveau/nouveau_fbcon.c +++ b/drivers/gpu/drm/nouveau/nouveau_fbcon.c @@ -315,7 +315,7 @@ nouveau_fbcon_create(struct drm_fb_helper *helper, struct nouveau_framebuffer *fb; struct nouveau_channel *chan; struct nouveau_bo *nvbo; - struct drm_mode_fb_cmd2 mode_cmd; + struct drm_mode_fb_cmd2 mode_cmd = {}; int ret; mode_cmd.width = sizes->surface_width; -- 2.25.1