Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1931756ybh; Thu, 23 Jul 2020 23:30:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxcooG89BR/HReMLbjO62Ln8KWk6yWbhuB5S9/MQlwW5INT8qsGT5JDohBv8Ih85f0Kwnop X-Received: by 2002:a17:906:3a8c:: with SMTP id y12mr7507065ejd.251.1595572228796; Thu, 23 Jul 2020 23:30:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595572228; cv=none; d=google.com; s=arc-20160816; b=dCbsC2vFo4aYp9AlP6pJFjFcWQ4Y0UewZB4Hs/tYtTzq72WolRihRtAiMocjwDyG5y avceOuJPK903dTHx+8AGe2XXuQHX+18+cyDuFHMq4YKTa4bwLR+90JiZpwnirv150N2p 2uTyO91YlGPxgC8nXKGq62MkjLfPIQy5wjXwpKj/gh2qlbuMrvVLT3tpLdX8CTVK6vwk pyDiCa3ZrrJ8BGnfj1Ink+gXVh7JAGN+786Etr/oR9Foggsi1mjR8z97RupqystwDQ+w pHhaYWRQGGVzG71T2f26II/2ttUjEYAI075xiTIWc7d/wDzTqrOOOgWLmik5JJlhCPRO J+HQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=wH5xTYQfsu7kfC2M03+IhoTqiw9ce3QwBBg45fUHQug=; b=ehAO4WP2rklcYNBic+jVKK+o3MKulDeTNM/licO35kjQ1GIcOLweum5KfgayHddCrd /6aKqDeuERZOucy0xAh840KKxGQEiNa42WQn9JNugfkGOSUOnOs4lqi8Pdm5pX/Aj2Fi Zp690G/qRAKC0OQqdvpLVb3aAHm3AouN+pIcHRJOWcT+X6rpakA4jUvjQan45maDpOTl wobXibCsVDERY9uh6hJxOOVY/UK6b8OvwNckyOtReyeVtynY4Ty64vKnv4JGbfF/DbR2 omx5XSqpE2B2le7qMostGM3O/c2ooJCUMNlWN7a0zAFDKKjZNBTDCGJfSbYj2gWMHv5x 14tA== ARC-Authentication-Results: i=1; mx.google.com; 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 u18si18469ejz.388.2020.07.23.23.30.06; Thu, 23 Jul 2020 23:30:28 -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; 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 S1726780AbgGXG1h (ORCPT + 99 others); Fri, 24 Jul 2020 02:27:37 -0400 Received: from mx2.suse.de ([195.135.220.15]:41474 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726178AbgGXG1h (ORCPT ); Fri, 24 Jul 2020 02:27:37 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 54606AC20; Fri, 24 Jul 2020 06:27:44 +0000 (UTC) From: Jiri Slaby To: gregkh@linuxfoundation.org Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Jiri Slaby , Bartlomiej Zolnierkiewicz , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-mips@vger.kernel.org Subject: [PATCH] newport_con: vc_color is now in state Date: Fri, 24 Jul 2020 08:27:35 +0200 Message-Id: <20200724062735.18229-1-jslaby@suse.cz> X-Mailer: git-send-email 2.27.0 In-Reply-To: <202007241318.wXYkumEO%lkp@intel.com> References: <202007241318.wXYkumEO%lkp@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since commit 28bc24fc46f9 (vc: separate state), vc->vc_color is known as vc->state.color. Somehow both me and 0-day bot missed this driver during the conversion. So fix the driver now. Signed-off-by: Jiri Slaby Cc: Bartlomiej Zolnierkiewicz Cc: dri-devel@lists.freedesktop.org Cc: linux-fbdev@vger.kernel.org Cc: linux-mips@vger.kernel.org --- drivers/video/console/newport_con.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/video/console/newport_con.c b/drivers/video/console/newport_con.c index df3c52d72159..72f146d047d9 100644 --- a/drivers/video/console/newport_con.c +++ b/drivers/video/console/newport_con.c @@ -362,12 +362,12 @@ static void newport_clear(struct vc_data *vc, int sy, int sx, int height, if (ystart < yend) { newport_clear_screen(sx << 3, ystart, xend, yend, - (vc->vc_color & 0xf0) >> 4); + (vc->state.color & 0xf0) >> 4); } else { newport_clear_screen(sx << 3, ystart, xend, 1023, - (vc->vc_color & 0xf0) >> 4); + (vc->state.color & 0xf0) >> 4); newport_clear_screen(sx << 3, 0, xend, yend, - (vc->vc_color & 0xf0) >> 4); + (vc->state.color & 0xf0) >> 4); } } @@ -591,11 +591,11 @@ static bool newport_scroll(struct vc_data *vc, unsigned int t, unsigned int b, topscan = (topscan + (lines << 4)) & 0x3ff; newport_clear_lines(vc->vc_rows - lines, vc->vc_rows - 1, - (vc->vc_color & 0xf0) >> 4); + (vc->state.color & 0xf0) >> 4); } else { topscan = (topscan + (-lines << 4)) & 0x3ff; newport_clear_lines(0, lines - 1, - (vc->vc_color & 0xf0) >> 4); + (vc->state.color & 0xf0) >> 4); } npregs->cset.topscan = (topscan - 1) & 0x3ff; return false; -- 2.27.0