From patchwork Fri Dec 13 19:29:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 850281 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:2c4:b0:385:e875:8a9e with SMTP id o4csp1695245wry; Fri, 13 Dec 2024 11:35:06 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXcCI0veJgiZ4u/0Gv2Kk/Hf9vztxEZK1kAq/u1lRnS5HfDv9rJyuV9PoHNxS3mhHS+Px+/Cg==@linaro.org X-Google-Smtp-Source: AGHT+IGc16pmOgtaMhgRvis0MfKwQcOvS0Xn/sBtcByCvR5DASlrSDBTen53Z7/n/pRG4aSrIZqj X-Received: by 2002:a05:6214:124d:b0:6d8:9d28:ff07 with SMTP id 6a1803df08f44-6dc96853437mr67231546d6.45.1734118505705; Fri, 13 Dec 2024 11:35:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1734118505; cv=none; d=google.com; s=arc-20240605; b=PwPSKYrq2QqR+AVvSo/MLB2dAhDjjIg1CKzNL6KJ0YUPBgCceo1eo8EHL1W1NI4Mya RanL5ofhfghMQRRQdyevXytGQAX6HFt10ixOUCNFNyCbErmH157wf/4sBMcUlZuANOKk rcfMHPQZcs5lW3JYj/CKT+9+vIHAMU75mXKHELUSq/TCLw+MbIUE4IGPhjHE7nxiBto7 J3tufeGFr3zA+bT3S0MD5t8oZchBdAbAUyo35BcNcwMuDRNqes1+87cQEyxWAKBUXUV3 Si5r8wo4+m3vjXOCRRXvA8oWDGb7cmLBqmllNxo6PErX2g5ZgffPFBN+bV9fEauVFEsb mWMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=LUREKfOZFFX0Cik+qgjY7NL4liaNpXwK6Nn2DyaSOoI=; fh=YD+wMQT9mhnMBHOeEQPVDY0t6TXDXvvpRsESAIRZHUM=; b=G9h8FPQcUUC9YIqv2fce0jSM91TEYJum/j8i3b7nQ/NMQ+izhWcORK+f00VbzVDEOD M5VyvvqfOUoDlCjFEIRnpEhO5Ye4cnGtaZRTn9TmeAj8F0WVdSX9CVuHvwRoXcNw4LN6 39lpgftzsalfiAk5ODab1M3w+35RggwAIOKrCXPYSLAIFsyfPW/9gydJJX994dzZx5MR lgI+SqDf9hhG42vzBIwVbKOQCaJp7pLJm6LZoaGjGfwxP/oISWUirI+y/mumfSu4wFdo wy2s1L4ESFqj72RuMQUDA0NwxJqvvpPOBKGn0ozdk8n4f/TmzRWd0BR0/lyyxBlRkrHd yZsQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CH2PKths; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6dccd3a0524si735636d6.496.2024.12.13.11.35.05 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Dec 2024 11:35:05 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CH2PKths; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMBNE-0006q4-Iw; Fri, 13 Dec 2024 14:30:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tMBMe-0006bk-Kk for qemu-devel@nongnu.org; Fri, 13 Dec 2024 14:30:23 -0500 Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tMBMa-0004CG-Lc for qemu-devel@nongnu.org; Fri, 13 Dec 2024 14:30:15 -0500 Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-30225b2586cso32382321fa.0 for ; Fri, 13 Dec 2024 11:30:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734118210; x=1734723010; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=LUREKfOZFFX0Cik+qgjY7NL4liaNpXwK6Nn2DyaSOoI=; b=CH2PKthsQ1vfgJKV+SQgXGzAnIfh2hwaei89vQymw7KTrzbjEyIiUwMAXlRyqfKghd 3tY5KdO3LyJw98lt1CPsXjs7W9YXvuBT4+vxcqQmqdU6NiOB21ZyBimz+T6mBrTlsWbC NBXmFQ2S7OhtctZ+andRRfXjOkWpJGDHvr0lfEFd0SCxzT70/1GghrSw6kKdEemasRdU ieBmoDwsWfDhU9581GarYm8bMIkjbmIQFS+a62tYkv6dzN+XRhC5w6EeCfgXhXOTL4ol eVSTlh/G9bxwMyj9VyfHMWOOo1Aw/3voKSYiDwNZy9kF8/dzz0eDxRkM8TYUiqO0FBpx AmQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734118210; x=1734723010; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LUREKfOZFFX0Cik+qgjY7NL4liaNpXwK6Nn2DyaSOoI=; b=C/WxqUpiSnH62O6xu0FYMmuM6OSjyF00EePGoSHAcNULNtNlgEata7RgIxQSvOEUpQ HODY9aHnZo2DmgvUQPr84eCJd/Ig5AtiSvFrUgea/iGZXyVDR+hVKwlRHLwxoevYDA3x Iv2FGBqnn77SfP0bsijEvUK22Tibx3a2XuhK0cwi6faIlmNE0zm+Vt4YttOgSDnyMSib cZk4ik/QC99gC+g42Ln2sIlOlTA1ORZUl/91ASKVdQxwvH16/IUICqEH+Tgxvs03Au9W LOcSkvacCDgXnmjhcjqd0bdMeL2rWflukgQ5XJJayFaW2Dj1TxiE3NGSnGzTzuSQ6EOt oazw== X-Gm-Message-State: AOJu0YyFJos8dlGiMFPF+wfkSLkfbp5gc6km2JwhihU4Fz0sQ0+4blX7 TPrsWLFhUWTpvsGu3rNZkE+Q4XUK3LrvwMj7awcZr4tlkhbQiUKPTFVI3bJrI4zZYapD5FLSqOX EW/GCWvsw X-Gm-Gg: ASbGnctHujdU0BFZSbjH0OzPjogbDGpxo1PON5Nz9VxBwKNgu1vI3isqNtZqA+nOMsm WMOw8kCTzcVgpncMXGzJuuaFVTxWJvnlx1+s2QsCgAqbBeQwv7WNuZWkULDGCg0GklnnZ1Sqpwi Yv5sPxySXlIdBmiBb116SSqjJSntPVHBzdrlpUa2cQWGBb3p3FBzadS+LsrTFSLGvjazBuNz46S n3FVwfk04GwonRiE2LFjnZbt0E/jm8NkpBtnBZKMOSVNMmaLqaVzYdtG8CVdg== X-Received: by 2002:a05:6512:3e2a:b0:540:2fe6:6b75 with SMTP id 2adb3069b0e04-5408ad762e2mr1167072e87.19.1734118210572; Fri, 13 Dec 2024 11:30:10 -0800 (PST) Received: from stoup.. ([91.209.212.67]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-54120c01051sm6972e87.156.2024.12.13.11.30.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Dec 2024 11:30:10 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: Jeuk Kim Subject: [PATCH 63/71] hw/ufs: Constify all Property Date: Fri, 13 Dec 2024 13:29:57 -0600 Message-ID: <20241213193004.2515684-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241213190750.2513964-1-richard.henderson@linaro.org> References: <20241213190750.2513964-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::230; envelope-from=richard.henderson@linaro.org; helo=mail-lj1-x230.google.com X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Signed-off-by: Richard Henderson --- hw/ufs/lu.c | 2 +- hw/ufs/ufs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/ufs/lu.c b/hw/ufs/lu.c index 81bfff9b4e..74ff52ad09 100644 --- a/hw/ufs/lu.c +++ b/hw/ufs/lu.c @@ -274,7 +274,7 @@ static UfsReqResult ufs_process_scsi_cmd(UfsLu *lu, UfsRequest *req) return UFS_REQUEST_NO_COMPLETE; } -static Property ufs_lu_props[] = { +static const Property ufs_lu_props[] = { DEFINE_PROP_DRIVE("drive", UfsLu, conf.blk), DEFINE_PROP_UINT8("lun", UfsLu, lun, 0), DEFINE_PROP_END_OF_LIST(), diff --git a/hw/ufs/ufs.c b/hw/ufs/ufs.c index 79f786ed4e..fe77158439 100644 --- a/hw/ufs/ufs.c +++ b/hw/ufs/ufs.c @@ -1752,7 +1752,7 @@ static void ufs_exit(PCIDevice *pci_dev) } } -static Property ufs_props[] = { +static const Property ufs_props[] = { DEFINE_PROP_STRING("serial", UfsHc, params.serial), DEFINE_PROP_UINT8("nutrs", UfsHc, params.nutrs, 32), DEFINE_PROP_UINT8("nutmrs", UfsHc, params.nutmrs, 8),