Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752624AbbETNEc (ORCPT ); Wed, 20 May 2015 09:04:32 -0400 Received: from mx0b-0016ce01.pphosted.com ([67.231.156.153]:21082 "EHLO mx0b-0016ce01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753297AbbETNEa convert rfc822-to-8bit (ORCPT ); Wed, 20 May 2015 09:04:30 -0400 From: Nilesh Javali To: Joe Perches , linux-kernel , Dept-Eng QLogic Storage Upstream CC: "James E.J. Bottomley" , linux-scsi Subject: RE: [PATCH 09/12] [SCSI] qla4xxx: Use DECLARE_BITMAP Thread-Topic: [PATCH 09/12] [SCSI] qla4xxx: Use DECLARE_BITMAP Thread-Index: AQHQkp2um+aQybURakCMOPkikQuUXp2E0U3w Date: Wed, 20 May 2015 13:04:14 +0000 Message-ID: <058691E078642A44B7C96BB0B1DB4F2481C9AC72@avmb2.qlogic.org> References: <44ce82fdac72ad8bf9fe572bc532392faddf9eac.1432085659.git.joe@perches.com> In-Reply-To: <44ce82fdac72ad8bf9fe572bc532392faddf9eac.1432085659.git.joe@perches.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.1.4.10] disclaimer: bypass Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=nai engine=5700 definitions=7806 signatures=670586 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1505200173 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1346 Lines: 36 > -----Original Message----- > From: Joe Perches [mailto:joe@perches.com] > Sent: Wednesday, May 20, 2015 7:08 AM > To: linux-kernel; Dept-Eng QLogic Storage Upstream > Cc: James E.J. Bottomley; linux-scsi > Subject: [PATCH 09/12] [SCSI] qla4xxx: Use DECLARE_BITMAP > > Use the generic mechanism to declare a bitmap instead of unsigned long. > > Signed-off-by: Joe Perches > --- > drivers/scsi/qla4xxx/ql4_def.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/scsi/qla4xxx/ql4_def.h b/drivers/scsi/qla4xxx/ql4_def.h > index 8f6d0fb..32341ac 100644 > --- a/drivers/scsi/qla4xxx/ql4_def.h > +++ b/drivers/scsi/qla4xxx/ql4_def.h > @@ -795,7 +795,7 @@ struct scsi_qla_host { > > #define CHAP_DMA_BLOCK_SIZE 512 > struct workqueue_struct *task_wq; > - unsigned long ddb_idx_map[MAX_DDB_ENTRIES / BITS_PER_LONG]; > + DECLARE_BITMAP(ddb_idx_map, MAX_DDB_ENTRIES); > #define SYSFS_FLAG_FW_SEL_BOOT 2 > struct iscsi_boot_kset *boot_kset; > struct ql4_boot_tgt_info boot_tgt; > -- > 2.1.2 Reviewed-by: Nilesh Javali -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/