Hi Robert,

On Thu, 12 Jun 2008 17:08:58 -0500 Robert Jennings <[EMAIL PROTECTED]> wrote:
>
> -             seq_printf(m, "R4=0x%lx\n", h_entitled);
> -             seq_printf(m, "R5=0x%lx\n", h_unallocated);
> -             seq_printf(m, "R6=0x%lx\n", h_aggregation);
> -             seq_printf(m, "R7=0x%lx\n", h_resource);

This changes a user visible interface by removing the above.  I don't
know if this matters (probably not), but it should be mentioned in the
changelog.

> +     if (new_entitled)
> +             *new_weight = current_weight;
> +
> +     if (new_weight)
> +             *new_entitled = current_entitled;

These look fishy - checking one pointer for NULL and then updating via
the other pointer.

-- 
Cheers,
Stephen Rothwell                    [EMAIL PROTECTED]
http://www.canb.auug.org.au/~sfr/

Attachment: pgpy042zLW0E2.pgp
Description: PGP signature

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to