Thanks! Strange - it applies cleanly for me. But I understand the error - thanks for fixing.
Roman On 27 September 2010 17:50, Gabor Juhos <juh...@openwrt.org> wrote: > 2010.09.21. 23:46 keltezéssel, Roman Yeryomin írta: >> So, if there are no problems, how about commiting it? > > Applied in r23126. > > However there were problems with it: > > Applying: generic: add rtl8366rb switch port rate/disable and vlan fid support > /devel/gits/openwrt/.git/rebase-apply/patch:103: trailing whitespace. > > /devel/gits/openwrt/.git/rebase-apply/patch:104: trailing whitespace. > return rtl8366_smi_rmwr(smi, RTL8366RB_IB_REG(val->port_vlan), > /devel/gits/openwrt/.git/rebase-apply/patch:105: trailing whitespace. > RTL8366RB_IB_BDTH_MASK | RTL8366RB_IB_PREIFG_MASK, > /devel/gits/openwrt/.git/rebase-apply/patch:106: trailing whitespace. > val->value.i | > /devel/gits/openwrt/.git/rebase-apply/patch:125: trailing whitespace. > > fatal: corrupt patch at line 257 > Patch failed at 0001 generic: add rtl8366rb switch port rate/disable and vlan > fid support > > --- > > CC drivers/net/phy/rtl8366rb.o > drivers/net/phy/rtl8366rb.c: In function 'rtl8366rb_sw_set_port_rate_in': > drivers/net/phy/rtl8366rb.c:823: warning: unused variable 'data' > drivers/net/phy/rtl8366rb.c: In function 'rtl8366rb_sw_set_port_rate_out': > drivers/net/phy/rtl8366rb.c:865: warning: unused variable 'data' > > > I have fixed them manually now, but please try to avoid such errors next time. > > Thanks, > Gabor > _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel