Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1727275 > unrolled thread

[PATCH v4 04/11] libsas: rename notify_port_event() for consistency

Started byJason Yan <yanaijie@huawei.com>
First post2017-09-06 11:20 +0200
Last post2017-09-06 15:30 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v4 04/11] libsas: rename notify_port_event() for consistency Jason Yan <yanaijie@huawei.com> - 2017-09-06 11:20 +0200
    Re: [PATCH v4 04/11] libsas: rename notify_port_event() for  consistency Johannes Thumshirn <jthumshirn@suse.de> - 2017-09-06 14:50 +0200
    Re: [PATCH v4 04/11] libsas: rename notify_port_event() for         consistency Christoph Hellwig <hch@lst.de> - 2017-09-06 15:30 +0200

#1727275 — [PATCH v4 04/11] libsas: rename notify_port_event() for consistency

FromJason Yan <yanaijie@huawei.com>
Date2017-09-06 11:20 +0200
Subject[PATCH v4 04/11] libsas: rename notify_port_event() for consistency
Message-ID<umEF4-81v-21@gated-at.bofh.it>
Rename function notify_port_event() to sas_notify_port_event(), which
will be consistent with sas_notify_phy_event().

Signed-off-by: Jason Yan <yanaijie@huawei.com>
CC: John Garry <john.garry@huawei.com>
CC: Johannes Thumshirn <jthumshirn@suse.de>
CC: Ewan Milne <emilne@redhat.com>
CC: Christoph Hellwig <hch@lst.de>
CC: Tomas Henzl <thenzl@redhat.com>
CC: Dan Williams <dan.j.williams@intel.com>
---
 drivers/scsi/libsas/sas_event.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/scsi/libsas/sas_event.c b/drivers/scsi/libsas/sas_event.c
index 70c4653..3e225ef 100644
--- a/drivers/scsi/libsas/sas_event.c
+++ b/drivers/scsi/libsas/sas_event.c
@@ -124,7 +124,7 @@ void sas_enable_revalidation(struct sas_ha_struct *ha)
 	mutex_unlock(&ha->disco_mutex);
 }
 
-static int notify_port_event(struct asd_sas_phy *phy, enum port_event event)
+static int sas_notify_port_event(struct asd_sas_phy *phy, enum port_event event)
 {
 	struct sas_ha_struct *ha = phy->ha;
 
@@ -146,7 +146,7 @@ int sas_notify_phy_event(struct asd_sas_phy *phy, enum phy_event event)
 
 int sas_init_events(struct sas_ha_struct *sas_ha)
 {
-	sas_ha->notify_port_event = notify_port_event;
+	sas_ha->notify_port_event = sas_notify_port_event;
 	sas_ha->notify_phy_event = sas_notify_phy_event;
 
 	return 0;
-- 
2.5.0

[toc] | [next] | [standalone]


#1727408 — Re: [PATCH v4 04/11] libsas: rename notify_port_event() for consistency

FromJohannes Thumshirn <jthumshirn@suse.de>
Date2017-09-06 14:50 +0200
SubjectRe: [PATCH v4 04/11] libsas: rename notify_port_event() for consistency
Message-ID<umHWi-1Qd-9@gated-at.bofh.it>
In reply to#1727275
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
-- 
Johannes Thumshirn                                          Storage
jthumshirn@suse.de                                +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850

[toc] | [prev] | [next] | [standalone]


#1727466 — Re: [PATCH v4 04/11] libsas: rename notify_port_event() for consistency

FromChristoph Hellwig <hch@lst.de>
Date2017-09-06 15:30 +0200
SubjectRe: [PATCH v4 04/11] libsas: rename notify_port_event() for consistency
Message-ID<umIz4-2mH-59@gated-at.bofh.it>
In reply to#1727275
Looks fine,

Reviewed-by: Christoph Hellwig <hch@lst.de>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web