linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Test Bot <zgrieee@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: martin.petersen@oracle.com, linux-scsi@vger.kernel.org,
	target-devel@vger.kernel.org, torvalds@linux-foundation.org
Subject: ERROR: drivers: iscsi: iscsi_target.c
Date: Thu, 12 May 2022 22:42:05 +0400	[thread overview]
Message-ID: <CAOFRbGmGr2Z_sbYmE0SZT48CFkNAWVABnC_4V6x9PzZw-LJO4w@mail.gmail.com> (raw)

Hi,

I automatically test (RC) kernel and caught ERROR word.
Please ignore, if its unimportant.

Kernel: 5.18-rc6
Arch: x86_64 (SMP)
Compiler: 7.5.0 (gcc)

Codebase Block:

void iscsit_thread_get_cpumask(struct iscsi_conn *conn)
{
        int ord, cpu;
        cpumask_t conn_allowed_cpumask;

        cpumask_and(&conn_allowed_cpumask, iscsit_global->allowed_cpumask,
                    cpu_online_mask);

       cpumask_clear(conn->conn_cpumask);
        ord = conn->bitmap_id % cpumask_weight(&conn_allowed_cpumask);
        for_each_cpu(cpu, &conn_allowed_cpumask) {
                if (ord-- == 0) {
                        cpumask_set_cpu(cpu, conn->conn_cpumask);
                        return;
                }
        }
        dump_stack();
        cpumask_setall(conn->conn_cpumask);
}

Compiler  Log:

drivers/target/iscsi/iscsi_target_configfs.c: In function
‘lio_target_wwn_cpus_allowed_list_store’:
drivers/target/iscsi/iscsi_target_configfs.c:1157:1: warning: the
frame size of 1032 bytes is larger than 1024 bytes
[-Wframe-larger-than=]

drivers/target/iscsi/iscsi_target.c: In function ‘iscsit_thread_get_cpumask’:
drivers/target/iscsi/iscsi_target.c:3625:1: warning: the frame size of
1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]

             reply	other threads:[~2022-05-12 18:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-12 18:42 Test Bot [this message]
2022-05-12 19:10 ` ERROR: drivers: iscsi: iscsi_target.c Linus Torvalds
2022-05-16  8:47 ` Rasmus Villemoes
2022-05-16 18:04   ` Linus Torvalds

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=CAOFRbGmGr2Z_sbYmE0SZT48CFkNAWVABnC_4V6x9PzZw-LJO4w@mail.gmail.com \
    --to=zgrieee@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=target-devel@vger.kernel.org \
    --cc=torvalds@linux-foundation.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;
as well as URLs for NNTP newsgroup(s).