Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp764990rdb; Fri, 17 Nov 2023 12:01:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IHAb89zUKKtawtWBjut9acL6IS9AXL01ffyNf59P2U4C7qIyQ4B7udoc0Luafp+aOP3dpHB X-Received: by 2002:a05:6808:1288:b0:3ab:84f0:b49d with SMTP id a8-20020a056808128800b003ab84f0b49dmr538962oiw.3.1700251308059; Fri, 17 Nov 2023 12:01:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700251308; cv=none; d=google.com; s=arc-20160816; b=Y4/mjEip8YWOZPzCqsJOjBTKFw+LAiJ36FmHLZu4HRShN9nOs5mVSdqsuFdLLopY92 cKkegxMOE7pmCeeD3ET35aO16WEHP32mwyu03dEghHQ5abkNPkqyfu+pt7sI8HOQR90r j1NBbY05WnjQZ0JFPW4V6G4prdjfvGGytyppZR5+Bk7xqNflqBa5+NPjxSZkyXM+IYmY l4XrQVqDhrrgEAvS+igU4MXMXyku1xBV+nliR61t67zeSyHB6AdzkqJ/14wnnrkHcMOw Rwe8deD+WGGgUqxLiy9yByKKfQ4hIgFJbGa7rhLICDBCMpDDg6QfczfJaFaa66dn8aiq U3Ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=5N8jhPC2zAZdLSZQNFglxA0EJk3ILNqkyKhBDD9MOWg=; fh=kw4Z/sSXEfnzVF7S5naQFfkIg6ezWm8mQYNglyA9etg=; b=RamfZ9moQV44U37F8ICqpioaUM0fsDUQaoIQv+xQ+XBiO9NugNiUEkmVlxpxT43u7V +idkeI6b/H9eCKE4IFE9PMrMxSd0hWzVF+eo1iw6uycZ658A2NSCDNCWnCHwB78rW/pM 6j0MI8n0o9L5dAR/46T7gF3+TkiRH01PZojxsZGkfzHJhliL7AQ3uevDPMIpvhT3Ffrw w9+uEhprniI5Z7MlKQ2zDQcE+YS9li0qSQkowx+bvv6DexBUcpTd3UnOnxbdma8DC4nQ d2U2dF8nSCTGK17HYRr2QXtvf45052TH5dmu+4vSjxilKM21xCIdsThXtKcBwfjeHE0Q P96Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=nrCl0MXY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id gs24-20020a0568083c9800b003b6d8440165si897892oib.177.2023.11.17.12.01.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 12:01:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=nrCl0MXY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id CEB328318062; Fri, 17 Nov 2023 12:01:38 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231857AbjKQUBR (ORCPT + 99 others); Fri, 17 Nov 2023 15:01:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229535AbjKQUBP (ORCPT ); Fri, 17 Nov 2023 15:01:15 -0500 Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3110D68 for ; Fri, 17 Nov 2023 12:01:11 -0800 (PST) Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-1ce675e45f9so1016605ad.3 for ; Fri, 17 Nov 2023 12:01:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1700251271; x=1700856071; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=5N8jhPC2zAZdLSZQNFglxA0EJk3ILNqkyKhBDD9MOWg=; b=nrCl0MXY2inaY8kWB2sZ2ebZf+1eXzzWmoYzHKriBii5HMT47OJChvwOnixrDgrZFl owI37n4EDGDnhlsmDxGUYxb3rMd38ICUkoYH5JXlHt0M7oE6WPcqaXjoFZz4yGYXC35r sKunIiF7Jf9bBDNt3yKwpm+gGnM4QIg6NKIt6rPpg6NtnLeM2mOMQ9zlIAlTvATrKZaY 3UsP6PnA2Hi7dz32754Qh3J8P6d8JVkE8GzUFqp+xp47mLcU0+QsvpeXRIkBiXGp53TF pjlyOWkYgqMjZvdj6FhpXGSbgdG5UAGLx7/Uh/TyJ2Wag0LloJy47roQt4fovRFeNSrY KmDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700251271; x=1700856071; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5N8jhPC2zAZdLSZQNFglxA0EJk3ILNqkyKhBDD9MOWg=; b=vnBu5+U0/fcNObKLwWhLDp7obhouWhhMQKPjWcU61XYsrVSY7EsDneAHlGfCIdGvdc 3ynQ3Ttn8+I+WF/XWxOg6rarp4FghRynI/1AXjXotO1BuF51N17fC8dySkrz4aQ60h5g szrKNYocpso8e0ohgKtltmuDD/FdsXqPG4gQGZ4jkKU7kHiv2fhCEfJ0BEvsd9K9VKzY RG8249DNMe6+6oC1peA+a8dElULOkdKLCeXUlS1gDD16QELKivoYShgLww3hzitOG0N1 ywnIjQriqPjk2LgH9JcuZAjzg/a1HnXCPaQGO94WKT3eFYPlA8XkHqDdL2LMpAqKmasf DyfA== X-Gm-Message-State: AOJu0YxLB0ouGsn2oTgLrNqUILFtKEpMdQICl/bHtL0VmNwgWhVg+9G+ /2VJ+aqueCZ7N49BXTD5MINP5POP20bUy7pYG0s= X-Received: by 2002:a17:902:ce81:b0:1cc:6d2c:fb59 with SMTP id f1-20020a170902ce8100b001cc6d2cfb59mr855254plg.28.1700251271032; Fri, 17 Nov 2023 12:01:11 -0800 (PST) Received: from charlie.ba.rivosinc.com ([64.71.180.162]) by smtp.gmail.com with ESMTPSA id bf1-20020a170902b90100b001b53953f306sm1749737plb.178.2023.11.17.12.01.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 12:01:10 -0800 (PST) From: Charlie Jenkins Subject: [PATCH 0/2] riscv: Resolve module loading issues Date: Fri, 17 Nov 2023 11:56:10 -0800 Message-Id: <20231117-module_fixup-v1-0-62bb777f6825@rivosinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAFrFV2UC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDI2NDQ0Nz3dz8lNKc1Pi0zIrSAl0zS0tzC/MUy2RTM3MloJaColSgBNi46Nj aWgBtf/pqXgAAAA== To: Paul Walmsley , Palmer Dabbelt , Albert Ou , Randy Dunlap Cc: Palmer Dabbelt , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Charlie Jenkins X-Mailer: b4 0.12.3 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 17 Nov 2023 12:01:39 -0800 (PST) Previous commits caused compilation of module linking tests to fail on rv32 toolchains with uleb128 support. The first patch resolves that issue. The second patch resolves the type issues pointed out by sparse. Signed-off-by: Charlie Jenkins --- Charlie Jenkins (2): Support rv32 ULEB128 test Correct type casting in module loading arch/riscv/kernel/module.c | 8 ++++---- arch/riscv/kernel/tests/module_test/test_uleb128.S | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) --- base-commit: 9bacdd8996c77c42ca004440be610692275ff9d0 change-id: 20231117-module_fixup-699787d9c567 -- - Charlie