Project

General

Profile

Bug #709

OFUV gets its bitwise ops muddled

Added by Rich Lowe over 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
kernel
Start date:
2011-02-08
Due date:
% Done:

0%

Estimated time:
Difficulty:
Tags:
Gerrit CR:

Description

Searching for typoed boolean ops in place of bitwise:

source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3009: if (flags && IBT_HCA_RESIZE_CHAN)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3012: if (flags && IBT_HCA_PKEY_CNTR)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3015: if (flags && IBT_HCA_QKEY_CNTR)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3018: if (flags && IBT_HCA_RAW_MULTICAST)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3021: if (flags && IBT_HCA_AUTO_PATH_MIG)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3024: if (flags && IBT_HCA_SQD_SQD_PORT)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3027: if (flags && IBT_HCA_AH_PORT_CHECK)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3030: if (flags && IBT_HCA_CURRENT_QP_STATE)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3033: if (flags && IBT_HCA_SHUTDOWN_PORT)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3036: if (flags && IBT_HCA_INIT_TYPE)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3039: if (flags && IBT_HCA_PORT_UP)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3042: if (flags && IBT_HCA_SI_GUID)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3045: if (flags && IBT_HCA_RNR_NAK)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3048: if (flags && IBT_HCA_RESIZE_SRQ)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3051: if (flags && IBT_HCA_BASE_QUEUE_MGT)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3054: if (flags && IBT_HCA_ZERO_BASED_VA)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3057: if (flags && IBT_HCA_LOCAL_INVAL_FENCE)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3060: if (flags && IBT_HCA_MEM_WIN_TYPE_2B)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3072: if (page_szs && IBT_PAGE_4K)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3075: if (page_szs && IBT_PAGE_8K)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3078: if (page_szs && IBT_PAGE_16K)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3081: if (page_szs && IBT_PAGE_32K)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3084: if (page_szs && IBT_PAGE_64K)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3087: if (page_szs && IBT_PAGE_128K)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3090: if (page_szs && IBT_PAGE_256K)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3093: if (page_szs && IBT_PAGE_512K)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3096: if (page_szs && IBT_PAGE_1M)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3099: if (page_szs && IBT_PAGE_2M)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3102: if (page_szs && IBT_PAGE_4M)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3105: if (page_szs && IBT_PAGE_8M)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3108: if (page_szs && IBT_PAGE_16M)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3111: if (page_szs && IBT_PAGE_32M)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3114: if (page_szs && IBT_PAGE_64M)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3117: if (page_szs && IBT_PAGE_128M)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3120: if (page_szs && IBT_PAGE_256M)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3123: if (page_szs && IBT_PAGE_512M)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3126: if (page_szs && IBT_PAGE_1G)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3129: if (page_szs && IBT_PAGE_2G)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3132: if (page_szs && IBT_PAGE_4G)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3135: if (page_szs && IBT_PAGE_8G)
source:usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c@13283#L3138: if (page_szs && IBT_PAGE_16G)

Are all bogus.

Also available in: Atom PDF