Why this rename from buffer to data?
Why this change of order?
Are you sure that your buffer is always NUL terminated?
Quite a lot of changes seem to do this object->data. The patch would have
been much more compact if you just had renamed buffer to object instead of
data.
This renaming variables has nothing to do with refactoring. In fact, I
have a hard time to find code changes (which your subject suggests, as you
want to make two functions more similar).
Any particular reason for this?
Ah, so you terminate the buffer here. From the patch, it is relatively
hard to see if this line is always hit _before_ the function is called
that evidently relies on NUL termination. By moving it here, I think it is
much more likely to overlook the fact that the function, which made sure
that its assumption was met, needs this line. Whereas if you left it where
it was, the assumption would always be met.
Again, this has nothing to do with refactoring.
Is this really necessary? Even if (which I doubt), it has nothing to do
with refactoring.
If you _want_ to _explicitely_ do arithmetic on a char* instead of void*,
why not DRT and change the function signature?
I am really reluctant with renamings like these. IMHO they don't buy you
much, except for possible confusion. It is evident that sig means the
signer (and it is obvious in the case of an unsigned tag, who is meant,
too).
This cast (and indeed, this function, if you ask me) is unnecessary.
I reviewed only this patch out of your long series, mostly because I found
the subject line interesting. But IMHO the patch does not what the subject
line suggests.
Unfortunately, it's unlikely that I will have time until Monday night to
continue with this patch series.
Ciao,
Dscho
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html