Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4070301pxf; Mon, 29 Mar 2021 20:58:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznfDtB47uLYtkrSa913FIc82HapuzhsYbZRfVnbw71fTK6EYS+xhzTgnpk0+x7GV6ZCTgD X-Received: by 2002:a17:907:76b3:: with SMTP id jw19mr30759327ejc.202.1617076683370; Mon, 29 Mar 2021 20:58:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1617076683; cv=pass; d=google.com; s=arc-20160816; b=UFw0W0GeXJkiAHdQuWqaHtl2v+n2R+XA2Ed+XQA14dlIR5qnRPX3yOW/c0VWmm3s4n EljraB5749NnNu2uxKHmDztLmv4ZMm6dNBPC9vuB4bxXnTwpAtqu0/4E+t+FTvNtMMsG LC1tMFblDHnSz6ej4/RlB5t9YzHbs3R5OnOURNpnNMuQq15mEyXMGZD5NCVfB4qT3+o6 +mSeruZUkGt4PePCgcV+oJCCcegzWQgudJmtTxgteuAW9BS1hpXEvKEhJpsw1zmZNLRI uiomSy11FAFUW4aPy4efwB6aIrrpa9Pcbj26Let+ZeXVAYcN0TgzAWzVEyJa8mWgc76z wxWQ== 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=bsTRYMNCuQQjKFWO0NDS+CwmMgeJAxFOZepEArMTBdQ=; b=zUzjRpNmgtZj7JovM4UflAROsf+HazdEayroRTgkMbPAiRahsCsyXREJwFvfbKTEtg xiiVkYT2t/x9tVJiKqO17svDLmlHxngvFPsuspiiLJN7Vs3tjUVKv6H0gvpX/j/kl6DH LSe/cr0NajVs/N8MEsjaecU1QU0Ujdw9vPj+cnTmvrb2dGDw5dgtV8bfLIWV20Ga+cJc DINIuFasMD3p6i0wbXnA5XjpS+TOheQiHI8XtSv+z3qdsY30FCeOh8Z4/CwPqiM2NzVb xPtWU13ch7pnzL8GUNRfkR4YzK9gLXRKPGCjFidUqWlxq7vz8jHpZrsUkhViVSkU3NwM 30Wg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=Ze3G3ANL; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=WQJIuzoH; 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 jv2si9501966ejc.161.2021.03.29.20.57.41; Mon, 29 Mar 2021 20:58:03 -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=Ze3G3ANL; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=WQJIuzoH; 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 S231464AbhC3Dzu (ORCPT + 99 others); Mon, 29 Mar 2021 23:55:50 -0400 Received: from aserp2130.oracle.com ([141.146.126.79]:42590 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230334AbhC3DzM (ORCPT ); Mon, 29 Mar 2021 23:55:12 -0400 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 12U3m0sg004478; Tue, 30 Mar 2021 03:55:05 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=bsTRYMNCuQQjKFWO0NDS+CwmMgeJAxFOZepEArMTBdQ=; b=Ze3G3ANLimnyQW1ogGXBgnZR15zEqpgC1gDGzKHrJvWXCttNe8dNju33t9Nsf5NoV/I8 dfCjlk+QzKN9VYCsj1FI/zL8ktYxOXhgN9GxmZ0prGNzKPeAVD0XHMb10tx9ZvhIPSB5 BawWYefzoN5t5BRWVKZjGOlEQGJ3nu/7jAom27VTN2mSOv92fEJMRdcFPMQJQDEFx8tM vqzrEKtsMGcO+MeXkgy1CekXu7nvnfGfp/spLNqgQ2QzUCWFd4Of8t8VXgzL3KIQhl8D cpd7K6nnxoTO6+6OSXtq9rRddlW1bzVlkrEdTBQ0k4tbflTGc1qCOsnZe5g8E+b4IJPs VQ== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by aserp2130.oracle.com with ESMTP id 37ht7bdq51-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 30 Mar 2021 03:55:04 +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 12U3iXHZ039539; Tue, 30 Mar 2021 03:55:03 GMT Received: from nam02-dm3-obe.outbound.protection.outlook.com (mail-dm3nam07lp2048.outbound.protection.outlook.com [104.47.56.48]) by userp3020.oracle.com with ESMTP id 37jefrkt4g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 30 Mar 2021 03:55:03 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UNp3QQpal8y96n/Am+5ZVKjs/knIe/BC6/c/okf+IVo0/bru1uRZya3OWmOH8N+uD9ZWnXdcYZm3kRSdAZwSM9HwBI++yLXV9mhjwJeHgiq7cvSqd4h5wW+0U0cPv4YRRVYw0rl81LPp5D3KQ+a4VKaHBCJ6S6cSehOUZXSYx5dta987SMf7vJmMzDyDbfGlFxjnyv+VfFoQohpwFV91kEz6FG4XBUcreNmbeKCNWEBizGlyB1WJuz7BCjpss6YDYzLPXF18Vn+/TsdUX2FSE8TlIsPSPCvmtcR9da6XGyMGMalL/ZdqcqNnE+q3wr/oVrOmpSQWMEkHFwUhd7c/SQ== 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=bsTRYMNCuQQjKFWO0NDS+CwmMgeJAxFOZepEArMTBdQ=; b=YrIviWs+W1SSghTEnayYRR4U+IF6YUPnAWvI2O0AbSfyz3auerDWNz0Dy3Ou2LPfxeaI9+HtXuMxn5jGsw1Ci1+2Gf72w7T1QCjngVpKulOyxL1HgSSkczdbCuCUo/VoK5fiFibPj5gzYHY2na6Rc4t3G1fzsJcagzDalzJ6EHV+qS1IIhK8exJP/D37YqWwLFopP8qQneon45t0z3uZ+hZDq9krjwGF5b6AQKeEL8KA8wb6MW5riwQ23qYrT1DmQ2pMYtu82bp07FVrOvackAFFrbDWOVkqssDkGzUaf3LAAsELAUOU8MA2z3oPyr5l/5H6hTYl4GQY8pYo+4YXng== 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=bsTRYMNCuQQjKFWO0NDS+CwmMgeJAxFOZepEArMTBdQ=; b=WQJIuzoHcNLSZjkIrEVEz5mapDpUPn1PGFTKWJClgSWxe6iBnGRKweDXcxKBs1QlBhgnL7t+9EtZI8VcqmnrqiB0BOZwLw103duhSb0kXKlxO9jmHIdCsjIRVQ6jrgb5vNEGQDIXwwjcemmotxrFFooi3/5PDQxln0mdKbUUFN4= Authentication-Results: linux.alibaba.com; dkim=none (message not signed) header.d=none;linux.alibaba.com; 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:55:01 +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:55:01 +0000 From: "Martin K. Petersen" To: Jiapeng Chong , mdr@sgi.com Cc: "Martin K . Petersen" , jejb@linux.ibm.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] scsi: qla1280: fix warning comparing pointer to 0 Date: Mon, 29 Mar 2021 23:54:36 -0400 Message-Id: <161707636880.29267.13219069022109115961.b4-ty@oracle.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <1615780159-94708-1-git-send-email-jiapeng.chong@linux.alibaba.com> References: <1615780159-94708-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:55:00 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 67ad1682-9288-49e4-39b7-08d8f32f980b X-MS-TrafficTypeDiagnostic: PH0PR10MB4758: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3968; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Ld6B2mc/TnIGpxul3PsvuVHPgkqlgIWibebTwYL1T+cQx1Zgzrn8pjiRXI5nLOdDiShxWww9pr2ohf0p1eqfS1O6yOmU1ihkcN47wjoXDBp/pdsV3A7YhgxTCiyDPzXq4Pbx30t9CvC5aRIidYd3nnbd5p8vL1dz9X2wwXROmtsE6ffWJ8ULm2E8MMkAEq6u7kttVfPDlcHwWNlvJxdlUbkoVLKPYUgwYRDB2eXh7UPt3AARdnm1GQTHY/OmvQE9AJXw0p0nG8aqmo29U9dIIkiS4sC8+Nb0SMMIisHlYkA54jFN0cblZMiBXOCDGCfmjhEzdU9Pw6uLdOgoYLerbwCEze27OZ7TThUAaGWnotplpEU4vRzzrld4qtd2t4/Pcy73nqKFkbIrTQtMBp0TDCVQnMnu6+cGynZ9unVWK7/UkTwbyZygHCNXztZ2tpMGuG3xX0pJjIoyKOvbiSlu2gApKy+6SyBTy+bi9CQ7ntsfjsOxj7AEb2QSnnVO8448dm5wJK60lSZhVFk0kae9mLPqnW18aCgxBwKxg3rdFq7aESlmZUHJ1Spd968cP/f49wgYIp3AUozR8VgKOk0hmeKQf7p6i6FV6LbQt0qxzstL4Wvsj8pflwP6LnTa5MhZ3zqxAEYNonIp3C22/RgoaHkZM2NNVJIQ14Cq4Yel17/tbZx0bKqELilS1qAxjYMFwORlJzBnPVxuc+iFkNLgbf4genm500h5QPYhd8uEVUw= 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)(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?dU5mN053N0MySVVCOU9BUm5DN2J2YkFaWlp4MnhuYzd0TTFaTGVjNG1IN3JO?= =?utf-8?B?S1k5TWM1blhlWUdNUW9kV084VFViR2RoQ25wMUx3VEpGdGxkTVNQem5jWTd4?= =?utf-8?B?RGJsRStCdVMwOWwrMG10UGEwM25CcmZkUkxVeENIVWJwZ0k4SDNYMEFvOURt?= =?utf-8?B?UlNtdmI3RWNDTFJzaEdFb3NsOVNlYkxIeFlvTFp4emY2cjYyQzBJQUR0T05X?= =?utf-8?B?ZEN1WVlsL3lJdzlZd2pGTDFPM2JQV3BMdE9jUEhGNUVSRnFPYll3dGd4dEVO?= =?utf-8?B?YkVqOVh2M0NRNkdmcy92ZEx6RWpnUm5DbFVPOHpSei9MTm91V08rejRyekNB?= =?utf-8?B?WDdLSEhQckZ5Mkt4bEhEaE8xRGdjSXBEbmRxemRnNmpTR0I3RDlGOUJYKzRV?= =?utf-8?B?cVFGSmhWbnhJMmR5T3ZZUGh0QUFBbk0xZzdNWk9Fd2tCRXdQYlYzRVFxcnVN?= =?utf-8?B?d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u?= =?utf-8?B?anZ4YjViMU1HenZWNmRmYk85VHpHeUlOeUN2Tkd4dHp3em14aU9OZW9GZy93?= =?utf-8?B?cmZZUzNOMGpBdzVQeUZCQlNkUXQ5UUduOHNhWXdsNkZhSHdNa2JTNE0wbDE5?= =?utf-8?B?b0ZVR2NmOG1hNCs0WjlxVWpKY0lTYVZ4NTgyUjVtNU5zZXVuRG54aWZLMnlI?= =?utf-8?B?ZnNCbDZnUkdid1VQYWV4NFZYUEdaQnJvL2xkNmZRb0VPM2RMSUJhOVBWcUht?= =?utf-8?B?azBZd2FpYW5Hd05KbmgrZkRTNm5RYXFJVnl5SW1raHkyRURNSWpSYkx0WDI1?= =?utf-8?B?Slo1dEV0ZzFBOVV6KzA0dERwK1VvM0xpaW1zZVBib3FMYndSMnNBblBOL21s?= =?utf-8?Q?y95sU3kuK+208llsFG2/z5BAh7+Vy24n2dmpe86?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 67ad1682-9288-49e4-39b7-08d8f32f980b 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:55:01.4930 (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: QqPFfNNYsMp+wX+QerX8S8FcX8xd80QZmcUyGouAdYnZpADulaQo79SSWQpT/7+a0xPTMup1enlyKQqYCa6E7KwzJqAf2qjg9WDAVLsu0Bg= 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-GUID: DuHKphi4NWUwHuAFNVYZvAcz8PExSsSA X-Proofpoint-ORIG-GUID: DuHKphi4NWUwHuAFNVYZvAcz8PExSsSA X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9938 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 phishscore=0 spamscore=0 clxscore=1011 mlxscore=0 bulkscore=0 priorityscore=1501 adultscore=0 impostorscore=0 malwarescore=0 lowpriorityscore=0 mlxlogscore=999 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 Mon, 15 Mar 2021 11:49:19 +0800, Jiapeng Chong wrote: > Fix the following coccicheck warning: > > ./drivers/scsi/qla1280.c:3057:37-38: WARNING comparing pointer to 0. Applied to 5.13/scsi-queue, thanks! [1/1] scsi: qla1280: fix warning comparing pointer to 0 https://git.kernel.org/mkp/scsi/c/3070c72155c5 -- Martin K. Petersen Oracle Linux Engineering