linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ERROR: drivers: iscsi: iscsi_target.c
@ 2022-05-12 18:42 Test Bot
  2022-05-12 19:10 ` Linus Torvalds
  2022-05-16  8:47 ` Rasmus Villemoes
  0 siblings, 2 replies; 4+ messages in thread
From: Test Bot @ 2022-05-12 18:42 UTC (permalink / raw)
  To: linux-kernel; +Cc: martin.petersen, linux-scsi, target-devel, torvalds

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=]

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

end of thread, other threads:[~2022-05-16 18:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-12 18:42 ERROR: drivers: iscsi: iscsi_target.c Test Bot
2022-05-12 19:10 ` Linus Torvalds
2022-05-16  8:47 ` Rasmus Villemoes
2022-05-16 18:04   ` Linus Torvalds

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).