[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq1lgzd7k2h.fsf@sermon.lab.mkp.net>
Date: Tue, 30 Aug 2016 22:23:34 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: kashyap.desai@...gotech.com, sumit.saxena@...gotech.com,
uday.lingala@...gotech.com, jejb@...ux.vnet.ibm.com,
martin.petersen@...cle.com, megaraidlinux.pdl@...gotech.com,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] megaraid_sas: Fix the search of first memory bar
>>>>> "Christophe" == Christophe JAILLET <christophe.jaillet@...adoo.fr> writes:
Christophe> The 2nd parameter of 'find_first_bit' is the number of bits
Christophe> to search. In this case, we are passing 'sizeof(unsigned
Christophe> long)' which is likely to be 4.
Christophe> It is likely that the number of bits in a long was expected
Christophe> here, so use BITS_PER_LONG instead.
Applied to 4.9/scsi-queue.
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists