Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci fix typo.



details:   https://anonhg.NetBSD.org/src/rev/2a1d2a254d27
branches:  trunk
changeset: 354271:2a1d2a254d27
user:      nonaka <nonaka%NetBSD.org@localhost>
date:      Fri Jun 09 04:48:58 2017 +0000

description:
fix typo.

reported by ryo@.

diffstat:

 sys/dev/pci/if_iwm.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r e62f7c3689a0 -r 2a1d2a254d27 sys/dev/pci/if_iwm.c
--- a/sys/dev/pci/if_iwm.c      Fri Jun 09 04:43:33 2017 +0000
+++ b/sys/dev/pci/if_iwm.c      Fri Jun 09 04:48:58 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_iwm.c,v 1.73 2017/06/01 02:45:11 chs Exp $  */
+/*     $NetBSD: if_iwm.c,v 1.74 2017/06/09 04:48:58 nonaka Exp $       */
 /*     OpenBSD: if_iwm.c,v 1.148 2016/11/19 21:07:08 stsp Exp  */
 #define IEEE80211_NO_HT
 /*
@@ -106,7 +106,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_iwm.c,v 1.73 2017/06/01 02:45:11 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_iwm.c,v 1.74 2017/06/09 04:48:58 nonaka Exp $");
 
 #include <sys/param.h>
 #include <sys/conf.h>
@@ -3044,7 +3044,7 @@
                        fw_paging_cmd.device_phy_addr.addr32[blk_idx] =
                            htole32(dev_phy_addr);
                }
-               dmap = sc->fw_paging_db[blk_idx].fw_paging_block.map,
+               dmap = sc->fw_paging_db[blk_idx].fw_paging_block.map;
                bus_dmamap_sync(sc->sc_dmat, dmap, 0, dmap->dm_mapsize,
                    BUS_DMASYNC_PREWRITE | BUS_DMASYNC_PREREAD);
        }



Home | Main Index | Thread Index | Old Index