Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp685498rdf; Tue, 21 Nov 2023 13:34:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IGGjvFoGT3OlcW4DbcNz8d3Z7aTG2aljhUz1Rtmr3cCI36leXDpVHRr0Xg76moBK3cC8p6R X-Received: by 2002:a17:902:7d84:b0:1ce:89a7:4403 with SMTP id a4-20020a1709027d8400b001ce89a74403mr416240plm.58.1700602442008; Tue, 21 Nov 2023 13:34:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700602441; cv=none; d=google.com; s=arc-20160816; b=kAxulg7t27yza1NvMJHv9J3OeVqLF6fQBKopx6Xh8PYS/1qhgjF15tRhe8sD99RCnv aU0emeDRaUUDNhZxwYEvwDoSOVDjn2JuqKsTWH0iPKV31eF+ZXB+GfZA0JZur92vA9dD WBYBDNKolXE6WORX2c2Lo0nT2+ZXyHZW+mhdWMwfQYv45KNKc99nOIPz9jK8u+rRTWCM jf5Xdc0LC/egIbBA24HTl5bDtkhEf12TILOVaGWcEjxw1vTppg8Her6PVcWeLbOX2EKE IWg7vbufuvWQy/JZbgmCpu5cwwZ6MJNNejoD+yWINIrcsPh+vwb18LbQxo72bqNZpOPP SAPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=LPztFbk4Qh4+TpFn00idAb8rtvrdHgK3UzVmP62xEfo=; fh=+RIscJKX/dGuSu87MNlRKcKqGxH+u6zLaEJ/Aa8PYNM=; b=nHhNPv1TWVATOXN4HQO8TsGdeIX51RGl/zw+dTMRMHjPQ69RhLp+SAZvUJBNfBCtFI WGQ1+Ki2jXQQZTsqVh5fEN+wSKxUCWjG5fiJ/UQwybRuxtaJSf3lVid08R45m4J7aF3O +0leTPUft966qYKPDY83Bxfun4rk4SGzPgaJ0G+JnXbrauND0m5F8YY0jZ76rhQt9PNU OdA3zNocgWAc3S6zqjnjjp/st3YhcgJOB215Bzl/lp8Y+3MShtLJ+4rn+G89o2VJjNA/ eNxfcwrKUF4lqzFxsz5QBvLRQpqtj7gLgaoq2KpFyzg372kQkpZVHOU7r1VQfoRQiPGl onKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=e9kQc4bW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=sifive.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id d4-20020a170902854400b001cc67fd5170si10309455plo.638.2023.11.21.13.34.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 13:34:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=e9kQc4bW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=sifive.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id B606380870C8; Tue, 21 Nov 2023 13:33:59 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229728AbjKUVdx (ORCPT + 99 others); Tue, 21 Nov 2023 16:33:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229495AbjKUVdw (ORCPT ); Tue, 21 Nov 2023 16:33:52 -0500 Received: from mail-il1-x12a.google.com (mail-il1-x12a.google.com [IPv6:2607:f8b0:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA88FF4 for ; Tue, 21 Nov 2023 13:33:48 -0800 (PST) Received: by mail-il1-x12a.google.com with SMTP id e9e14a558f8ab-359d559766cso21902745ab.1 for ; Tue, 21 Nov 2023 13:33:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; t=1700602428; x=1701207228; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=LPztFbk4Qh4+TpFn00idAb8rtvrdHgK3UzVmP62xEfo=; b=e9kQc4bWz1eueHnQlEmAdcbVKNbmsum3vaUhqsDCHum7lipuIBzKN/i+H5TvQW/cI8 oP7jJYIf3m4Qj4P50+XscS+SZrvVIk4ip8pxT3V8Yo7OAK5wZl+ZhFqU3fi0GKsB8JuM Pfcxi2k1OSpDsnd9j9jsSRuOQliTDD+HuFhd41enJqE/kQJ4ExWczscGlKhM5lLksgf6 FcvS3M/pyU6ajayXYK05zImDssImJWbgB3RdhNqCATAN/qNtIVIfL5dk/vD/UPj4Rs6Z IAlISYeb0Dq3BIS2YlQni7E4TSoc17fqy1FOY5PiZfdd5bDSv4AXZZ3/6LE86tu4qN21 Jhhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700602428; x=1701207228; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=LPztFbk4Qh4+TpFn00idAb8rtvrdHgK3UzVmP62xEfo=; b=FxDs2xJ9JoQN1XzpR95yU1NZcoGdAFBNPleQMO8qjCJrQJ/3+Uds+XX2FVMNg09frP Eboubkl8orqi7HmJMICGo2kDiwsREOujZfy3b96oyZm4wlIT01KTxVUbSVtDv5W0PGnJ 787sK7DcIWthhLHrQm9J7UfqdbF+yhz+SIEZoov0lWyN4qFKKT5kdVwPDe9sFPyi5br5 ybNItRLfvTWV2w9VDEokXGaB7gNy04503R4LwrFyuXPAdxRN1QQ4QNGCmZ3+vY5S1DUv mFrMsRsVRSLyACxZ5xatXl0yGzpe9Rg4Vlq699Eevwt65IWbMi2bqhBQeWltUwpSeG3J m/Gw== X-Gm-Message-State: AOJu0Yw/Y2lhDmwh+G5drUdqMv0abCKa7voyHIp+26oBhae4hmirTlM1 Gr5ZjCRQ/kfkxHdpXe//R68Xug== X-Received: by 2002:a05:6e02:1d13:b0:359:c24b:9ee1 with SMTP id i19-20020a056e021d1300b00359c24b9ee1mr242798ila.14.1700602428216; Tue, 21 Nov 2023 13:33:48 -0800 (PST) Received: from ?IPV6:2605:a601:adae:4500:9465:402f:4b0a:1116? ([2605:a601:adae:4500:9465:402f:4b0a:1116]) by smtp.gmail.com with ESMTPSA id cn16-20020a056e02389000b00359c464b632sm3413438ilb.52.2023.11.21.13.33.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Nov 2023 13:33:47 -0800 (PST) Message-ID: Date: Tue, 21 Nov 2023 15:33:47 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/2] Correct type casting in module loading Content-Language: en-US To: Charlie Jenkins Cc: Palmer Dabbelt , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Paul Walmsley , Palmer Dabbelt , Albert Ou , Randy Dunlap References: <20231117-module_fixup-v1-0-62bb777f6825@rivosinc.com> <20231117-module_fixup-v1-2-62bb777f6825@rivosinc.com> From: Samuel Holland In-Reply-To: <20231117-module_fixup-v1-2-62bb777f6825@rivosinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,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 agentk.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 (agentk.vger.email [0.0.0.0]); Tue, 21 Nov 2023 13:33:59 -0800 (PST) On 2023-11-17 1:56 PM, Charlie Jenkins wrote: > Make static variables static and use __le16. > > Fixes: 8fd6c5142395 ("riscv: Add remaining module relocations") > Signed-off-by: Charlie Jenkins > --- > arch/riscv/kernel/module.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) Reviewed-by: Samuel Holland Tested-by: Samuel Holland