- libsas-externs-not-needed.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     libsas: externs not needed

has been removed from the -mm tree.  Its filename is

     libsas-externs-not-needed.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: libsas: externs not needed
From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>

These functions shouldn't be 'extern'.  That's not needed for
exports in Linux.  Also, sparse complains, so fix them.

drivers/scsi/libsas/sas_init.c:138:39: warning: function 'sas_domain_attach_transport' with external linkage has definition
drivers/scsi/libsas/sas_init.c:158:13: warning: function 'sas_domain_release_transport' with external linkage has definitio

Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
Cc: James Bottomley <James.Bottomley@xxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/scsi/libsas/sas_init.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -puN drivers/scsi/libsas/sas_init.c~libsas-externs-not-needed drivers/scsi/libsas/sas_init.c
--- a/drivers/scsi/libsas/sas_init.c~libsas-externs-not-needed
+++ a/drivers/scsi/libsas/sas_init.c
@@ -135,7 +135,7 @@ int sas_unregister_ha(struct sas_ha_stru
 static struct sas_function_template sft = {
 };
 
-extern struct scsi_transport_template *
+struct scsi_transport_template *
 sas_domain_attach_transport(struct sas_domain_function_template *dft)
 {
 	struct scsi_transport_template *stt = sas_attach_transport(&sft);
@@ -155,7 +155,7 @@ sas_domain_attach_transport(struct sas_d
 EXPORT_SYMBOL_GPL(sas_domain_attach_transport);
 
 
-extern void sas_domain_release_transport(struct scsi_transport_template *stt)
+void sas_domain_release_transport(struct scsi_transport_template *stt)
 {
 	sas_release_transport(stt);
 }
_

Patches currently in -mm which might be from rdunlap@xxxxxxxxxxxx are

acpi-fix-printk-format-warnings.patch
drivers-base-check-errors.patch
git-libata-all.patch
git-lxdialog.patch
mtd-printk-format-warning.patch
git-net.patch
atm-he-fix-section-mismatch.patch
pcmcia-ds-must_check-fixes.patch
git-sas.patch
pcie-check-and-return-bus_register-errors-fix.patch
git-scsi-misc.patch
dc395x-fix-printk-format-warning.patch
git-scsi-target.patch
adutux-fix-printk-format-warnings.patch
aircable-fix-printk-format-warnings.patch
add-kerneldocs-for-some-functions-in-mm-memoryc.patch
tiacx-sparse-cleanups.patch
consistently-use-max_errno-in-__syscall_return.patch
consistently-use-max_errno-in-__syscall_return-fix.patch
eisa-bus-modalias-attributes-support-1.patch
kernel-params-must_check-fixes.patch
blockdevc-check-errors.patch
block-handle-subsystem_register-init-errors.patch
fs-namespace-handle-init-registration-errors.patch
kernel-doc-for-relay-interface.patch
kernel-doc-move-filesystems-together.patch
include-documentation-for-functions-in-drivers-base-classc.patch
fix-parameter-names-in-drivers-base-classc.patch
fix-kerneldoc-comments-in-kernel-timerc-fix.patch
cdev-documentation-was-drop-second-arg-of-unregister_chrdev.patch
docbook-fix-segfault-in-docprocc.patch
ext3-add-more-comments-in-block-allocation-reservation-code.patch
doc-fix-kernel-parameters-quiet.patch
fs-cache-cachefiles-a-cache-that-backs-onto-a-mounted-filesystem-cachefiles-printk-format-warning.patch
ecryptfs-fix-printk-format-warnings.patch
ide-core-must_check-fixes.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux