Re: Linux 2.5.44-ac1

From: Krzysztof Halasa (khc@pm.waw.pl)
Date: Wed Oct 23 2002 - 07:53:41 EST


Adrian Bunk <bunk@fs.tum.de> writes:

> > o Clean up wan ioctl structures (Krzysztof Halasa)
> This caused the following compile error:

Ooops... Looks like my make-patch script needs an upgrade.

> --- linux-2.5.44-full-ac/drivers/net/wan/hdlc_x25.c.old 2002-10-22 21:38:32.000000000 +0200
> +++ linux-2.5.44-full-ac/drivers/net/wan/hdlc_x25.c 2002-10-22 21:38:51.000000000 +0200
> @@ -184,9 +184,9 @@
> struct net_device *dev = hdlc_to_dev(hdlc);
> int result;
>
> - switch (ifr->ifr_settings->type) {
> + switch (ifr->ifr_settings.type) {
> case IF_GET_PROTO:
> - ifr->ifr_settings->type = IF_PROTO_X25;
> + ifr->ifr_settings.type = IF_PROTO_X25;
> return 0; /* return protocol only, no settable parameters */
>
> case IF_PROTO_X25:

Exactly.

The missing part of the patch is attached below.

-- 
Krzysztof Halasa
Network Administrator
If you've sent me email recently and it remains unanswered, please try once
again. HDD crash might have eaten it :-(


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:01:03 EST