From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752209AbdLHA7M (ORCPT ); Thu, 7 Dec 2017 19:59:12 -0500 Received: from userp2130.oracle.com ([156.151.31.86]:33827 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750973AbdLHA7K (ORCPT ); Thu, 7 Dec 2017 19:59:10 -0500 To: Arnd Bergmann Cc: Anil Gurumurthy , Sudarsana Kalluru , "James E.J. Bottomley" , "Martin K. Petersen" , Johannes Thumshirn , Hannes Reinecke , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] scsi: bfa: fix type conversion warning From: "Martin K. Petersen" Organization: Oracle Corporation References: <20171206141444.634681-1-arnd@arndb.de> Date: Thu, 07 Dec 2017 19:58:52 -0500 In-Reply-To: <20171206141444.634681-1-arnd@arndb.de> (Arnd Bergmann's message of "Wed, 6 Dec 2017 15:14:18 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8738 signatures=668644 X-Proofpoint-Spam-Details: rule=notspam policy=default score=2 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=2 mlxscore=2 mlxlogscore=179 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1712080012 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Arnd, > This changes the code back to shost_priv() once more, but encapsulates > it in an inline function to document the rather unusual way of using > the private data only as a pointer to the previously allocated > structure. Applied to 4.15/scsi-fixes, thank you! -- Martin K. Petersen Oracle Linux Engineering