From nobody Mon Nov 25 04:37:11 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=kernel.org ARC-Seal: i=1; a=rsa-sha256; t=1715384252; cv=none; d=zohomail.com; s=zohoarc; b=fHP7OFfvuTiHy2BdmhIAxIZva/wT6aV7qHkOg6IR5p48eQCn2im7ZCjLjB41dIR1vNUc4mKd1PP6R02qBGculOkxYxrQYtLkITjKSNBCVXpy5Q2/pXOpZZoyR065lL7tFdTujauhdv7f8k8rtIEz35QEt5eLQu3lrFeJHv5Sq/8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1715384252; h=Content-Type:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=xmWIpwRHvDgnyMUSkGGFKdE3eBSjsN3bXZThW53bK+U=; b=gpJhMBLbvTht7tEluPn8VUi3QmWwr+vs4EmX6ICUqTFH7jA/LbNJl+33W9nzaIdmm0HdJ5+5QD0fduD7wS6MLA9m6LE7t3v9bJu5Wq3bpKJaBDkYAxrFww5qYCAuDWQkjT4P4w3Doa+ZiHPNPGaSuIkSzDTuPUtzH+4XAASyEDU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1715384252417803.5302472019828; Fri, 10 May 2024 16:37:32 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.720128.1123157 (Exim 4.92) (envelope-from ) id 1s5Znj-0003sV-Au; Fri, 10 May 2024 23:37:19 +0000 Received: by outflank-mailman (output) from mailman id 720128.1123157; Fri, 10 May 2024 23:37:19 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1s5Znj-0003sO-6b; Fri, 10 May 2024 23:37:19 +0000 Received: by outflank-mailman (input) for mailman id 720128; Fri, 10 May 2024 23:37:18 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1s5Zni-0003s2-7O for xen-devel@lists.xenproject.org; Fri, 10 May 2024 23:37:18 +0000 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 3b5c99a0-0f26-11ef-909d-e314d9c70b13; Sat, 11 May 2024 01:37:17 +0200 (CEST) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 66609CE1F22; Fri, 10 May 2024 23:37:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7B93DC113CC; Fri, 10 May 2024 23:37:12 +0000 (UTC) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 3b5c99a0-0f26-11ef-909d-e314d9c70b13 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715384233; bh=jywT3wBiVd/k0saOAsMgRhZQlshpedfhcqSBOO7XSo8=; h=Date:From:To:cc:Subject:From; b=K/7EKbMzmOGrUOGebLZVEW498lySajGEkl+yNbCmMK/vuyxSynTkDIJjS8Qln7rFZ ppXY/I64SRXaq8+qqVo32M+B0bqA+glspr0mkTlG9IjH1laOQKDGdYJgEK7vf8ARME QTUY4DatJ4I+xWPhyqLgFHmqfMrK41BQphKWahZwfskngOzIN9kE8IdOYQRaBnG16F kLUrfKgsTH3uGoiPWAkyhqclpVgKRM3VoxZIBIEt0bHSrur7P7n9vTyZflscgCd3Yn InOrxZ/ax+n9SoYkg6mHaZBKgiOSuV1Nfughyu9cZAdm8PrIwZ6Y1C3/WMsaGtiohV v6vEqvnbKmYBQ== Date: Fri, 10 May 2024 16:37:11 -0700 (PDT) From: Stefano Stabellini X-X-Sender: sstabellini@ubuntu-linux-20-04-desktop To: xen-devel@lists.xenproject.org cc: sstabellini@kernel.org, andrew.cooper3@citrix.com, george.dunlap@citrix.com, jbeulich@suse.com, julien@xen.org, roger.pau@citrix.com, bertrand.marquis@arm.com, michal.orzel@amd.com Subject: [PATCH] fix Rule 10.2 violation Message-ID: User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 X-ZohoMail-DKIM: pass (identity @kernel.org) X-ZM-MESSAGEID: 1715384252566100001 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Change opt_conswitch to char to fix a violation of Rule 10.2. Signed-off-by: Stefano Stabellini diff --git a/xen/drivers/char/console.c b/xen/drivers/char/console.c index 2c363d9c1d..3a3a97bcbe 100644 Acked-by: Julien Grall Reviewed-by: Jan Beulich --- a/xen/drivers/char/console.c +++ b/xen/drivers/char/console.c @@ -49,7 +49,7 @@ string_param("console", opt_console); /* Char 1: CTRL+ is used to switch console input between Xen and DO= M0 */ /* Char 2: If this character is 'x', then do not auto-switch to DOM0 when = it */ /* boots. Any other value, or omitting the char, enables auto-swit= ch */ -static unsigned char __read_mostly opt_conswitch[3] =3D "a"; +static char __read_mostly opt_conswitch[3] =3D "a"; string_runtime_param("conswitch", opt_conswitch); =20 /* sync_console: force synchronous console output (useful for debugging). = */