scsi: qla1280: Spelling fixes
s/quantites/quantities/ s/Unfortunely/Unfortunately/ Link: https://lore.kernel.org/r/20210315021610.2089087-1-unixbhaskar@gmail.com Acked-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
Родитель
2ed0fc2b9a
Коммит
1bf5fa1a29
|
@ -633,13 +633,13 @@ static int qla1280_read_nvram(struct scsi_qla_host *ha)
|
|||
* to be read a word (two bytes) at a time.
|
||||
*
|
||||
* The net result of this would be that the word (and
|
||||
* doubleword) quantites in the firmware would be correct, but
|
||||
* doubleword) quantities in the firmware would be correct, but
|
||||
* the bytes would be pairwise reversed. Since most of the
|
||||
* firmware quantites are, in fact, bytes, we do an extra
|
||||
* firmware quantities are, in fact, bytes, we do an extra
|
||||
* le16_to_cpu() in the firmware read routine.
|
||||
*
|
||||
* The upshot of all this is that the bytes in the firmware
|
||||
* are in the correct places, but the 16 and 32 bit quantites
|
||||
* are in the correct places, but the 16 and 32 bit quantities
|
||||
* are still in little endian format. We fix that up below by
|
||||
* doing extra reverses on them */
|
||||
nv->isp_parameter = cpu_to_le16(nv->isp_parameter);
|
||||
|
@ -687,7 +687,7 @@ qla1280_info(struct Scsi_Host *host)
|
|||
* The mid-level driver tries to ensures that queuecommand never gets invoked
|
||||
* concurrently with itself or the interrupt handler (although the
|
||||
* interrupt handler may call this routine as part of request-completion
|
||||
* handling). Unfortunely, it sometimes calls the scheduler in interrupt
|
||||
* handling). Unfortunately, it sometimes calls the scheduler in interrupt
|
||||
* context which is a big NO! NO!.
|
||||
**************************************************************************/
|
||||
static int
|
||||
|
|
Загрузка…
Ссылка в новой задаче