From: "Zbigniew Kempczyński" <zbigniew.kempczynski@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t 1/3] lib/intel_allocator: Fix alignment variable used in debug path
Date: Wed, 11 Jan 2023 19:12:03 +0100 [thread overview]
Message-ID: <20230111181205.55997-2-zbigniew.kempczynski@intel.com> (raw)
In-Reply-To: <20230111181205.55997-1-zbigniew.kempczynski@intel.com>
During work on allocator I've missed alignment was replaced by
default_alignment what makes a compilation error when debug path
is enabled.
Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
---
lib/intel_allocator.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/intel_allocator.c b/lib/intel_allocator.c
index 060a65ce18..2b08dd5996 100644
--- a/lib/intel_allocator.c
+++ b/lib/intel_allocator.c
@@ -351,7 +351,7 @@ static struct allocator *allocator_open(int fd, uint32_t ctx, uint32_t vm,
"default alignment: 0x%llx "
"not found, creating one\n",
fd, ctx, vm, (long long) start, (long long) end,
- (long long) alignment);
+ (long long) default_alignment);
ial = intel_allocator_create(fd, start, end, allocator_type,
allocator_strategy,
default_alignment);
--
2.34.1
next prev parent reply other threads:[~2023-01-11 18:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-11 18:12 [igt-dev] [PATCH i-g-t 0/3] Fix kms_cursor_legacy ENOSPC issue Zbigniew Kempczyński
2023-01-11 18:12 ` Zbigniew Kempczyński [this message]
2023-01-12 12:17 ` [igt-dev] [PATCH i-g-t 1/3] lib/intel_allocator: Fix alignment variable used in debug path Kamil Konieczny
2023-01-11 18:12 ` [igt-dev] [PATCH i-g-t 2/3] lib/igt_dummyload: Don't assume dependency object size Zbigniew Kempczyński
2023-01-12 12:18 ` Kamil Konieczny
2023-01-11 18:12 ` [igt-dev] [PATCH i-g-t 3/3] tests/kms_cursor_legacy: Add dependency size for spinner creation Zbigniew Kempczyński
2023-01-12 13:07 ` Kamil Konieczny
2023-01-12 13:23 ` Kamil Konieczny
2023-01-11 19:06 ` [igt-dev] ✓ Fi.CI.BAT: success for Fix kms_cursor_legacy ENOSPC issue Patchwork
2023-01-12 2:07 ` [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=20230111181205.55997-2-zbigniew.kempczynski@intel.com \
--to=zbigniew.kempczynski@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