Bug 949875 - [SCSI] libsas: use right function to alloc smp response
Summary: [SCSI] libsas: use right function to alloc smp response
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-09 08:21 UTC by Lukasz Dorau
Modified: 2013-04-19 05:47 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-04-11 17:09:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.