From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752597AbdLHCXF (ORCPT ); Thu, 7 Dec 2017 21:23:05 -0500 Received: from aserp2130.oracle.com ([141.146.126.79]:58940 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752532AbdLHCXD (ORCPT ); Thu, 7 Dec 2017 21:23:03 -0500 To: Niklas Cassel Cc: "James E.J. Bottomley" , "Martin K. Petersen" , Niklas Cassel , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] scsi: pmcraid: use correct size unit when calling find_first_zero_bit() From: "Martin K. Petersen" Organization: Oracle Corporation References: <20171116173806.18378-1-niklas.cassel@axis.com> Date: Thu, 07 Dec 2017 21:22:54 -0500 In-Reply-To: <20171116173806.18378-1-niklas.cassel@axis.com> (Niklas Cassel's message of "Thu, 16 Nov 2017 18:38:06 +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=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=400 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1712080029 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Niklas, > find_first_zero_bit()'s parameter 'size' is defined in bits, > not in bytes. Applied to 4.16/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering