From: "mcermak at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sourceware.org
Subject: [Bug runtime/30416] New: unable to find member 'request' for struct scsi_cmnd
Date: Wed, 03 May 2023 09:07:22 +0000 [thread overview]
Message-ID: <bug-30416-6586@http.sourceware.org/bugzilla/> (raw)
https://sourceware.org/bugzilla/show_bug.cgi?id=30416
Bug ID: 30416
Summary: unable to find member 'request' for struct scsi_cmnd
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
Assignee: systemtap at sourceware dot org
Reporter: mcermak at redhat dot com
Target Milestone: ---
Following is one of the problems CI gating shows for systemtap-4.9-1.fc39:
Testcase: /tests/Regression/semantic-errors-bz1062076
Output:
:: [ 22:01:51 ] :: [ BEGIN ] :: Running 'stap -P -vp4 script.stp'
Pass 1: parsed user script and 495 library scripts using
140024virt/111044res/15744shr/94676data kb, in 140usr/20sys/158real ms.
semantic error: unable to find member 'request' for struct scsi_cmnd
(alternatives: result, retries, sdb, rcu, cmnd, eh_entry, flags, state, device,
allowed, cmd_len, extra_len, prot_op, prot_sdb, sense_len, eh_eflags,
resid_len, underflow, abort_work, prot_type, submitter, prot_flags,
sense_buffer, transfersize, budget_token, host_scribble, sc_data_direction,
jiffies_at_alloc): operator '->' at
/usr/share/systemtap/tapset/linux/scsi.stp:189:66
source: return timer_pending(&@cast(cmd, "scsi_cmnd",
"kernel:scsi_mod")->request->q->timeout)
^
Probable cause is the following kernel commit:
$ git show 2266a2def97ce11ec979b6c58a1b637a16eca7dd
commit 2266a2def97ce11ec979b6c58a1b637a16eca7dd
Author: Bart Van Assche <bvanassche@acm.org>
Date: Mon Aug 9 16:03:55 2021 -0700
scsi: core: Remove the request member from struct scsi_cmnd
Since all scsi_cmnd.request users are gone, remove the request pointer
from struct scsi_cmnd.
Link: https://lore.kernel.org/r/20210809230355.8186-53-bvanassche@acm.org
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
--
You are receiving this mail because:
You are the assignee for the bug.
next reply other threads:[~2023-05-03 9:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-03 9:07 mcermak at redhat dot com [this message]
2023-10-03 19:18 ` [Bug runtime/30416] " wcohen at redhat dot com
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=bug-30416-6586@http.sourceware.org/bugzilla/ \
--to=sourceware-bugzilla@sourceware.org \
--cc=systemtap@sourceware.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 read-only IMAP folder(s) and NNTP newsgroup(s).