Skip to contentSkip to conversation

ARM: Fix kernel panic caused by unaligned access in sata_sil24

DISCUSSION Tejun Heo 1 participant 2 messages Jun 4, 2010 1 message not in the archive libata

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 000301cb03e2$bf0020e0$3d0062a0$@[email protected]

Tejun Heo

author Acked-by
#1 lore raw
Quoted 11 lines · Colin Tuckley

From: Colin Tuckley <[email protected]>

Subject: ARM: Fix kernel panic caused by unaligned access in sata_sil24

The sata_sil24 driver has six 16-bit registers that are initialised with 32-bit writes. This cause a kernel panic on ARM due to the unaligned accesses which result.

This patch changes the accesses to the correct 16-bit ones.

Thanks.

Signature · 1 line
tejun
author
#2 lore raw
Quoted 9 lines · Tejun Heo
Quoted 8 lines · Colin Tuckley

From: Colin Tuckley <[email protected]>

Subject: ARM: Fix kernel panic caused by unaligned access in sata_sil24

The sata_sil24 driver has six 16-bit registers that are initialised with 32-bit writes. This cause a kernel panic on ARM due to the unaligned accesses which result.

Quoted 5 lines
Quoted 3 lines

This patch changes the accesses to the correct 16-bit ones.

Oh, but please add Jeff Garzik and add sata_sil24: prefix to the subject.

Thanks.

Signature · 1 line
tejun