Bug 949875

Summary: [SCSI] libsas: use right function to alloc smp response
Product: [Fedora] Fedora Reporter: Lukasz Dorau <lukasz.dorau>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: gansalmon, itamar, jforbes, jonathan, kernel-maint, madhu.chinakonda
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-11 17:09:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lukasz Dorau 2013-04-09 08:21:40 UTC
Could you apply the following very important upstream patch, please?:

http://git.kernel.org/cgit/linux/kernel/git/jejb/scsi.git/commit/?h=for-next&id=95c9f4d4da6c4e445a9dd58c8382356520ea91a0

commit 95c9f4d4da6c4e445a9dd58c8382356520ea91a0
[SCSI] libsas: use right function to alloc smp response

In fact the disc_resp buffer will be overwrite by smp response, so we never
found this typo, correct it by using the right one.

Signed-off-by: John Gong <john_gong>
Signed-off-by: Jack Wang <jack_wang>
Signed-off-by: James Bottomley <JBottomley>

It corrects stupid typo:
-    disc_resp = alloc_smp_req(DISCOVER_RESP_SIZE);
+    disc_resp = alloc_smp_resp(DISCOVER_RESP_SIZE);

Comment 1 Justin M. Forbes 2013-04-11 17:09:33 UTC
Thanks for the heads up, this patch has been added to the latest builds for F19 and rawhide

Comment 2 Fedora Update System 2013-04-12 22:24:16 UTC
kernel-3.9.0-0.rc6.git2.1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/FEDORA-2013-5224/kernel-3.9.0-0.rc6.git2.1.fc19

Comment 3 Lukasz Dorau 2013-04-18 14:09:19 UTC
Thanks!

Comment 4 Fedora Update System 2013-04-19 05:47:15 UTC
kernel-3.9.0-0.rc6.git2.3.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.