Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4041360pxf; Tue, 16 Mar 2021 04:26:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzBMkrinUqTeL8lalMpv+n8o+2A5NhMZHeY8mY2g6Vwi7PhYzGs2A2oXW0xT5aUDbBNi/2E X-Received: by 2002:a17:906:a2d3:: with SMTP id by19mr28427449ejb.98.1615893997837; Tue, 16 Mar 2021 04:26:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1615893997; cv=pass; d=google.com; s=arc-20160816; b=qpkrUQnpNPKI3FsxaToAr3S1C1MKy3sK0G/VWnK1afREqrzciIrKsQr5cfoeLuk5Yg mPyteVXYbY94kXsx5Tbe2xgP46ingL8YRFrBL/120hRHsleZcuVA1xFd27y2i7afIkeb gvo9C9JXncorjkgwsjpB9Wp04pzZhulN214ExzMcwzRv1UOj/kHKR2bYpSz8hMkN0QFZ lwIDlldGx7O5+ZuBf6eqA/SsGGQqrnZw93MZoJ40PIxT/GiOFvOwSbq77YC87g9IX8tB 6Xhe1IbZGXn/v7img+tK4TBqSHG2yQ+vHUUK8arwHwbcR2zEwJp1ucQGxP3flhSlJi1E SBUw== 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=qcR7eJ7cxtsWJ97NEmcytwCm5djdPMHEtB7+xCdftuY=; b=ycuwjqe1paCTughsWtfV7pNCeoeW1e6pwASBwhETuGB3XUBWSeO4rDV99+1lhHKbdZ dpxtz4uZTbCDiO/Uq1ejWqvetE42j3ZvNefAZnwklUlrQArLJVIrA0sImE3jDizDYEbu BzCUfegavZDdTccTWgV/JrZbRneDtPdJIEk176nj1H6s3EPnaKv/KzJ4F7B4pqKyur3u 7UFShs0MLHVeCtz48UnzyRr/8G7SH1O2R5++Zolpv+71XXQcR5jm+gUfKWh4MHrC7ieH g80rXcR2wqjQmh0KV03wklc0sl5UrHe0j9nrECveYL1fCkHvpbrPow17OUGwhUNiN12q dCxg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=Orox3l7p; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=UZH0NdCE; 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 p15si12106856ejr.236.2021.03.16.04.26.15; Tue, 16 Mar 2021 04:26:37 -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=Orox3l7p; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=UZH0NdCE; 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 S234830AbhCPDQU (ORCPT + 99 others); Mon, 15 Mar 2021 23:16:20 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:49980 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234849AbhCPDPv (ORCPT ); Mon, 15 Mar 2021 23:15:51 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 12G39Y1b057859; Tue, 16 Mar 2021 03:15:24 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=qcR7eJ7cxtsWJ97NEmcytwCm5djdPMHEtB7+xCdftuY=; b=Orox3l7pd661AJHOatLoKEF2Bspv19/3VG1nUEd7aQLAsao1bu6XV8FqtZ/OBkjzsEA7 gd63pW87k1XFWRwvKdXCUmqemu/C/PoQIPQOyk39Vvu5UtuKk29y003rbDDu6N+Qwyo/ QcH+eBNOHZzV8IRj3dTBehU+qpUlezDPIzT2URql2YAYD0nHGdKHYVMb7woLLMfWP6YO 1vPVdwPEZSZSJ3ODmQUHpmkLFk/fslURi3IbVPY/SQ9mZ92ZkF9TP2d2uHwx9b3tWHWK MUlYZFYy3g/IhpYegmlZWgL3OMqvHsOJ4gwuBYLa/49f+b5wBVdsK7pTLtSox+QqgBPY +w== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by userp2120.oracle.com with ESMTP id 378p1np3vh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 16 Mar 2021 03:15:23 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 12G3AZMZ193642; Tue, 16 Mar 2021 03:15:23 GMT Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2106.outbound.protection.outlook.com [104.47.55.106]) by aserp3030.oracle.com with ESMTP id 3796yswbhx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 16 Mar 2021 03:15:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TnXZ6AF62DSdgoSv9/Gnn9DkL26dvOaIb8qDFuejSUIJk2nnm0Aor5W9Ym+czB4AhPukQzNy2SJ5mtzg7pwJTqe1QE4kEePpBAK9fj4QcZpdqvKd1TWdufxoWoYh/2TbOFInqky1MbIgnRffwgD0RoDIyeO5jTVcr0NNct0yXx49EL20vOd+rVA1q+FwzOPX4FmDL4D5C3iOlIR5Mey1BY+bbtINWo7hgVNaT8t3pouFpulWPyo0glZmm7+DlR+6ausg3xadGCwewi5oZfzMoVzk57co3YiiasddZMbJQ3CCiaMtHLAmaaVHWpzE3biwL6w3IlgaMxbzYManw2C5Og== 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=qcR7eJ7cxtsWJ97NEmcytwCm5djdPMHEtB7+xCdftuY=; b=AL4SyEICGbsOgEI3mXsmZQp2MN40WCJMSj5Dt2w3h/Sf590c+whwZnpZ45EgZnjySgOfol3Hg8r4wFewt7CWyhp3ZPtMRMgI3hRMTbTyjk2RQcRTVXvHRooeXFOnGbsG/pf9a4TFNjEQ3P1pi5RWnbm9SxSoBmW+oQ54wpQXSEVAECjlEOG4Mi3B9SdkwWV9HkgAsVMSaP3mrXFqu+7kb0Ulk3cxqU3Hh/jSARd4/CkLypLaec008xkssnxgp15hbAHcatsidT8jAHSB56ktuQBunRYYI5VAJG2iFdwCtJ+Xe6pHMzriAlSx2CQm3mNXjXk2Vy+AS727psbYgyoZYg== 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=qcR7eJ7cxtsWJ97NEmcytwCm5djdPMHEtB7+xCdftuY=; b=UZH0NdCEnWZyi+mdd2lilYDqdyUreMEWTvFSM+vuaQljZJatj9Y/WaW0ILi7oe7qvTRPkGPsnjxTEnVXA8mgsrBoKg6noIsju0KK4KULI6lZ6EOW/kWD3/BhFROo9B68mJOtcpFU0uG5vVI6qEEeC414wZi85w/nRFO7AAU+oc4= 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 PH0PR10MB4805.namprd10.prod.outlook.com (2603:10b6:510:3b::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3933.32; Tue, 16 Mar 2021 03:15:20 +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.3933.032; Tue, 16 Mar 2021 03:15:20 +0000 From: "Martin K. Petersen" To: Yang Li Cc: "Martin K . Petersen" , jejb@linux.ibm.com, linux-scsi@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, mpe@ellerman.id.au, linux-kernel@vger.kernel.org, benh@kernel.crashing.org, paulus@samba.org, tyreld@linux.ibm.com Subject: Re: [PATCH] scsi: ibmvfc: Switch to using the new API kobj_to_dev() Date: Mon, 15 Mar 2021 23:15:00 -0400 Message-Id: <161586054343.25014.6589316165995710954.b4-ty@oracle.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <1613976429-89853-1-git-send-email-yang.lee@linux.alibaba.com> References: <1613976429-89853-1-git-send-email-yang.lee@linux.alibaba.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [138.3.200.9] X-ClientProxiedBy: CY4PR02CA0012.namprd02.prod.outlook.com (2603:10b6:903:18::22) 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.200.9) by CY4PR02CA0012.namprd02.prod.outlook.com (2603:10b6:903:18::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3933.32 via Frontend Transport; Tue, 16 Mar 2021 03:15:18 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b5c349b9-88d5-4cf7-02ee-08d8e829bb37 X-MS-TrafficTypeDiagnostic: PH0PR10MB4805: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5516; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TW+GxZwaVhlyrrXmNJi3b/9h1v+VJKhw1R0wv7QOjXR7eCmWa57QctwkgoBOQzWkNi4dl1Xx7UUAPktyZHqog6yrUr3DU3xMHO1VlsZI5kybEx7zu9S2JHDtyqDVx3qVZ0SG5E1GYRwTd3D9Hn4rcgFqfgu8yL3fzim4mswB4ky54xQMI9oHzx6GSZeKq8HOmY8+QuTFmKa8KYLaK7W9oevhSpWYnXVF26mpnZp6hrGyIbk14ZeLrgelK5veiKY4nW2oU0Cuf877emsJ+nFDf+l9vzqppQySVr7jNmGhqoEUa3Bc3Z6+D4DhihOkjN22T5Ii5+g6AZEmFeqUOEchQhQtkdyoE6FDzYtzDt5EniLTmEYPSYYeyvAakSESqgT7Wc7RIhhsAwL+xXqwly+qF2oMnvz9AoFFcFAH7pQsgUYviZsBlfFH18FuGi+kxTLQjbX7W/+cN/nZ/p37aNxwkMNPhvFjAhdLOIfET7ZnNmjnKWij0TBrroMswOCHuhlvI66dJ1iokYOoxqmOyAou2jAhHupv7p1hfNDvAAkZ0N/gpbcjNmgrhkkRhNjuuOPTpYccJq0F4jQVI9QIb+hYOvG4QlSrf+zN2zSXZWmIlOYcfV6i/T67XN20lWQFFFuJjgCv7Tj2wkmDSq7b9JpKBw== 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:(376002)(366004)(39860400002)(346002)(136003)(396003)(2906002)(103116003)(4326008)(86362001)(5660300002)(36756003)(6666004)(4744005)(6486002)(83380400001)(66476007)(2616005)(26005)(316002)(956004)(478600001)(66946007)(66556008)(186003)(966005)(7696005)(52116002)(8676002)(8936002)(16526019)(6916009);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?B?bUhQQllPMHlPbkk2UGFjUkx2UDgvQ2RDMEU2UEdmVzVPQThXd1RWZUhya0Fx?= =?utf-8?B?NmJrL1dlV1ZmOEtrVXN3R2lEK2FrZ002RmVHaElodjZGcUlrSElBUkphbW1w?= =?utf-8?B?emRKVXFqTk45UWxLbitBQ3VITXBVYnFzRzlJNDZmbnlrM1dNVWlrSm9xeSsx?= =?utf-8?B?bGdFS3FrWFNxY1l3TkhQZXo3OERGeXRwd1pGaXBTZ3NZNTQyQVQ5ZHlxYWtq?= =?utf-8?B?WGI5Q3Q1b3dpV1E1SzlJd05UczkvTFhWU1laY29zZERrMldaWDJVd3pZRG5X?= =?utf-8?B?My83WnNGendIeDNzUnlDZFhERWxQNjVsQXQzSXREQmxnUS9mNmIrMndRcHVr?= =?utf-8?B?VWlNbWVWMWlla0VvS2J2UzhBbFgxOGtuZTBaeWN5dC9DaGM1YTJLWVVpTGJB?= =?utf-8?B?RzdOTXhRejNNdFN4bWhVSHl4aktTN2F3SG0yYnIxYUdBTjJiUUJTdndNZXQz?= =?utf-8?B?QXhVKy96RzlSV0NQZFFheC9LWlRpVlJ4UGFjYlEwcWU2NkpyelkrbEJjN1FO?= =?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3TTdSQ1RJNVE1RFZ3cTNiRUpuODlEZUYr?= =?utf-8?B?RVFaS1ZGS1h3UGc1cldaaW9ia2EvZmVmSFczTlRCRWJjT0JBOFUzdUsyRzd2?= =?utf-8?B?WUNSTkYyMDhKb0NoTFVuNUkwMXVmajVvd3F4ZGVHbUkwZThBUURLdjhGRGZs?= =?utf-8?B?TUxNRTNjQ3pLWmprbUk0bHR5T0JOUGNTT3N0UEowTmtyQ1JHWS91QjRSWFpG?= =?utf-8?B?NEZqMm0zYWRSUEtlbTFiUHNmY3ZNUlZReXY0bERyUVdXWWI5aDQrY0ZLZWpK?= =?utf-8?B?am15SGk2NEpqZmpyS2ZIUU85cTl2MDVOK0RQVHRJNGd2VCtKTVl3U25PWFNv?= =?utf-8?Q?qmlRkLCG3uLJ8kmSJPCsTbY27CSwQywITa9JYaO?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: b5c349b9-88d5-4cf7-02ee-08d8e829bb37 X-MS-Exchange-CrossTenant-AuthSource: PH0PR10MB4759.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Mar 2021 03:15:20.7462 (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: mIojpjBOdX5wlAE4qahkT5rKeTFcD1aQ2trPHLoIN/CuCCfDs9ZO6VUgjbafzDFMIEJt4u+bnRI8OFKfjNUSC4J/JXWkgx/f1o/J3dPN9Nk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB4805 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9924 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 malwarescore=0 spamscore=0 bulkscore=0 mlxlogscore=999 mlxscore=0 suspectscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2103160021 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9924 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 suspectscore=0 adultscore=0 spamscore=0 clxscore=1015 phishscore=0 malwarescore=0 priorityscore=1501 bulkscore=0 mlxlogscore=999 lowpriorityscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2103160021 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 22 Feb 2021 14:47:09 +0800, Yang Li wrote: > fixed the following coccicheck: > ./drivers/scsi/ibmvscsi/ibmvfc.c:3161:60-61: WARNING opportunity for > kobj_to_dev() Applied to 5.13/scsi-queue, thanks! [1/1] scsi: ibmvfc: Switch to using the new API kobj_to_dev() https://git.kernel.org/mkp/scsi/c/18c2a59a4190 -- Martin K. Petersen Oracle Linux Engineering