Message ID | 20200921162034.993799030@linuxfoundation.org |
---|---|
State | Superseded |
Headers | show
Return-Path: <SRS0=lyed=C6=vger.kernel.org=stable-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B0CBCC43469 for <stable@archiver.kernel.org>; Mon, 21 Sep 2020 17:05:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7C0E52073A for <stable@archiver.kernel.org>; Mon, 21 Sep 2020 17:05:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600707955; bh=/5yopNgNTzTJ/Y/a1Sg7nEBbV/9aQf7h0GGC4tzQgkE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=Oi0Ht6uJscHDCuMD3MHFCafZjhgrsTtpxJZT06BSK8XRq9orgSR0pOtQZuqhpEhgJ X5CgeAAwAXGZF3wCvzXTO2Gtd/cKJkXua/uLpGQ1sL7iPe2V/cdBCWHqLJIOcZ27Sm 0+GrZkVoVBvdRnKY2zdR97p6Fv8UIyvqYJgrfFLc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727298AbgIURFy (ORCPT <rfc822;stable@archiver.kernel.org>); Mon, 21 Sep 2020 13:05:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:59390 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728607AbgIUQdT (ORCPT <rfc822;stable@vger.kernel.org>); Mon, 21 Sep 2020 12:33:19 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (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 1AFFE23998; Mon, 21 Sep 2020 16:33:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600705998; bh=/5yopNgNTzTJ/Y/a1Sg7nEBbV/9aQf7h0GGC4tzQgkE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nQVGBDA5gmDtrRpFFEBZMkamhGCcK1YWg2SpFJX+tHCsjYpxgIkgXYGPDOAsj7EdE NY6kQCF4jbP038M8yvEA3t5tGgpktflYsbyyJ3b0+MCRxxW0ANbDd8ZaiSvpEjtSl6 RmvOZxJ3Hrt7Ie4OQohA4d0NvRcRyx23lY0+J7hw= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, syzbot <syzbot+b38b1ef6edf0c74a8d97@syzkaller.appspotmail.com>, Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>, George Kennedy <george.kennedy@oracle.com>, Sasha Levin <sashal@kernel.org> Subject: [PATCH 4.4 37/46] fbcon: Fix user font detection test at fbcon_resize(). Date: Mon, 21 Sep 2020 18:27:53 +0200 Message-Id: <20200921162034.993799030@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200921162033.346434578@linuxfoundation.org> References: <20200921162033.346434578@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c index c62db94cf945e..e57fa26bcff19 100644 --- a/drivers/video/console/fbcon.c +++ b/drivers/video/console/fbcon.c @@ -1943,7 +1943,7 @@ static int fbcon_resize(struct vc_data *vc, unsigned int width, struct fb_var_screeninfo var = info->var; int x_diff, y_diff, virt_w, virt_h, virt_fw, virt_fh; - if (ops->p && ops->p->userfont && FNTSIZE(vc->vc_font.data)) { + if (p->userfont && FNTSIZE(vc->vc_font.data)) { int size; int pitch = PITCH(vc->vc_font.width);