Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152689597
D18124.id50721.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
D18124.id50721.diff
View Options
Index: sys/dev/sfxge/common/efx.h
===================================================================
--- sys/dev/sfxge/common/efx.h
+++ sys/dev/sfxge/common/efx.h
@@ -1510,13 +1510,13 @@
extern efx_rc_t
efx_bootcfg_read(
__in efx_nic_t *enp,
- __out_bcount(size) caddr_t data,
+ __out_bcount(size) uint8_t *data,
__in size_t size);
extern efx_rc_t
efx_bootcfg_write(
__in efx_nic_t *enp,
- __in_bcount(size) caddr_t data,
+ __in_bcount(size) uint8_t *data,
__in size_t size);
#endif /* EFSYS_OPT_BOOTCFG */
Index: sys/dev/sfxge/common/efx_bootcfg.c
===================================================================
--- sys/dev/sfxge/common/efx_bootcfg.c
+++ sys/dev/sfxge/common/efx_bootcfg.c
@@ -295,7 +295,7 @@
efx_rc_t
efx_bootcfg_read(
__in efx_nic_t *enp,
- __out_bcount(size) caddr_t data,
+ __out_bcount(size) uint8_t *data,
__in size_t size)
{
uint8_t *payload = NULL;
@@ -358,7 +358,7 @@
goto fail7;
/* Verify that the area is correctly formatted and checksummed */
- rc = efx_bootcfg_verify(enp, (caddr_t)payload, sector_length,
+ rc = efx_bootcfg_verify(enp, payload, sector_length,
&used_bytes);
if (rc != 0 || used_bytes == 0) {
payload[0] = (uint8_t)(~DHCP_END & 0xff);
@@ -435,7 +435,7 @@
efx_rc_t
efx_bootcfg_write(
__in efx_nic_t *enp,
- __in_bcount(size) caddr_t data,
+ __in_bcount(size) uint8_t *data,
__in size_t size)
{
uint8_t *partn_data;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 17, 1:02 PM (56 m, 28 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31660987
Default Alt Text
D18124.id50721.diff (1 KB)
Attached To
Mode
D18124: sfxge(4): fix warnings from VS2015 C compiler (C4057)
Attached
Detach File
Event Timeline
Log In to Comment