Message ID | 20221027-b4-spicc-burst-delay-fix-v2-0-8cc2bab3417a@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp3493557wru; Wed, 2 Nov 2022 01:51:57 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5+nT96Ut4r+1bvHfTr0ICyr91K0qaB4evXNdtEdaU9DWuxHMWM07nPRk5ocLUOR3gnvoWg X-Received: by 2002:aa7:da42:0:b0:461:9465:b019 with SMTP id w2-20020aa7da42000000b004619465b019mr24177815eds.144.1667379117253; Wed, 02 Nov 2022 01:51:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667379117; cv=none; d=google.com; s=arc-20160816; b=bmHZ46v5+Zpj1dRKu4VpoUauwdzLbJ+xL9/z0AK8y9Z2qNkN75OglboGD2wByqJVCA S25iWsGzGBoAt3zGY86F8gZAf4TX5t0hOOwZZ99WOrJcbRcjqFkaOPXfhlpyo1SYnssG Xt8zRF8K1Ov2+kI03kbfpMkIk4jZP4fk2QvKu9aC0eOXBq4WJIy58A3wg3wr0Xod8F+H 9m/db6rZyU0P9b99sQoAy411VpsxglHuIqu24iyIfiqC+6Ji4bYoUhjF1PvlJp5w/iJt McASutAbOtMM+9vjEM3Wk/A3mYVBGBxh/hL1/vw8OrjklojZn046XWY4D8d53JnYGK7P DIsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:content-transfer-encoding :mime-version:subject:date:from:dkim-signature; bh=3ltByLIj0SyokO3we+F7KDthHs4841xVlGPJUzUCdJU=; b=SgBoDUWpwXQXsMscxwovTyhxKFdnRUUO+TzTHnp5QVneWKg1hfosKz6KON95Y92CFE /Eh1ai1k2gmVdkBm+KYsuW6caoXiVJi+oxCoKWmR2eeguQBWnTEpNMg4872/Aye/TkpJ gnYYcADbaFkGKr03BhhnFXGAAt8FW7cmJz59Fc1tp+5SJw2DcRlXvQ9m/jGNmWyfOS2A oDPcKZAx3IlrOChjoMkejnLvTsQd+3pT1qav6oFrq+hcmKJT+dXhH0clyCOx8KUSdTHd rFTF3PQl3lyb4Man+XQBhihIOodlh/HpGla6MR/frP7lLKoBPtrg3ErE1F4xQdQXnJm5 7rMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IgamBxEB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hc15-20020a170907168f00b0078316f0b5f8si17890613ejc.88.2022.11.02.01.51.33; Wed, 02 Nov 2022 01:51:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IgamBxEB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231137AbiKBIqW (ORCPT <rfc822;yves.mi.zy@gmail.com> + 99 others); Wed, 2 Nov 2022 04:46:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231149AbiKBIqI (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 2 Nov 2022 04:46:08 -0400 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1F4427B02 for <linux-kernel@vger.kernel.org>; Wed, 2 Nov 2022 01:46:05 -0700 (PDT) Received: by mail-wr1-x42a.google.com with SMTP id v1so23412455wrt.11 for <linux-kernel@vger.kernel.org>; Wed, 02 Nov 2022 01:46:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=3ltByLIj0SyokO3we+F7KDthHs4841xVlGPJUzUCdJU=; b=IgamBxEBc7YoiCYjghTBlqfPvxbjKkrIcNvUoyHd+9Wb3iQifOIdSoV+omsbL7fHZZ iCIrSpt6zpYXU+SV9+jPrhXgwt8T69WroG5DcI+G9wZJqqqO4Dc5kyb0+KpEENT2B5NO lT4lns2QCSh5ZRYA1sjrpyhxWdzpjYfQEx8W+m3dc/6OEuocpOAc5jmuFbxrkx8XoF19 lH0h2/9WZ8grA1KBG1lTTUmHiogVZbMFaD1MxmP3MW+X66CR+6u9GiPNMcrbv5xokseQ 5jvgMQjxQRRJw9XyJOTxg8bIqX0rwy/Eq3yzK2BNc62FMbA+A0BCFOGB/AzEcmYrH2h1 FKRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3ltByLIj0SyokO3we+F7KDthHs4841xVlGPJUzUCdJU=; b=UuhDhENgksgu2AhgWaJnNrLbSY3ce+fpWQj6dmPnyumhaMSAs9szXlKkRLeRyx6K0Q nlDEladn+wfEzI3jSgREzb8TL/oURTN9DG3vZl0KlJ4qd6/Th1M0EpJK+QJFu6zxTfCA I0Pl5qWX/EaJ6L94pPvCww184+7I/ZhdohQukv1Sx0So9/vd5xcvo4GOPj5UqwOGdOgP p8QE6H6f/UwTDMqghmEXV/K8Uq6U+SQW+H0cRAJC9iU6IL4r4uhF+tRraFZuPsM45uY7 vaQyS5YexxcLMqZGQbz1a/QcDnNWkmFPGI/AW4F9PNf+frYF2IHpe/dz0QWql6N68TqI nzfQ== X-Gm-Message-State: ACrzQf3PsViSTB5inbFS/wk1Q6FEXsmo/KQPIK+ZK9S/qjwK3EdJ8s/R gC7j1pVjznGj3RizQwQ3O5SALw== X-Received: by 2002:a05:6000:1862:b0:236:510c:6d0a with SMTP id d2-20020a056000186200b00236510c6d0amr14604158wri.592.1667378764349; Wed, 02 Nov 2022 01:46:04 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id h10-20020a5d4fca000000b002367ad808a9sm12066261wrw.30.2022.11.02.01.46.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Nov 2022 01:46:04 -0700 (PDT) From: Neil Armstrong <neil.armstrong@linaro.org> Date: Wed, 02 Nov 2022 09:46:01 +0100 Subject: [PATCH v2] spi: meson-spicc: fix do_div build error on non-arm64 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20221027-b4-spicc-burst-delay-fix-v2-0-8cc2bab3417a@linaro.org> To: Mark Brown <broonie@kernel.org>, Kevin Hilman <khilman@baylibre.com>, Jerome Brunet <jbrunet@baylibre.com> Cc: linux-amlogic@lists.infradead.org, kernel test robot <lkp@intel.com>, linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Martin Blumenstingl <martin.blumenstingl@googlemail.com>, Neil Armstrong <neil.armstrong@linaro.org>, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747843419062337596?= X-GMAIL-MSGID: =?utf-8?q?1748373725558172487?= |
Series |
[v2] spi: meson-spicc: fix do_div build error on non-arm64
|
|
Commit Message
Neil Armstrong
Nov. 2, 2022, 8:46 a.m. UTC
This fixes : error: passing argument 1 of '__div64_32' from incompatible pointer type By passing an uint64_t as first variable to do_div(). Reported-by: kernel test robot <lkp@intel.com> Fixes: 04694e50020b ("spi: meson-spicc: move wait completion in driver to take bursts delay in account") Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> --- To: Mark Brown <broonie@kernel.org> To: Kevin Hilman <khilman@baylibre.com> To: Jerome Brunet <jbrunet@baylibre.com> To: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Cc: linux-spi@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-amlogic@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- Changes in v2: - Added Martin's Acked-by - Added Reported-by: kernel test robot - Added To: Mark Brown - Link to v1: https://lore.kernel.org/r/20221027-b4-spicc-burst-delay-fix-v1-0-5a6e9a88e54c@linaro.org --- drivers/spi/spi-meson-spicc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- base-commit: 574f97ab96d6b153407161746bc127564e998b4f change-id: 20221027-b4-spicc-burst-delay-fix-a03004454876 Best regards,
Comments
On Wed, 02 Nov 2022 09:46:01 +0100, Neil Armstrong wrote: > This fixes : > error: passing argument 1 of '__div64_32' from incompatible pointer type > > By passing an uint64_t as first variable to do_div(). > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi: meson-spicc: fix do_div build error on non-arm64 commit: 134af9aa88453aeb9224e407092530ebba366c6c All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
diff --git a/drivers/spi/spi-meson-spicc.c b/drivers/spi/spi-meson-spicc.c index 52bffab18329..1b4195c54ee2 100644 --- a/drivers/spi/spi-meson-spicc.c +++ b/drivers/spi/spi-meson-spicc.c @@ -387,7 +387,7 @@ static int meson_spicc_transfer_one(struct spi_master *master, struct spi_transfer *xfer) { struct meson_spicc_device *spicc = spi_master_get_devdata(master); - unsigned long timeout; + uint64_t timeout; /* Store current transfer */ spicc->xfer = xfer;