From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from twmbx01.aspeedtech.com (mail.aspeedtech.com [211.20.114.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7C6E136729F; Fri, 22 May 2026 07:16:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.20.114.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779434186; cv=none; b=uNrR+ln/1izkorAGoMwAFyc9gUxP8dSj05gKT/fLp4kQcTkCpNIsJYJejuzijeBS7AcjFrewRa7INNAjFKA6TsFz2biOis6S2wOSYdp8mkypsby2FX5jSSE53jk7xfYeTXu1oYGuUC/WBO1L1Wtj5gmvGi707MdLtJggPBFE8rY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779434186; c=relaxed/simple; bh=FexN4dgMI4c+5kjeoFWZCw347TCUUNkdQSKxhxyY658=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=gY7wLLXLC6QKciGv1gQskM/D2lOy6GkIaDwYcrheCJTSwl0cRAbBYRzmVq+EwOo06cTb9uoxDN6JlbD+2PV079EBcBX1ol5kTKIAqauysbdY+M/B4KrAQRmStZa4Ozr8VdnUPXn1ABwyJyiRhQo1ouJwqWMId9HJ+akl775GWMM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=aspeedtech.com; spf=pass smtp.mailfrom=aspeedtech.com; arc=none smtp.client-ip=211.20.114.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=aspeedtech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=aspeedtech.com Received: from TWMBX01.aspeed.com (192.168.0.62) by TWMBX01.aspeed.com (192.168.0.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1748.10; Fri, 22 May 2026 15:16:21 +0800 Received: from aspeedtech.com (192.168.10.13) by TWMBX01.aspeed.com (192.168.0.62) with Microsoft SMTP Server id 15.2.1748.10 via Frontend Transport; Fri, 22 May 2026 15:16:21 +0800 From: Chin-Ting Kuo To: , , , , , , , , , , Subject: [PATCH v2 0/2] spi: aspeed: Fix __iomem annotation and VLA parameter Date: Fri, 22 May 2026 15:16:19 +0800 Message-ID: <20260522071621.102507-1-chin-ting_kuo@aspeedtech.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain This series fixes two sparse warnings reported by the kernel test robot. The first patch fixes missing __iomem annotation on an MMIO pointer parameter, which also caused a redundant cast at the call site. A VLA function parameter warning is also fixed in this patch series. Changes in v2: - Add parentheses to row-major index for clarity. Chin-Ting Kuo (2): spi: aspeed: Fix missing __iomem annotation in output transfer path spi: aspeed: Replace VLA parameter with flat pointer in calibration helper drivers/spi/spi-aspeed-smc.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) -- 2.34.1