Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146201909
D54732.id169796.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D54732.id169796.diff
View Options
diff --git a/sys/dev/smartpqi/smartpqi_prototypes.h b/sys/dev/smartpqi/smartpqi_prototypes.h
--- a/sys/dev/smartpqi/smartpqi_prototypes.h
+++ b/sys/dev/smartpqi/smartpqi_prototypes.h
@@ -167,10 +167,6 @@
rcb_t *, rcb_t *, int);
int pqisrc_write_current_time_to_host_wellness(pqisrc_softstate_t *softs);
int pqisrc_write_driver_version_to_host_wellness(pqisrc_softstate_t *softs);
-extern inline void pqisrc_aio_build_cdb(aio_req_locator_t *, uint32_t,
- rcb_t *, uint8_t *);
-extern inline boolean_t pqisrc_aio_req_too_big(pqisrc_softstate_t *, pqi_scsi_dev_t *,
- rcb_t const *, aio_req_locator_t *, uint32_t);
void pqisrc_build_aio_common(pqisrc_softstate_t *, pqi_aio_req_t *,
rcb_t *, uint32_t);
void pqisrc_build_aio_R1_write(pqisrc_softstate_t *,
diff --git a/sys/dev/smartpqi/smartpqi_request.c b/sys/dev/smartpqi/smartpqi_request.c
--- a/sys/dev/smartpqi/smartpqi_request.c
+++ b/sys/dev/smartpqi/smartpqi_request.c
@@ -1492,7 +1492,7 @@
* handle based on dev type, Raid level, and encryption status.
* TODO: make limits dynamic when this becomes possible.
*/
-inline boolean_t
+static inline boolean_t
pqisrc_aio_req_too_big(pqisrc_softstate_t *softs,
pqi_scsi_dev_t *device, rcb_t const *rcb,
aio_req_locator_t *l, uint32_t disk_blk_cnt)
@@ -1636,7 +1636,7 @@
}
/* build the aio cdb */
-inline void
+static inline void
pqisrc_aio_build_cdb(aio_req_locator_t *l,
uint32_t disk_blk_cnt, rcb_t *rcb, uint8_t *cdb)
{
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 1, 5:24 PM (8 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29120852
Default Alt Text
D54732.id169796.diff (1 KB)
Attached To
Mode
D54732: smartpqi: Avoid declaring extern inline functions
Attached
Detach File
Event Timeline
Log In to Comment