]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] aic7xxx: Update type check in aicasm grammar
authorHannes Reinecke <hare@suse.de>
Wed, 23 Apr 2008 09:39:49 +0000 (11:39 +0200)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sun, 27 Apr 2008 17:19:55 +0000 (12:19 -0500)
commit3cff7982d1755af64e2e344c21e1bacd2026a61f
tree0cb69715529e3cc007b3e398a96a3d29e008e8a8
parent406cbef5197604c1b62c211577fa3ce706a95e9f
[SCSI] aic7xxx: Update type check in aicasm grammar

The function type_check() in aicasm grammar code was
never used properly due to a bug.
This patch fixes it up and ensures it's only called if appropriate.

In addition the unused 16bit instruction are disabled, but left in
the code for reference.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/aic7xxx/aicasm/aicasm_gram.y
drivers/scsi/aic7xxx/aicasm/aicasm_scan.l