Bug #707
closedsata framework is unsure of bitwise ops
0%
Description
Searching for typoed boolean ops in place of bitwise:
source:usr/src/uts/common/io/sata/impl/sata.c@13283#L8110 if (sata_id->ai_cap && SATA_STANDBYTIMER) {
source:usr/src/uts/common/io/sata/impl/sata.c@13283#L8516: (!(sata_id->ai_cap && SATA_STANDBYTIMER) && page->standby 1)) {
source:usr/src/uts/common/io/sata/impl/sata.c@13283#L12282: pmport) && SATA_VALID_DEV_TYPE) 0) {
All look incorrect.
Updated by Garrett D'Amore about 12 years ago
- Status changed from New to Resolved
- Difficulty set to Medium
- Tags set to needs-triage
This was resolved a while ago in:
changeset: 13336:194dde734096
user: Garrett D'Amore <garrett@nexenta.com>
date: Mon Apr 11 12:15:48 2011 -0700
description:
707 sata framework is unsure of bitwise ops
Reviewed by: Dan McDonald <danmcd@nexenta.com>
Reviewed by: Albert Lee <trisk@nexenta.com>
Reviewed by: Roland Mainz <roland.mainz@nexenta.com>
Reviewed by: Richard Elling <richard.elling@nexenta.com>
Approved by: Albert Lee <trisk@nexenta.com>