Am Dienstag, 10. Januar 2012, 23:15:16 schrieb Bjørn Mork:
> -                               goto bad_desc;
> +                               /* Fallback to guessing for rndis
> +                                * class devices with bogus union
> +                                * descriptor.
> +                                * Fixes some Samsung Android devices
> +                                */
> +                               if (rndis)
> +                                       info->u = NULL;
> +                               else
> +                                       goto bad_desc;

You are trying something subtle here. Stop doing that. Use a dedicated flag
or a clearly named goto.

        Regards
                Oliver



--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201201110833.13790.oli...@neukum.org

Reply via email to