]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] fix hamradio netdriver builds
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Mon, 28 Oct 2002 06:46:11 +0000 (22:46 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Mon, 28 Oct 2002 06:46:11 +0000 (22:46 -0800)
drivers/net/hamradio/baycom_epp.c
drivers/net/hamradio/soundmodem/Makefile

index fc9e7482f38be4e1c4b3e45bc117b80f5d422389..9df09579092d6199bf30a3ace0020d54b72b258e 100644 (file)
@@ -481,7 +481,7 @@ static void inline do_kiss_params(struct baycom_state *bc,
 ({                                             \
         if (!(notbitstream & (0x1f0 << j)))    \
                 goto stuff##j;                 \
-  encodeend##j:                                \
+  encodeend##j:        ;                      \
 })
 
 #define ENCODEITERB(j)                                          \
@@ -716,7 +716,7 @@ static void do_rxpacket(struct net_device *dev)
                 goto flgabrt##j;                                              \
         if ((bitstream & (0x1f8 << j)) == (0xf8 << j))   /* stuffed bit */    \
                 goto stuff##j;                                                \
-  enditer##j:                                                                 \
+  enditer##j:      ;                                                           \
 })
 
 #define DECODEITERB(j)                                                                 \
index 77de2ca25c87aba97da31df53d01d5bc8421c1a3..1922038ea574d2cf654a33c745566e413298406c 100644 (file)
@@ -38,5 +38,5 @@ $(obj)/sm_hapn4800.o:   $(obj)/sm_tbl_hapn4800.h
 $(obj)/sm_fsk9600.o:    $(obj)/sm_tbl_fsk9600.h
 
 $(obj)/sm_tbl_%: $(obj)/gentbl
-       $(obj)/gentbl
+       cd $(obj) && ./gentbl