From: Swati Sharma <swati2.sharma@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t] lib: fix typo in clamp16()
Date: Mon, 5 Jun 2023 21:17:10 +0530 [thread overview]
Message-ID: <20230605154710.460104-1-swati2.sharma@intel.com> (raw)
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
next reply other threads:[~2023-06-05 15:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-05 15:47 Swati Sharma [this message]
2023-06-05 16:03 ` [igt-dev] [PATCH i-g-t] lib: fix typo in clamp16() 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230605154710.460104-1-swati2.sharma@intel.com \
--to=swati2.sharma@intel.com \
--cc=igt-dev@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox