linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Felipe Contreras <felipe.contreras@gmail.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	ACPI Devel Maling List <linux-acpi@vger.kernel.org>,
	"Rafael J. Wysocki" <rjw@sisk.pl>
Subject: Re: [PATCH] acpi: update win8 OSI blacklist
Date: Mon, 7 Oct 2013 02:27:04 +0100	[thread overview]
Message-ID: <20131007012704.GA22371@srcf.ucam.org> (raw)
In-Reply-To: <CAMP44s0jCvzrBDuiGe=q=tJyQGSGt47aAeJJyPgEtrQB_qXq1Q@mail.gmail.com>

On Sun, Oct 06, 2013 at 08:01:34PM -0500, Felipe Contreras wrote:
> On Sun, Oct 6, 2013 at 7:53 PM, Matthew Garrett <mjg59@srcf.ucam.org> wrote:
> > No, it demonstrably doesn't. The comments that do exist refer to only a
> > subset of the entries underneath them.
> 
> That's not true.
> 
> /*
> * BIOS invocation of _OSI(Linux) is almost always a BIOS bug.
> * Linux ignores it, except for the machines enumerated below.
> */

You appear to have missed the continuation of that comment directly 
underneath which lists a subset of the devices covered by the quirks.

> > Having a per-entry comment is significantly clearer.
> 
> That is your opinion, it's not a demonstrable fact.

Say one of the machines turns out to need the quirk for two different 
reasons. How do we document that? Look, how about you add the comments 
and I'll do a patch that adds documentation to the existing entries? I'm 
not asking you to make up for other people's past mistakes, I'm asking 
you not to perpetuate them.

> And just to be clear, you are saying that in the following code, you
> have no idea which statements correspond to which sections. Am I
> correct?

No, that's not what I'm saying. But I'm now going to a bar and drink 
instead of having to justify why *clearly documenting this code* is a 
worthwhile thing to do.

-- 
Matthew Garrett | mjg59@srcf.ucam.org

  reply	other threads:[~2013-10-07  1:27 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-03 17:13 [PATCH] acpi: update win8 OSI blacklist Felipe Contreras
2013-10-03 17:22 ` Felipe Contreras
     [not found]   ` <CAANYUdCUg4GM5YX8KkokgqBGaUJjrtcHrkWaQEyhxUcivYnqMQ@mail.gmail.com>
2013-10-19  2:30     ` Felipe Contreras
2013-10-04 16:12 ` Matthew Garrett
2013-10-06 20:29   ` Felipe Contreras
2013-10-06 20:33     ` Matthew Garrett
2013-10-06 20:40       ` Felipe Contreras
2013-10-06 20:45         ` Matthew Garrett
2013-10-06 20:51           ` Felipe Contreras
2013-10-06 20:59             ` Matthew Garrett
2013-10-06 23:27               ` Felipe Contreras
2013-10-06 23:31                 ` Matthew Garrett
2013-10-06 23:36                   ` Felipe Contreras
2013-10-06 23:57                     ` Matthew Garrett
2013-10-07  0:27                       ` Felipe Contreras
2013-10-07  0:32                         ` Matthew Garrett
2013-10-07  0:50                           ` Felipe Contreras
2013-10-07  0:53                             ` Matthew Garrett
2013-10-07  1:01                               ` Felipe Contreras
2013-10-07  1:27                                 ` Matthew Garrett [this message]
2013-10-07  1:54                                   ` Theodore Ts'o
2013-10-07  2:21                                     ` Felipe Contreras
2013-10-07  2:13                                   ` Felipe Contreras
2013-10-14  3:30 ` Felipe Contreras
2013-10-14 11:58   ` Rafael J. Wysocki
2013-10-14 13:14     ` Felipe Contreras
2013-10-14 14:16       ` Rafael J. Wysocki
2013-10-14 23:04         ` Felipe Contreras

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131007012704.GA22371@srcf.ucam.org \
    --to=mjg59@srcf.ucam.org \
    --cc=felipe.contreras@gmail.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rjw@sisk.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).