Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/imcsmb For byte-writes we only load an 8-bit quantity
details: https://anonhg.NetBSD.org/src/rev/f9a990610393
branches: trunk
changeset: 359850:f9a990610393
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Tue Feb 27 05:47:10 2018 +0000
description:
For byte-writes we only load an 8-bit quantity
diffstat:
sys/dev/imcsmb/imcsmb.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r ff8815e668cc -r f9a990610393 sys/dev/imcsmb/imcsmb.c
--- a/sys/dev/imcsmb/imcsmb.c Tue Feb 27 05:45:14 2018 +0000
+++ b/sys/dev/imcsmb/imcsmb.c Tue Feb 27 05:47:10 2018 +0000
@@ -331,7 +331,7 @@
/* For byte operations, the data goes in the LSB, and
* the MSB is a don't care.
*/
- lword = *(uint16_t *) buf;
+ lword = *(uint8_t *) buf;
}
cmd_val |= lword;
}
Home |
Main Index |
Thread Index |
Old Index