Re: [PATCH] Staging: batman-adv: fix checkpath.pl issues

From: Joe Perches
Date: Tue Apr 20 2010 - 21:06:36 EST


On Wed, 2010-04-21 at 02:49 +0200, Mikal Sande wrote:
> @@ -212,7 +212,9 @@ ssize_t bat_device_write(struct file *file, const char __user *buff,
> unsigned long flags;
>
> if (len < sizeof(struct icmp_packet)) {
> - bat_dbg(DBG_BATMAN, "batman-adv:Error - can't send packet from char device: invalid packet size\n");
> + bat_dbg(DBG_BATMAN, "batman-adv:" +
> + "Error - can't send packet from char device: " +
> + "invalid packet size\n");

C doesn't use + for string concatenation.
Please compile test your changes before submitting them.


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