<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [Patch] VIARestore function improvement"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93243#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [Patch] VIARestore function improvement"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93243">bug 93243</a>
from <span class="vcard"><a class="email" href="mailto:bensberg@justemail.net" title="Benno Schulenberg <bensberg@justemail.net>"> <span class="fn">Benno Schulenberg</span></a>
</span></b>
<pre>(In reply to Kevin Brace from <a href="show_bug.cgi?id=93243#c4">comment #4</a>)
<span class="quote">> The particular line you are referring to will be removed in the one the
> newer patch that will temporarily fix LVDS-based DFP screen getting lost [...]</span >
Then delete it in this patch instead. There is no reason to first comment
something out and then later delete it. Delete it rightaway.
<span class="quote">> > +/* Sequencer Extended Registers */
> > +/* Extended Register Unlock (0x3c5.0x10[0]) */
> >
> > Too verbose. Unneeded.
>
> The code itself contains too few comments to begin with where it is very
> difficult for a non-expert to even start tinkering with the code.</span >
Okay. But the two comment lines above add almost nothing to the four lines
below. That's why I said it's unneeded, too verbose.
<span class="quote">> > +/* Set Extended Register Unlock register bit [0] to 1 in order to */
> > +/* enable access to VIA Technologies graphics extended graphics */
> > +/* features. */
> > + ViaSeqMask(hwp, 0x10, 0x01, 0x01);</span >
<span class="quote">> As a person, I tend to be very verbose (i.e., I tend to write long e-mails
> as other people may have already noticed.).</span >
Yes. Try to trim it down when describing patches and commenting on code. The
bare essentials will do. In fact, bare essentials will do *better* than long
texts, because those long texts I can't even read, I lack the patience.
<span class="quote">> Just to let you know, C language generally assumes the use of lower case as
> default. This is why I converted upper case numbers to lower case.</span >
You may change upper to lower, but... in a *separate* patch. Case changes are
a matter of style, secondary. Value changes are functional changes, primary,
they are the meat. If I were the maintainer, I would then accept the patch
with the functional change, and would discard the style change, because
unneeded.
(You may then ask: did I then make that change for nothing? The answer is:
yes. Try to resist making style changes. Concentrate on the functional
changes.)
<span class="quote">> The language related to Xorg.0.log device support identification white space
> insertion was in this portion of the patch comment.
>
> ". . . Made an improvement in supported device message recorded by
> Xorg.0.log. Other than that, there is no change in terms of the device
> driver functionality. . . ." </span >
About describing the content of the patch, don't use an implied "I", don't
refer to yourself. Do as mister Torvalds says: use the imperative, describe
the changes as if giving orders to the code.
<span class="quote">> If you want me to, I can reword that portion of the patch comment.</span >
Yes, all patch descriptions could use rewording, and trimming down.
Benno</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>