public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: Pavithra <pavrampu@linux.ibm.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH] [PATCH] [PATCH v4] Migrating the libhugetlbfs/testcases/truncate_above_4GB.c test
Date: Tue, 10 Mar 2026 12:42:46 +0100	[thread overview]
Message-ID: <abADtgCruup_LMkj@yuki.lan> (raw)
In-Reply-To: <20260310094958.95381-1-pavrampu@linux.ibm.com>

Hi!
> +static void run_test(void)
> +{
> +	static long long buggy_offset, truncate_point;
                                          ^
Looking closer at the code this variable is used uninitialized.

But there is a variable with the same name in the test setup. Wasn't
this supposed to be a global variable set in the test setup()?

Or we can get rid of the variable completely and use the FOURGIG
instead both in the setup and here.

-- 
Cyril Hrubis
chrubis@suse.cz

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

      reply	other threads:[~2026-03-10 11:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-10  9:49 [LTP] [PATCH] [PATCH] [PATCH v4] Migrating the libhugetlbfs/testcases/truncate_above_4GB.c test Pavithra
2026-03-10 11:42 ` Cyril Hrubis [this message]

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=abADtgCruup_LMkj@yuki.lan \
    --to=chrubis@suse.cz \
    --cc=ltp@lists.linux.it \
    --cc=pavrampu@linux.ibm.com \
    /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