From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DD3003857734; Wed, 3 May 2023 09:07:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DD3003857734 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1683104844; bh=4g+8i1NrV7vvtpYagD9XOjwr7H+Ol25RYGtZSYLlwsM=; h=From:To:Subject:Date:From; b=le3LfgwU4lK9zmLrNWBsApeYLxKSGFpujkWgLs+0hv2L4Lbc053i4sGKdS0gnpcCT AWXOAqd9yDJe44Zkxr7fUe5Kd3utkfsEABS0kM4TYOh292Dk89ZR3rk8L371R2/fhr QDE3f/7KxhkuLbyrWBLV3p0Oq/Fq5muBoqnPRKMo= From: "mcermak at redhat dot com" 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 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: runtime X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mcermak at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30416 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, dev= ice, 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) =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ^ Probable cause is the following kernel commit: $ git show 2266a2def97ce11ec979b6c58a1b637a16eca7dd commit 2266a2def97ce11ec979b6c58a1b637a16eca7dd Author: Bart Van Assche 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.o= rg Cc: Christoph Hellwig Cc: Hannes Reinecke Cc: Ming Lei Signed-off-by: Bart Van Assche Signed-off-by: Martin K. Petersen --=20 You are receiving this mail because: You are the assignee for the bug.=