summaryrefslogtreecommitdiff
path: root/usr/src/uts
AgeCommit message (Collapse)AuthorFilesLines
2011-07-02fillsysinfo: Haul static prototype out of functionRichard Lowe1-3/+1
Function-local function prototypes may not be static, says GCC.
2011-07-02swapgeneric: Don't declare mod-stubbed functions staticRichard Lowe1-2/+3
If the symbol is optimized away, this causes krtld to refuse to load the module.
2011-07-02uts/sparc: Prevent automatic inliningRichard Lowe1-0/+2
2011-07-02hat_sfmmu: check bounds of sfsrd_t`srd_hmergnp even non-DEBUGRichard Lowe1-1/+1
GCC is insistent that we check the bounds of rid (from rcookie) before using it as the index into srd_hmergnp. Change an ASSERT to a non-conditional VERIFY to silence it.
2011-07-02sys/segments.h: Cast up to a uint64_t to avoid left shift > type widthRichard Lowe1-1/+1
GCC 4.4 would warn that we were left shifting by 32 leaving a result greater than the width of the type (presumed to be implicit int). Cast up to a uint64_t so we have room.
2011-07-02uts: Squelch pointer to different-sized int warningsRichard Lowe5-224/+213
2011-07-02pmcs: Set (reserved) inq_qual to 0 in INQUIRYRichard Lowe1-1/+1
We'd previously sometimes set this to 0x80, which doesn't fit in the 7-bit qualifier field. SPC-2 and SPC-3 describe these 7 bits as reserved, and they are unused (except in format, which prints them).
2011-07-02scsi_hba: Derefrence inquiry data to avoid constant conditionRichard Lowe1-1/+1
2011-07-02pathconf: Cast offset to size_t not intRichard Lowe1-3/+1
2011-07-02efe: Declare efe_restart static, to match its prototypeRichard Lowe1-1/+1
Squelches warning where efe_restart is non-static and inline but efe_stop/start are static.
2011-07-02bfe: Don't reference random 'halt' symbolRichard Lowe1-1/+1
We get compiler warnings because 'halt' can never be 0. It turns out that 'halt' is whatever random global halt symbol happens to be in scope and the code is bogus.
2011-07-02qlge: Don't walk massively out of bounds in ql_get_serdes_regsRichard Lowe1-6/+6
Keep a count running from 0 of the array index, rather than re-using the register address as the index thus starting out of bounds and walking even further.
2011-07-02fcoe: Explicitly cast during format conversionRichard Lowe2-3/+3
2011-07-02cpr: Use offsetof, don't hand-rollRichard Lowe1-2/+2
2011-07-02cpr: Don't cast pointers down to intRichard Lowe1-9/+11
2011-07-011368 enablings on defunct providers prevent providers from unregisteringBryan Cantrill3-14/+162
Reviewed by: Adam Leventhal <ahl@delphix.com> Approved by: Garrett D'Amore <garrett@nexenta.com>
2011-08-111347 isainfo should indicate presence of vmx/svm support (fix lint)Robert Mustacchi1-6/+25
2011-08-111347 isainfo should indicate presence of vmx/svm supportBryan Cantrill3-12/+37
1348 isainfo -v potentially overflows 80 columns Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Eric Schrock <Eric.Schrock@delphix.com>
2011-08-101281 Expose all TSS definitionsRobert Mustacchi9-27/+83
Reviewed by: Igor Kozhukhov <igor.kozhukhov@nexenta.com> Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Garrett D'Amore <garrett@nexenta.com> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Approved by: Garrett D'Amore <garrett@nexenta.com>
2011-07-291282 nsmb_open has a raceGordon Ross2-108/+43
Reviewed by: Garrett D'Amore <garrett@nexenta.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2011-07-291299 Support SiI3531 chipset in si3124 driverCharles Stephens3-8/+25
Reviewed by: Garrett D'Amore <garrett@nexenta.com> Reviewed by: Vineeth Pillai <vineeth.pillai@nexenta.com> Reviewed by: Igor Kozhukhov <igor.kozhukhov@nexenta.com> Reviewed by: Albert Lee <trisk@nexenta.com> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Approved by: Garrett D'Amore <garrett@nexenta.com>
2011-07-27734 taskq_dispatch_prealloc() desiredGarrett D'Amore6-12/+108
943 zio_interrupt ends up calling taskq_dispatch with TQ_SLEEP Reviewed by: Albert Lee <trisk@nexenta.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Alexey Zaytsev <alexey.zaytsev@nexenta.com> Reviewed by: Jason Brian King <jason.brian.king@gmail.com> Reviewed by: George Wilson <gwilson@zfsmail.com> Reviewed by: Adam Leventhal <ahl@delphix.com> Approved by: Gordon Ross <gwr@nexenta.com>
2011-07-01OS-454 enablings on defunct providers prevent providers from unregisteringBryan Cantrill3-12/+159
2011-07-01ipf: Define offsetof() more conventionally, fix pointer cast warningsRichard Lowe2-2/+2
2011-07-01emlxs: Don't assign 0xffff to 10-bit CQidsRichard Lowe1-2/+2
2011-07-01intel_nb5000: Return boolean from MTR_PRESENTRichard Lowe2-3/+3
Fix a case of ->mtr_present being constant false due to truncation, and make it harder to repeat the mistake.
2011-07-01myri10ge: Remove use of deprecated preprocessor assertionsRichard Lowe1-6/+3
2011-07-01sd: Shift Q-Channel ADR to avoid truncationRichard Lowe1-1/+1
2011-07-01i86pc/drmach_acpi: Haul function prototypes out of function bodiesRichard Lowe1-16/+16
2011-07-01i86pc/dr: Haul function prototype out of function bodyRichard Lowe1-2/+2
2011-07-01dboot: Cast through uintptr_t on the way to native pointersRichard Lowe1-6/+6
Squelch casts from pointer to different sized int warnings
2011-07-01mp_pc: Cast through uintptr_t for protected mode jmp destinationRichard Lowe1-1/+2
2011-07-01kdi_idt: Cast GATESEG_GETOFFSET through uintptr_tRichard Lowe1-1/+2
Squelch a GCC warning about a cast from an integer to a pointer of a different size (presumed to be an implicit 32bits before).
2011-07-01Use __attribute__((__gnu_inline__)) on GCC ASMRichard Lowe16-148/+189
As a GCC extension, GCC used to define 'extern inline' to mean that a function was only ever emitted inline and no visible symbol was emitted. C99, however, made 'extern inline' mean pretty much the reverse of this, and GCC 4.3 and above in C99 or GNU99 modes follow the standard, so we have to decorate each definition to indicate we want the non-standard behaviour.
2011-09-151073 migrate kernel modules from ancient _depends_on to true ELF dependenciesBayard Bell135-322/+545
Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Garrett D'Amore <garrett@nexenta.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2011-06-29va_impl: Deal with GCC 4.4 removal __builtin_stdarg_start aliasRichard Lowe1-3/+5
2011-06-29OS-449 log a warning when there are no lgrps because the ACPICA SRAT table ↵Robert Mustacchi1-2/+12
is missing
2011-06-28OS-441 update acpica code to newer versionJerry Jelinek203-27548/+19732
2011-06-23534 DMA KVA cache attributes incorrectMichael Tsymbalyuk1-0/+18
Reviewed by: Garrett D'Amore <garrett@nexenta.com> Reviewed by: Albert Lee <trisk@nexenta.com> Approved by: Eric Schrock <Eric.Schrock@delphix.com>
2011-06-221200 various modules declare static functions within function bodiesRichard Lowe10-67/+60
Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Gordon Ross <gwr@nexenta.com> Approved by: Eric Schrock <eric.schrock@delphix.com>
2011-10-061153 remove krtld support for _depends_onBayard Bell1-0/+18
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Garrett D'Amore <garrett@nexenta.com> Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Gordon Ross <gwr@nexenta.com>
2011-10-061604 smbd print_enable doesn't really workGordon Ross4-17/+42
Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Stepan Zastupov <stepan.zastupov@gmail.com> Approved by: Garrett D'Amore <garrett@nexenta.com>
2011-10-061603 smbsrv raw mode is ill-advisedGordon Ross2-1/+16
Reviewed by: jason.brian.king@gmail.com Reviewed by: Dan Kruchinin <dkruchinin@acm.org> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Garrett D'Amore <garrett@nexenta.com>
2011-10-021056 ksocket doesn't support AF_UNIXStepan Zastupov2-1/+143
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Reviewed by: Garrett D'Amore <garrett.damore@gmail.com> Approved by: Eric Schrock <eric.schrock@delphix.com>
2011-06-20OS-446 want zonename field in zone_vfs/zone_zfs kstatsBill Pijewski2-1/+11
2011-06-201108 kRPC: ticotsord doesn't support T_ADDR_REQ when datablock type is M_PCPROTODan Kruchinin1-1/+20
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Approved by: Eric Schrock <Eric.Schrock@delphix.com>
2011-06-16OS-439 stack overflow from ip_input()Robert Mustacchi1-4/+30
2011-06-16[HVM-379] merge smartvm to develop.Josh Wilsdon11-28/+140
2011-06-16OS-421 include pcbe moduleRobert Mustacchi4-6/+6
2011-06-16OS-421 include pcbe moduleRobert Mustacchi4-6/+6