diff options
| author | Archie Cobbs <archie@FreeBSD.org> | 2002-08-22 21:24:01 +0000 |
|---|---|---|
| committer | Archie Cobbs <archie@FreeBSD.org> | 2002-08-22 21:24:01 +0000 |
| commit | 4a6a94d8d803018858d728dad780253f98583be0 (patch) | |
| tree | 2fc5ad56a57cb03d56c0aa0af0f4c9ba2c7bb631 /sys/dev/mly | |
| parent | b87a69181edd9027bb62760f7ba1b564ba5451aa (diff) | |
Replace (ab)uses of "NULL" where "0" is really meant.
Notes
svn path=/head/; revision=102291
Diffstat (limited to 'sys/dev/mly')
| -rw-r--r-- | sys/dev/mly/mly.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mly/mly.c b/sys/dev/mly/mly.c index d38a64f2bfc9..f5ae328e32a2 100644 --- a/sys/dev/mly/mly.c +++ b/sys/dev/mly/mly.c @@ -1505,11 +1505,11 @@ mly_start(struct mly_command *mc) /* copy in new command */ bcopy(mc->mc_packet->mmbox.data, pkt->mmbox.data, sizeof(pkt->mmbox.data)); /* barrier to ensure completion of previous write before we write the flag */ - bus_space_barrier(NULL, NULL, 0, 0, BUS_SPACE_BARRIER_WRITE); /* tag/handle? */ + bus_space_barrier(0, 0, 0, 0, BUS_SPACE_BARRIER_WRITE); /* tag/handle? */ /* copy flag last */ pkt->mmbox.flag = mc->mc_packet->mmbox.flag; /* barrier to ensure completion of previous write before we notify the controller */ - bus_space_barrier(NULL, NULL, 0, 0, BUS_SPACE_BARRIER_WRITE); /* tag/handle */ + bus_space_barrier(0, 0, 0, 0, BUS_SPACE_BARRIER_WRITE); /* tag/handle */ /* signal controller, update index */ MLY_SET_REG(sc, sc->mly_idbr, MLY_AM_CMDSENT); |
