From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BCC70CF2576 for ; Sun, 13 Oct 2024 17:32:37 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t02S0-0007uH-N4; Sun, 13 Oct 2024 13:32:16 -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 ) id 1t02Ry-0007tC-Bt for qemu-devel@nongnu.org; Sun, 13 Oct 2024 13:32:14 -0400 Received: from mail-pg1-x535.google.com ([2607:f8b0:4864:20::535]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t02Rw-0003Ul-Pq for qemu-devel@nongnu.org; Sun, 13 Oct 2024 13:32:14 -0400 Received: by mail-pg1-x535.google.com with SMTP id 41be03b00d2f7-7e9fd82f1a5so2251277a12.1 for ; Sun, 13 Oct 2024 10:32:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1728840731; x=1729445531; darn=nongnu.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=ZP0WMWfQsWND2hXfrlLLDuWYr+jxyVrzNmuLdqQXwOo=; b=dDi3UkNNs7Ysu/MhGGB7N4jF4jCK+HVgnvjW9vjWxG0sNIcfi63tnGLWFihOBOV3BL +lhWXtMg0H58LFZa0X8rKtqMv2lva9/JqQBxfQLsHk4G/8X/N0uPQ07NWTSeFLsbiHHQ yxH9wEJ1QW3Xnn7gJ8D/ZeRL14ZI6Occ9DEMYUHSahcZg62U05xPXqAomYyKN1aGcpYA XLrbtcpJfH7hgZA/h1+kriye3zmGphgbcQuWEM5mE+e7M48KAxidmh9xJBrId+94ovi8 aUCK3odWCENVgktmyEU/rBBUnuoqc4B0IxgNOB2wkvhgD0xaO3gLWWP5Wn+gLUjlO3Nh E9kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728840731; x=1729445531; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ZP0WMWfQsWND2hXfrlLLDuWYr+jxyVrzNmuLdqQXwOo=; b=tKxVQgD7hIR7lRArmSXeYoHJhAPvgGh38/wgMYaADzgWKJ54FTPwwbBQod6A2KChv+ UJ/BNafLWlb8Haa2HmH7CZfAUY3aaz92Hi/zPRYawm3IL91rTWwgKgiOhmAulY6e/NIO 5/fHOaQzJPXm2UULmIQO51J5072xlwf7Os14SocKmiK4Lk6adOPANGc0kywCXcyRJDXj gQnWj01JnVcfZkz/p4OS1epX4hpfkZIry6bS0Om8djrj20y+TQ3MT/wQuPPlh79DraE/ VLCDFBBcC5LPYhogQUCZw6EAp4NSpKIvy4lqjk/NoHtwlf0fOb2A0oPeWkRgt5ZzzF2w wFYw== X-Forwarded-Encrypted: i=1; AJvYcCUNQ4nY/a93N+oV2aovuQwBXfi1FC7kMXydTnCbJ1xr/rSfbSLvGQq0/ltIsZryuqXpw7oVKnYzg+n/@nongnu.org X-Gm-Message-State: AOJu0YwEU/LN61Q257pwwNXUuB0y1g/HpTIHvPWxpTcdsC9Mhszb1JtY WvXbmFgRBHYd92bPvb2ODZnOuY2IgOlR98xmsDNtVbSgZf2yG+OUlpmjk+RU3AxjN7WTnlW1jCK A X-Google-Smtp-Source: AGHT+IG/khCY2oUQiQzBUIi8BAD9cJHx2bRzxMq0kb6mBoLUjV+q0htrxkfrT34FRhDp1e15beXUsw== X-Received: by 2002:a05:6a20:c797:b0:1d3:5208:1ea6 with SMTP id adf61e73a8af0-1d8c96ba5femr8821399637.45.1728840731187; Sun, 13 Oct 2024 10:32:11 -0700 (PDT) Received: from [192.168.0.4] (174-21-81-121.tukw.qwest.net. [174.21.81.121]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71e6164e825sm1022356b3a.61.2024.10.13.10.32.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 13 Oct 2024 10:32:10 -0700 (PDT) Message-ID: <7ee485ed-dcab-48cf-8c1f-bd985e1609f4@linaro.org> Date: Sun, 13 Oct 2024 10:32:09 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] linux-user/vm86: Fix compilation with Clang To: Thomas Huth , dave@treblig.org, qemu-devel@nongnu.org, Laurent Vivier Cc: qemu-trivial@nongnu.org References: <20241011161845.417342-1-thuth@redhat.com> Content-Language: en-US From: Richard Henderson In-Reply-To: <20241011161845.417342-1-thuth@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2607:f8b0:4864:20::535; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x535.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 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org On 10/11/24 09:18, Thomas Huth wrote: > Since commit 95b9c27c81 ("linux-user: Remove unused handle_vm86_fault") > a bunch of other "static inline" function are now unused, too. Clang > warns about such unused "static inline" functions in .c files, so the > build currently breaks when compiling with "--enable-werror". Remove > the unused functions to get it going again. > > Fixes: 95b9c27c81 ("linux-user: Remove unused handle_vm86_fault") > Signed-off-by: Thomas Huth > --- > linux-user/vm86.c | 65 ----------------------------------------------- > 1 file changed, 65 deletions(-) Reviewed-by: Richard Henderson And queued. r~