Message ID | 20210111130034.626067438@linuxfoundation.org |
---|---|
State | New |
Headers | show
Return-Path: <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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, 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 DA1D3C43381 for <stable@archiver.kernel.org>; Mon, 11 Jan 2021 13:05:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B660F22AAD for <stable@archiver.kernel.org>; Mon, 11 Jan 2021 13:05:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730245AbhAKNFE (ORCPT <rfc822;stable@archiver.kernel.org>); Mon, 11 Jan 2021 08:05:04 -0500 Received: from mail.kernel.org ([198.145.29.99]:52134 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730233AbhAKNFD (ORCPT <rfc822;stable@vger.kernel.org>); Mon, 11 Jan 2021 08:05:03 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8DA6B227C3; Mon, 11 Jan 2021 13:04:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1610370263; bh=MNzc3lxfUsVjdBpXvAUld9FBtVQL0kgZFFUki9bkwW0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=E7EYRI3xImjMOthgjaARfQGXlMWujzdUMBDVBP3Kc2ka7RLRo5dJodscTtvBBrD19 bh+NWf0rS11qq9Alf8NoLrQyPgLjIYGPV6FGrLqS7XVw+gGAdo0pgekIckEXl6xL// WyCxOqEei5h0pZAk3i0zlJOK9csrNZnl994k7ZS8= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, Du Changbin <changbin.du@gmail.com>, Kieran Bingham <kbingham@kernel.org>, Jan Kiszka <jan.kiszka@siemens.com>, Jason Wessel <jason.wessel@windriver.com>, Daniel Thompson <daniel.thompson@linaro.org>, Andrew Morton <akpm@linux-foundation.org>, Linus Torvalds <torvalds@linux-foundation.org>, Florian Fainelli <f.fainelli@gmail.com>, Sasha Levin <sashal@kernel.org> Subject: [PATCH 4.9 20/45] scripts/gdb: fix lx-version string output Date: Mon, 11 Jan 2021 14:00:58 +0100 Message-Id: <20210111130034.626067438@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210111130033.676306636@linuxfoundation.org> References: <20210111130033.676306636@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/scripts/gdb/linux/proc.py b/scripts/gdb/linux/proc.py index 38b1f09d1cd95..822e3767bc054 100644 --- a/scripts/gdb/linux/proc.py +++ b/scripts/gdb/linux/proc.py @@ -40,7 +40,7 @@ class LxVersion(gdb.Command): def invoke(self, arg, from_tty): # linux_banner should contain a newline - gdb.write(gdb.parse_and_eval("linux_banner").string()) + gdb.write(gdb.parse_and_eval("(char *)linux_banner").string()) LxVersion()