> +     if (is_multi_taskfile(tf)) {
> +             unsigned int multi_count = 1 << (cdb[1] >> 5);
> +
> +             /* compare the passed through multi_count
> +              * with the cached multi_count of libata
> +              */
> +             if (multi_count != dev->multi_count)
> +                     ata_dev_printk(dev, KERN_WARNING,
> +                                    "invalid multi_count %u ignored\n",
> +                                    multi_count);
> +     }

What limits log spamming here ? Also shouldn't we error this
situation not proceed and hope that enough data was supplied not
to leave us stuck half way through a command having made a nasty
mess on disk ?
        
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to