Message ID | 20240619105419.49303-2-philmd@linaro.org |
---|---|
State | Accepted |
Commit | fc0870c180872d0f40e63507cc6bf8565ffd8d98 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6000:144:b0:362:4979:7f74 with SMTP id r4csp594692wrx; Wed, 19 Jun 2024 03:55:04 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUWJyfH2ZSaVyerzymUysJy08+KoiYJ/XA/MJuUZpVKeLG8VJdw4GCCypSaHlyPpcEJ5J1YeLinP/vY0ArpKmxo X-Google-Smtp-Source: AGHT+IFgzdkxTcf4vxJzqJacMuQycr8G0tp1RTX01Mi5ImlFgc5adzFfvzgAAlbS4NchyPQxygeL X-Received: by 2002:a05:620a:4308:b0:795:5f3d:3e61 with SMTP id af79cd13be357-79bb3cd2737mr234411785a.0.1718794504327; Wed, 19 Jun 2024 03:55:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1718794504; cv=none; d=google.com; s=arc-20160816; b=XOLfhl2Xl0/OfpoHXMh1u6kXJM6+ax9fklA1GzYiUIB4sbYTMTslUcm0U69mEycxSo 1JHpdu0HcDvUCtO82/UxaePGhVFJ8f9hIVTDvsskzY/Q29pmYQfh4LCPrEy+qnocXkV/ WB93+/7M7+6VC4Ekd4oZlzYBfso6uJfBr46pacOHmGhx+qu3si6SFWTvObWu24r4ZVCX wPDo3ufLmoKx+e/1YkgU3AQBADub0JlPScje/kSePs0qHR3axCCThieeVr6AGTwBqpLl +2w2JIz+t7xbtZOUxNXTjMy+Ij80P40eZyQ+tGcCXk5zwVfsrDgrUw2ScYgx5WVzk0g/ 8yjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=kGd1+AnZ3JAdUcbDIrNFBYwbiGRKQANzIDdcCwBjRKs=; fh=NE/K04PHDYTyyYiCs4mNfGUsX7cFZWXoSE0PPiSOSRE=; b=QiX1fTyF018cd90F8FPNWadXBXM9Y+Liccjuwr5rT0Go/WJtRUQwP2dSbLsqAECy0v pQZ02g9p9qKzLCaIJgEsGhzb4khKBFRfGhgJDitT8uDpSEFBHZ/7m+AOtP02LilkHygD RTXMYbZV3JKa5hyzNUEq3f7JLKNfQk/j6fFG46dgRDbLuWsxHhZ/mHK2qYPcWlDdBkuy TA4Kk98o4n/GLdGrWjFhTk30GAAutgCQHT8rt0rR0WJkrdediqIaH1UAYfWWc9pYXM4q pjXt8u+zoDOgCAIunVOIIZgXNKqXFdGKAtzHErT0/VJJ/7CJQxYGExOEYumn/BSSPyVb 5+IQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vwmHYy37; 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 Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-798aac9bc6fsi1417291485a.121.2024.06.19.03.55.04 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 19 Jun 2024 03:55:04 -0700 (PDT) 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=vwmHYy37; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1sJsxU-0002HQ-E7; Wed, 19 Jun 2024 06:54:32 -0400 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 <philmd@linaro.org>) id 1sJsxT-0002HA-52 for qemu-devel@nongnu.org; Wed, 19 Jun 2024 06:54:31 -0400 Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1sJsxR-0003Wm-Nq for qemu-devel@nongnu.org; Wed, 19 Jun 2024 06:54:30 -0400 Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-a6f176c5c10so788765266b.2 for <qemu-devel@nongnu.org>; Wed, 19 Jun 2024 03:54:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718794468; x=1719399268; 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=kGd1+AnZ3JAdUcbDIrNFBYwbiGRKQANzIDdcCwBjRKs=; b=vwmHYy377k0Q1eENd4+lT5qlSMmhLhZYmYke7fMW3KG0qnuBArsG6l9eEJeejsi2uX AgwlbFvuRl+CbY456CPAtqvgQPvyZJ+My4a+/89hdJrjUWHJFRpLcOyYTVhgr4ey1JYV JbG6Gxa3m+VfYvKiuv68O4Ah3yh+Zc4fKh0V3aKkOy8SqsnrxO5TzwXQZujXBHjCVG1Q v0hPu5my3ITkjLIBYDS5nyMKzKBZI3cGZcVB98Q2QsyhHeDuO/MYjJwPfFwn1PiST3ZM dyXd/tpxm+C09k0tj63ZSi1Q0O0lKLl1fJiV9IOtjqWQB+eIxcM2emS/WQRkJpRlYy3h jwsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718794468; x=1719399268; 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=kGd1+AnZ3JAdUcbDIrNFBYwbiGRKQANzIDdcCwBjRKs=; b=oYypTmhQLKOLh5DXtPYJ8T+IopOA9n0mG8es6oysyGDU3Q7ldf8Wen8R62tr1K/Dp7 0cwK9xsKN4hrnooPw5rmXr97KSz8YcO/QmkvY79fVotujIbMXJz8DwjH1Wt2oEOWGNkf 09i2NKn66pu5bJyZPCfC5emqjj+TVRT0aChBTm+o3K2tHPzwD2ESs+JsEG4O1SKZ1tL5 oJ9S2LcWnTZImQdhhssSc9/8dFY9trf5AB9E+508HtcKtfNk//nwWGbbtxgxh8sTuWZv HkEamhw5RKYYpaNXMT2veh91yrlXrizCfBf1fw4X3Ft61I9afYbtsWNCT1GlboWyVeRg lMjw== X-Gm-Message-State: AOJu0Yz5un4hiaTLKngolqERcI3jyH2lk16Ktz2/0XshrWzwVy8JGtFV Gj3QQvQxh/qrnGCD0VgGK+ZAvB7GkSldSovidqIazMx0hiVPkF4ZSoAuocnAcyYL7iksLkYBury k X-Received: by 2002:a17:906:2316:b0:a6f:67a0:c44a with SMTP id a640c23a62f3a-a6fab615ad1mr140020466b.24.1718794467706; Wed, 19 Jun 2024 03:54:27 -0700 (PDT) Received: from m1x-phil.lan ([176.176.133.105]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f56f9802csm654034166b.189.2024.06.19.03.54.26 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 19 Jun 2024 03:54:27 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: qemu-devel@nongnu.org Cc: Roman Kiryanov <rkir@google.com>, Richard Henderson <richard.henderson@linaro.org>, =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= <philmd@linaro.org> Subject: [PULL v3 74/74] exec: Make the MemOp enum cast explicit Date: Wed, 19 Jun 2024 12:54:19 +0200 Message-ID: <20240619105419.49303-2-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240619105419.49303-1-philmd@linaro.org> References: <20240619105419.49303-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::62f; envelope-from=philmd@linaro.org; helo=mail-ej1-x62f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
None
|
expand
|
diff --git a/include/exec/memop.h b/include/exec/memop.h index 06417ff361..f881fe7af4 100644 --- a/include/exec/memop.h +++ b/include/exec/memop.h @@ -161,7 +161,7 @@ static inline MemOp size_memop(unsigned size) /* Power of 2 up to 8. */ assert((size & (size - 1)) == 0 && size >= 1 && size <= 8); #endif - return ctz32(size); + return (MemOp)ctz32(size); } /* Big endianness from MemOp. */