From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 43E9710795; Sat, 3 Feb 2024 04:14:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706933697; cv=none; b=jZjeeVN2c4H6GznxL1av02PUQO8qgZyMoyqs5/3CKQ+0YHPENTkwms0/cEB1jCeVaZzoxsKg3ttuc5PE5xbUgy/tbDfbDBwVSipdE5uIG6HtpE3FJLae0YzRQpJGnievK2uhtYr7IrthBjb+ce1TQ7AC+2HAxovMcvATMMG9Ups= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706933697; c=relaxed/simple; bh=8IpqVoLxNjItVboBxsZHsjWfH86rP+4wFSEOhyQIUJg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ldMf/Mi/Gtql92xJ9uqGKIkKtld55LjQgObmE+9fUyZUO1wO3CDvC7uV5VoY4ud5IC0DHf4XU3A2Zo54hRsBk2ZZdq0PIDMoYgKuL2PERJ104qSBn+vFvp8mas4k3rmYuOqLQLmyP+oK9tnenT3235m1yZmWiZ3lIMqEgIm4Kes= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=snCSe727; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="snCSe727" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 008DFC43390; Sat, 3 Feb 2024 04:14:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1706933697; bh=8IpqVoLxNjItVboBxsZHsjWfH86rP+4wFSEOhyQIUJg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=snCSe727EF+BjcxIvwHFuUiIA/5/eSTFlk35j/v+8nsqQ6hUkw9xkrca80gh5PRVf z4hBuJxhTiW5B5boeCdCMnpf6KD+dKLGS06kLyZamaOEqxWAyQdXWhtzJBChDOhkiR jKVbNNSGxMN1L46r0bmApfJV43piB0ZLg35IuE34= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Stephen Rothwell , =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= , Sasha Levin Subject: [PATCH 6.6 261/322] drm: using mul_u32_u32() requires linux/math64.h Date: Fri, 2 Feb 2024 20:05:58 -0800 Message-ID: <20240203035407.575435687@linuxfoundation.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240203035359.041730947@linuxfoundation.org> References: <20240203035359.041730947@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Stephen Rothwell [ Upstream commit 933a2a376fb3f22ba4774f74233571504ac56b02 ] Some pending include file cleanups produced this error: In file included from include/linux/kernel.h:27, from drivers/gpu/ipu-v3/ipu-dp.c:7: include/drm/drm_color_mgmt.h: In function 'drm_color_lut_extract': include/drm/drm_color_mgmt.h:45:46: error: implicit declaration of function 'mul_u32_u32' [-Werror=implicit-function-declaration] 45 | return DIV_ROUND_CLOSEST_ULL(mul_u32_u32(user_input, (1 << bit_precision) - 1), | ^~~~~~~~~~~ Fixes: c6fbb6bca108 ("drm: Fix color LUT rounding") Signed-off-by: Stephen Rothwell Signed-off-by: Ville Syrjälä Link: https://patchwork.freedesktop.org/patch/msgid/20231219145734.13e40e1e@canb.auug.org.au Signed-off-by: Sasha Levin --- include/drm/drm_color_mgmt.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/drm/drm_color_mgmt.h b/include/drm/drm_color_mgmt.h index 54b2b2467bfd..ed81741036d7 100644 --- a/include/drm/drm_color_mgmt.h +++ b/include/drm/drm_color_mgmt.h @@ -24,6 +24,7 @@ #define __DRM_COLOR_MGMT_H__ #include +#include #include struct drm_crtc; -- 2.43.0