Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4071185pxf; Mon, 29 Mar 2021 21:00:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7vo5nihdeIfBNVFhluWjTs35E1aCRbAuYICjVZHo82nCBnXFGaWeBC+qSubNeXSk4RuNU X-Received: by 2002:a05:6402:13ce:: with SMTP id a14mr31678654edx.365.1617076815185; Mon, 29 Mar 2021 21:00:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1617076815; cv=pass; d=google.com; s=arc-20160816; b=kiFKzURL/z4Gb+7P/L6U8pjKbjmOGyeOlyztPGLgOG3XyPXH8MvV7uIZQNdKs4ssJt DyAIdZ63yCzpJFVgl9yr3cd3o1tklsHynYSqJYHN1hc5k8hg/E7Ja9rS1ictZbkkXj8t mnc5nvybm7Csbb1oMza2j4CQD9e5nXizPDLRFIkgtTtXqbL4c13+a2cwaOfOoyRpSDFg YqdR0INvzOXe7vmZTFppDFqfj5UT+3KOkBhlYinv89zJDKXDVed2AALj5MRoaVo+3PtO M8IEdnwfDT3BoSk471qe6iJc4e/j5mQdRq9/7WYxdvWCnHsMPTvnfNa/cZ4lijKo5hAr zORA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=0mNVO2gQVdSUui9CWdcm7JNY1ZEpC5REG9fxKSzCQRk=; b=zmwKjXn2/eXIRuxmTBr5IICZSb7W9UVdyeGbML2VPJ/eh0LOcP6YSpAv/+InLNCway 2CvFeHFwh+WPAFrbfjijSIoZC9TS6b+r1jjTm3UHEyv0tdYsN4pdWefrUt3wqtEUxGS+ Hz8IZ3BKMrwac7dX9JHkM9wxVHW3hYwsHHxK+yXbhgqyJwF7tBrgdCtk+QqpORE2wbq6 svIdQvVFnGbsSUsSAN+yHrvVzRFviwLbZzx4kk088JCvt4KEibveNmjKQMLF+gbdgaqg FmEgf6Y9NHfmNbxUD1A3z6axCE3jHPmdTpSwiT1mwtf9WQVW2bGZzwJWKV2rvFkJWIxU 36kQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b="UxEXP1/P"; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=yhZarx4D; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id wn9si815698ejb.491.2021.03.29.20.59.53; Mon, 29 Mar 2021 21:00:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b="UxEXP1/P"; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=yhZarx4D; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231596AbhC3D4H (ORCPT + 99 others); Mon, 29 Mar 2021 23:56:07 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:60876 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230447AbhC3DzV (ORCPT ); Mon, 29 Mar 2021 23:55:21 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 12U3j4q6141734; Tue, 30 Mar 2021 03:55:01 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-type : content-transfer-encoding : mime-version; s=corp-2020-01-29; bh=0mNVO2gQVdSUui9CWdcm7JNY1ZEpC5REG9fxKSzCQRk=; b=UxEXP1/PB1RA+rqkWMVGJeYELtO4QpFwkDSc9vgv3fsFKH6yOoEQysa84PPjDWeg6zWC 24kdS1T6zxImxm/A6XnOyd/aWWT9SlG32u4CsuSkbDxMi+bJJI9ASdSmBiXWtYz4X29t NCoDmHUcQWSKKmrqHsx6VKXThlqNbFbsCUTmx2MoWEBmv4mJjVTRKQ7oe1HhqER2KYn1 04kMpve1OT1MgFP0Pr8NfhQmm8pjFFoSUa/SqNTKUxarGpYAaelMvjU7d8yXPNxGG/fv cYl3lq+6MyMCCRvcxGWgRlLzbAAvvsZnqjB9vBJWut+k1VQY8A83SJd9jebfy0dT5dsi KA== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2130.oracle.com with ESMTP id 37hv4r5k31-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 30 Mar 2021 03:55:01 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 12U3iXTS039487; Tue, 30 Mar 2021 03:55:00 GMT Received: from nam02-dm3-obe.outbound.protection.outlook.com (mail-dm3nam07lp2043.outbound.protection.outlook.com [104.47.56.43]) by userp3020.oracle.com with ESMTP id 37jefrkt1f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 30 Mar 2021 03:55:00 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Qn2paTpV1g9Rar3jzOisYsSevqY/h4fNlIDDw/Ed4O01HDxJtCOGrlimhMlC3df3ERhDXVe1CtJ7a4hZZ1tSvuou4JqM7tzyBGNr7XnodHhOC5yBDaogv8aZUv3z/tkhH7LUMpH6oDcnCx188rZll+4U3h2nDIi7S96uGOxlqWwpUScLpyKU5wSZ+2sqG3CCrcDK2Ixz46awuPydzuVSR0dE4nnmh2lK0rM2MF1CsZpzmInjlZNoTO4Ro0BHB/4VvCwUwRHZo2LCKNdT45+QUEIxJom14INLFgquYFF+5IQElgpYRhInA72nLxf1c55yfEhiqZckibC2SMi/2FX25A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0mNVO2gQVdSUui9CWdcm7JNY1ZEpC5REG9fxKSzCQRk=; b=AvfFGks+0Enn9d7wYKOtm89jB5PCx1yYjY397NFuLluAR0fEAGW+aLbC0iimMONJIvU6TBxKyr7+AUbcKdg5TxAhYRHgzdJAuoRw1bZcR7LMcl924Q9FAJtcj+fsOFPDTX7Bln+nUeN+cHtY1F4HStNXwLzI0KBKIJmlj1ibqaX9xkZEGICwRLqsFjGB189QAeoeYAMEHYDa4PY6jOgWVrm0ZMwzbTZEdnR9HswKjaxSXuoQXLH0OCDktbpF12i5ux8hg9FSGAkKiu5ABrs2W8A865LK0dOrCyVpisoww7l4LGXdDQ6rT//2/3KRES3wTQ/zNCEb86B1N7pLimEZ+w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0mNVO2gQVdSUui9CWdcm7JNY1ZEpC5REG9fxKSzCQRk=; b=yhZarx4Dj4CjcdmEdugUrnSTsDBc5eaXyuEaDTIcsJkBHjgQ40dpaI8Kei1DELYKRzrQmToN7griLo3iMRagOo15Kw+iG3cNkUIFrv1BpLCCVo419VF8NNmrBdp6PwQBhgF6HLfa+2wi9ACtToNUF8cr0d/fpXwuJY7tV9NueGM= Authentication-Results: neukum.org; dkim=none (message not signed) header.d=none;neukum.org; dmarc=none action=none header.from=oracle.com; Received: from PH0PR10MB4759.namprd10.prod.outlook.com (2603:10b6:510:3d::12) by PH0PR10MB4758.namprd10.prod.outlook.com (2603:10b6:510:3c::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3977.25; Tue, 30 Mar 2021 03:54:59 +0000 Received: from PH0PR10MB4759.namprd10.prod.outlook.com ([fe80::dc39:c9fa:7365:8c8e]) by PH0PR10MB4759.namprd10.prod.outlook.com ([fe80::dc39:c9fa:7365:8c8e%5]) with mapi id 15.20.3977.033; Tue, 30 Mar 2021 03:54:59 +0000 From: "Martin K. Petersen" To: oliver@neukum.org, Jiapeng Chong Cc: "Martin K . Petersen" , lenehan@twibble.org, aliakc@web.de, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, jejb@linux.ibm.com, dc395x@twibble.org Subject: Re: [PATCH] scsi: dc395x: Use bitwise instead of arithmetic operator for flags Date: Mon, 29 Mar 2021 23:54:34 -0400 Message-Id: <161707636878.29267.14628600051488313821.b4-ty@oracle.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <1615261153-32647-1-git-send-email-jiapeng.chong@linux.alibaba.com> References: <1615261153-32647-1-git-send-email-jiapeng.chong@linux.alibaba.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [138.3.201.9] X-ClientProxiedBy: SJ0PR03CA0231.namprd03.prod.outlook.com (2603:10b6:a03:39f::26) To PH0PR10MB4759.namprd10.prod.outlook.com (2603:10b6:510:3d::12) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from ca-mkp.mkp.ca.oracle.com (138.3.201.9) by SJ0PR03CA0231.namprd03.prod.outlook.com (2603:10b6:a03:39f::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3977.24 via Frontend Transport; Tue, 30 Mar 2021 03:54:57 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b9454562-1965-4ae3-4d0b-08d8f32f968d X-MS-TrafficTypeDiagnostic: PH0PR10MB4758: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4714; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: E2QKSO/Wzb6I17e69lfU1fuenVeIlaH9vXKUy6ItuGNMR4Up4GRKFOETcPM6baDByK/9/Yx8gNgAjCLFtFDRrtxpx5Sv28O6NYiVDjANR7Kv8N+3urARrEcXvRPrMSIxBXt5bYLM/XXw4Iso7t4PJ9/yVP38su/qF81HEN74pJXWSxFJPMv4tYOsofSMEbMyHJ/YXDtuFY02eIl8FZLXE5DILU2pH+Pcg9KG6QSjH7r1GolMphOqV8BOsIK7/rBR8ZlSRQqFsgUvA3hLcUC00m6Fte+P5dub892mOLT7K1+PthvmAIlQonBLdZnw2+eLZDICGV3LlbRpZgI2AH9teFKrZI+jqynzPOQeuTQ7JDXXcpugjpUQdt/HFydBmZ/FNHDiLfHOZl+uAchvIHj/S+rd3rbdun0IyoFch6WyNL9U/rvm586nFDtDhAtkH06IvJvDNB5iOMejhhlEW+t+/3HEFQj8OF4nN+RE6+Zg10PMCEThVSe31O1VVwCoFdaQehKE0Vua2MMA3rYoVHlay1Zb4B7PtKjIaJcZzCbYt4CeFpoDcaMRE3Sku+YxZiF2oGgFnHijHdS6a/1zaUA8IkMMtIwbhckaeGhl2J+jb9Qek1H+w52/uuzk/6M/qbT9D6vfTP/m0nfleD+f8qfF7FtmFsBxlowO8Cq0YVBIBG4vML14fqfwHIyOR8CmV/JUGLS4TLfQ+yFzhuhm9IHigGL/bqlvt7S9e3uqJUQ24HQ= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR10MB4759.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(346002)(366004)(396003)(376002)(136003)(39860400002)(2616005)(16526019)(6916009)(8936002)(4744005)(956004)(6486002)(8676002)(966005)(4326008)(66946007)(66476007)(36756003)(86362001)(2906002)(103116003)(66556008)(52116002)(7696005)(186003)(26005)(478600001)(38100700001)(5660300002)(6666004)(316002)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?B?SldtOXdFOWZoM0xOTm82aTQ1amdNb2V5WnlMbUFtemdxQjN1MEZBQVEvaDgy?= =?utf-8?B?OXBnd2ZNZkxXSlYxajJEY0t0d0NVRkRsYXFldnVGaWlTVDR2TStnUVBrZklm?= =?utf-8?B?b09HWFhmQkhHUVJEUUQwNkJTMmRhSnZMT1dIVEM2UUhWaGdud2FqTmN2eHdU?= =?utf-8?B?SnNTQkkxTFZWa01xa1R5bU1XZkJRV1gzNHRZWGFqTEc3RStWTkZ3aWRrUmlG?= =?utf-8?B?MU1tc051TmZnc05DWDZBZWZXWnNaVkx6cjhYTkZPR3FDbkZoOE8zY2hpYWtI?= =?utf-8?B?Q1B3c2xIaERacUNEM3d5U3RFOUpXRkM2TUYvOWd3c2c0amsrVEg1d1ZmZGR6?= =?utf-8?B?RTUwemp5eTlWTlpNeHJubmVUMFpDQkx6WE9sRUY1NTJ4YWlwWEpFZEVZNldp?= =?utf-8?B?WTU5TjFYZFJ2NDdRZzMybVNPZmZ4VnZCNUtYVVczaW5YWVpMRFdZRXZ4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FTdFhQMlRpS2liK3Q1d01B?= =?utf-8?B?OXFqMytaRHVxdjZnZ2VDalQzMlBxcitLd2RObGdidnQvcjEyTUoyRStVTkZI?= =?utf-8?B?bmR4U0dETjI3cjVTREVuODBEMS9ibndxY2h1RERSQ1JvQkdsTm80ZE5yRXlU?= =?utf-8?B?NWE2SXZSRWpMU3UxWEQ3bzZ0ZlQzN3A4Q2hQRUdYakpLWVV1WUlWQ1pESnV6?= =?utf-8?B?VnBGczNZSXBzZWE2dkxBUWc5TjQ3aTRMckI4V3BJd3dwK290MXY2RWU5Tldy?= =?utf-8?B?Z0JENmRLYTNXSytBRVJHUjZ6NWo3Qjl0YWlPMU1ZbzVvaTkxU1RpNHRIeDRL?= =?utf-8?B?bWNCd1R2cWljbjJtSlVIOXMva0lkUzVZVzF5K2IyMDZ5ZVZEZEVVT3pTVm9S?= =?utf-8?Q?nUy0gf4r+T4F9mVUzmtUyCiXKE3hZeGewjah/oV?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: b9454562-1965-4ae3-4d0b-08d8f32f968d X-MS-Exchange-CrossTenant-AuthSource: PH0PR10MB4759.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Mar 2021 03:54:58.9920 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: K+rlQPmWmMJzKXKrcHWQolnsKa4rFrgzv/BQH+y7XHn/XBHyhOpWbhIoLRtf/nAhYMg+RXfdfTfYYvB16E+a3vVzbUpe5Ce2EbQTJ1hYiC0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB4758 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9938 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 mlxlogscore=999 adultscore=0 mlxscore=0 malwarescore=0 bulkscore=0 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2103250000 definitions=main-2103300023 X-Proofpoint-ORIG-GUID: VRi4SDLTsSwxFLIbvZIGv3Q95uxULHdh X-Proofpoint-GUID: VRi4SDLTsSwxFLIbvZIGv3Q95uxULHdh X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9938 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 phishscore=0 adultscore=0 mlxlogscore=999 malwarescore=0 spamscore=0 suspectscore=0 clxscore=1015 bulkscore=0 lowpriorityscore=0 impostorscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2103250000 definitions=main-2103300023 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 9 Mar 2021 11:39:13 +0800, Jiapeng Chong wrote: > Fix the following coccicheck warnings: > > ./drivers/scsi/dc395x.c:2921:28-29: WARNING: sum of probable bitmasks, > consider |. Applied to 5.13/scsi-queue, thanks! [1/1] scsi: dc395x: Use bitwise instead of arithmetic operator for flags https://git.kernel.org/mkp/scsi/c/973c920811bc -- Martin K. Petersen Oracle Linux Engineering