Re: [PATCH v1 3/6][ARM] new ARM SoC support: BCMRing

From: Alessandro Rubini
Date: Tue Jun 30 2009 - 18:46:49 EST


> 1. wrap the string. This is considered bad practice since it means
> that you can't grep the kernel source for the exact message.

FWIW, I always grep in kernel objects, so I'm immune to both string
splitting and message duplication in drivers I'm not using.

#!/bin/sh
find . -name "*.o" -o -name "*.ko" | xargs strings -f | grep ":.*$1"

/alessandro
--
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/