[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 6/9] ns16550: Guard accesses to `vuart` field by CONFIG_ARM


  • To: Shawn Anastasio <sanastasio@xxxxxxxxxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Tue, 8 Aug 2023 12:05:18 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=C29WstG3FNN7JIwmB+XA6DOxLNVEuHctkhVXHKl2C9Y=; b=Qt5Gibhw9QmYK8a4hc77ZyN0kDf0UIG8UyoyDMG8MbLMBWRdfqgLNSRIuviYnDpDsU70N2JfIeilLlK20poALT03VfIG2Sefi2Dql2khCO7EtxrDWgtiB8yXzGABpbeRXCMdfqrqdoZMbhBEG8Frtcp4sUzy/ZDQoAYJcpPragL5WifPePNEqmIRat3l4wmopg+E8wKmhuf+xapLRGX6cSjTKZ7F1xJyANFro/nPoDJHhjCo11J/EIO0Fzze6Nlv2ZYaPQFTl5h4dAR/BkGaNnaYsPXIlkFGVQ0mKfhqKG2ZCxj9dHHnGYoxNUhWclusdeE4B8YJqwfHrad+udAa5A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K4Myi64rXXfX1+OX/g64WatPxg+6k6i91ypSlF2oXOmjqT+TbXkZ4JZZ6SKO0W8LCsmyiO95Z0vReYoddAnRZD+CeBPs5pa+sNqUlBuGt91+71hRbl/My+vnR4xt1K1ru6SXTa2JOqrL76AYJwbHdMAIQkiloDSxKOcSBbCCeDbqDzYzj5mR2eQegUIDG13ow7IjZ906irKfS83X1HLVrB9/YTEcypBHKoiGc+5pep6wU/AIQyJqR88Oi5KPd31kQA0fOvjao3YGAn/tongLsNpnzvO6Wd8LTKcTfSN3uqZGyHHSmsCO+6ZQOA1arQtVbj0mh0IWfR1bDG3bIz/LOg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Timothy Pearson <tpearson@xxxxxxxxxxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 08 Aug 2023 10:05:37 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 03.08.2023 01:03, Shawn Anastasio wrote:
> When CONFIG_ARM is defined, a `vuart` field is added to struct ns16550,
> but accesses to this field in ns16550_uart_dt_init weren't correctly
> guarded. Fix build on !ARM platforms that define CONFIG_HAS_DEVICE_TREE
> by correctly guarding access to the vuart field in this function.
> 
> Signed-off-by: Shawn Anastasio <sanastasio@xxxxxxxxxxxxxxxxxxxxx>

Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>





 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.