Re: [PATCH v2 1/5] ACPI: add in a bad_madt_entry() function to eventually replace the macro
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Timur Tabi <timur@xxxxxxxxxxxxxx>, Al Stone <al.stone@xxxxxxxxxx>
- Subject: Re: [PATCH v2 1/5] ACPI: add in a bad_madt_entry() function to eventually replace the macro
- From: Al Stone <ahs3@xxxxxxxxxx>
- Date: Wed, 26 Aug 2015 14:30:25 -0600
- Cc: linux-acpi@xxxxxxxxxxxxxxx, "linux-arm-kernel@xxxxxxxxxxxxxxxxxxx" <linux-arm-kernel@xxxxxxxxxxxxxxxxxxx>, linaro-kernel@xxxxxxxxxxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx, patches@xxxxxxxxxx, linux-pm@xxxxxxxxxxxxxxx, linaro-acpi@xxxxxxxxxxxxxxxx, "Rafael J. Wysocki" <rjw@xxxxxxxxxxxxx>, lkml <linux-kernel@xxxxxxxxxxxxxxx>, Len Brown <lenb@xxxxxxxxxx>
- In-reply-to: <CAOZdJXXCnb7ChYqh-QYptTQBmfESDPaauThHyu8Dav6Qs_+4Bw@mail.gmail.com>
- List-id: <linux-ia64.vger.kernel.org>
- References: <1440022048-6285-1-git-send-email-al.stone@linaro.org> <1440022048-6285-2-git-send-email-al.stone@linaro.org> <CAOZdJXXCnb7ChYqh-QYptTQBmfESDPaauThHyu8Dav6Qs_+4Bw@mail.gmail.com>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0
On 08/26/2015 09:38 AM, Timur Tabi wrote:
> On Wed, Aug 19, 2015 at 5:07 PM, Al Stone <al.stone@xxxxxxxxxx> wrote:
>> + pr_err("Variable length MADT subtable %d is wrong size: %d\n",
>> + entry->type, entry->length);
>> + return 1;
>> + }
>> + }
>> + } else {
>> + if (entry->length != len) {
>> + pr_err("MADT subtable %d is wrong size: %d\n",
>> + len, entry->type);
>
> Can we make these a little more descriptive?
>
> pr_err("Variable length MADT subtable type %d is wrong size: %d,
> should be %d\n",
> entry->type, entry->length, len);
>
> pr_err("MADT subtable type %d is wrong size: %d, should be %d\n",
> entry->type, entry->length, len);
>
Sure. It's always a fine line between verbose and not enough info.
--
ciao,
al
-----------------------------------
Al Stone
Software Engineer
Red Hat, Inc.
ahs3@xxxxxxxxxx
-----------------------------------
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]