Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] lib: fix typo in clamp16()
@ 2023-06-05 15:47 Swati Sharma
  2023-06-05 16:03 ` Kamil Konieczny
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Swati Sharma @ 2023-06-05 15:47 UTC (permalink / raw)
  To: igt-dev

Fix typo in return type of clamp16().

Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
---
 lib/igt_fb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/igt_fb.c b/lib/igt_fb.c
index 11a5d6c0..9be312a2 100644
--- a/lib/igt_fb.c
+++ b/lib/igt_fb.c
@@ -3069,7 +3069,7 @@ static uint8_t clamp8(float val)
 	return clamp((int)(val + 0.5f), 0, 255);
 }
 
-static uint8_t clamp16(float val)
+static uint16_t clamp16(float val)
 {
 	return clamp((int)(val + 0.5f), 0, 65535);
 }
-- 
2.25.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-06-09  0:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-05 15:47 [igt-dev] [PATCH i-g-t] lib: fix typo in clamp16() Swati Sharma
2023-06-05 16:03 ` Kamil Konieczny
2023-06-05 17:46 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
2023-06-06 16:18   ` Kamil Konieczny
2023-06-08  4:31     ` Yedireswarapu, SaiX Nandan
2023-06-06 20:48 ` [igt-dev] ✓ Fi.CI.BAT: success for lib: fix typo in clamp16() (rev2) Patchwork
2023-06-07 11:19 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2023-06-08  4:23 ` [igt-dev] ✓ Fi.CI.BAT: success for lib: fix typo in clamp16() Patchwork
2023-06-09  0:56 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox