#define LOCKUP16 0
#endif
+#include <linux/config.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#endif
if (buf->len < ETH_ZLEN) {
- if (skb_padto(buf, ETH_ZLEN))
+ buf = skb_padto(buf, ETH_ZLEN);
+ if (buf == NULL)
return 0;
length = ETH_ZLEN;
}
* are specified, we verify and then use them. If no parameters are given, we
* autoprobe for one card only.
*/
-int __init init_module(void)
+int init_module(void)
{
struct net_device *dev;
int this_dev, found = 0;