summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/io/urtw/urtw.c
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2019-01-15 13:04:31 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2019-01-15 13:04:31 +0000
commit7a34fde236609b18147eb73e6a163e19162d96e2 (patch)
tree11d647767f5036bbcccee110ad13891ed603a972 /usr/src/uts/common/io/urtw/urtw.c
parent0de99a4637b946f1cd1c7d9fb5949112e1afb82f (diff)
parentc653bb4713ca694c2d16b04b65d5b76c0bb46bd4 (diff)
downloadillumos-joyent-7a34fde236609b18147eb73e6a163e19162d96e2.tar.gz
[illumos-gate merge]
commit c653bb4713ca694c2d16b04b65d5b76c0bb46bd4 10197 build smatch in parallel commit 15c07adc1c7b828006b5e3c4d528b92229d6bd23 10081 smatch indenting fixes for usr/src/uts commit 5661bb7641e85c46713da7a3002b29ecd2c3daf0 10080 smatch Makefile changes for usr/src/cmd commit 05ede3db5e3b7d540afbccdc872c735770e82ef3 10079 smatch Makefile changes for usr/src/lib commit cadd68ea0014761eda6a293664086dfa80686d85 10078 smatch fixes for UCB commit 1ea94c756c0bc9170021d7b570944a24f224c03f 10202 loader: use screen-#rows to find bottom left co-ordinates commit 08487eea68a2fa501b5042131c6db068089f82e1 10173 loader: support newer ZFS versions Conflicts: usr/src/lib/libdladm/Makefile.com usr/src/lib/fm/topo/modules/i86pc/chip/Makefile
Diffstat (limited to 'usr/src/uts/common/io/urtw/urtw.c')
-rw-r--r--usr/src/uts/common/io/urtw/urtw.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/urtw/urtw.c b/usr/src/uts/common/io/urtw/urtw.c
index b649ca609d..9f03555479 100644
--- a/usr/src/uts/common/io/urtw/urtw.c
+++ b/usr/src/uts/common/io/urtw/urtw.c
@@ -1,4 +1,8 @@
/*
+ * Copyright (c) 2018, Joyent, Inc.
+ */
+
+/*
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -190,7 +194,7 @@ usb_match_device(struct urtw_type *tbl, uint32_t nentries,
uint16_t tproduct = tbl[nentries].dev.p;
if (tbl[nentries].dev.v == vendor &&
(tproduct == product || tproduct == USB_PRODUCT_ANY))
- return (&tbl[nentries]);
+ return (&tbl[nentries]);
}
return (NULL);
}