Skip to contentSkip to conversation

Patch "scsi: sim710: fix build warning" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message Feb 23, 2018

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

scsi: sim710: fix build warning

to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
scsi-sim710-fix-build-warning.patch
and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 648a0a7da34f281410e8e3a59de8c13ec6ea380a Mon Sep 17 00:00:00 2001

From: Sudip Mukherjee <[email protected]>
Date: Thu, 11 Feb 2016 10:29:03 +0530
Subject: scsi: sim710: fix build warning

From: Sudip Mukherjee <[email protected]>

commit 648a0a7da34f281410e8e3a59de8c13ec6ea380a upstream.

We are getting build warning about:
"Section mismatch in reference from the variable sim710_eisa_driver to the function .init.text:sim710_eisa_probe()
The variable sim710_eisa_driver references the function __init sim710_eisa_probe()"

sim710_eisa_probe() was having __init but that was being referenced from sim710_eisa_driver.

---
 drivers/scsi/sim710.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/scsi/sim710.c +1 -2
@@ -176,8 +176,7 @@ static struct eisa_device_id sim710_eisa
 };
 MODULE_DEVICE_TABLE(eisa, sim710_eisa_ids);
 
-static __init int
-sim710_eisa_probe(struct device *dev)
+static int sim710_eisa_probe(struct device *dev)
 {
 	struct eisa_device *edev = to_eisa_device(dev);
 	unsigned long io_addr = edev->base_addr;

Patches currently in stable-queue which might be from [email protected] are

queue-4.4/kasan-rework-kconfig-settings.patch queue-4.4/drivers-hv-vmbus-fix-build-warning.patch queue-4.4/video-fbdev-sis-remove-unused-variable.patch queue-4.4/drm-gma500-remove-helper-function.patch queue-4.4/dpt_i2o-fix-build-warning.patch queue-4.4/scsi-sim710-fix-build-warning.patch