On 04/15/2014 12:41 PM, it-support wrote: > Hi Guys, > > This is a very noobie question, but my 'patch' command does not return > to the command prompt. > > I assume that my problem is one (or all four) of: > > 1) the patch doesn't start or end where I think it does (I assume the > first line is > > diff --git a/drivers/media/pci/cx23885/cx23885-cards.c b/drivers/media/pci/cx23885/cx23885-cards.c > > and the last line is: > > #define GPIO_1 0x00000002 > > 2) I have put it in the wrong directory (I tried: > > ~/linuxtv/media_build/linux/drivers/media/pci/cx23885/ > > and > > ~/linuxtv/media_build > > 3) My patch syntax is wrong. I run it in the same directory as the file > like this: patch -b cx23885.diff It's: patch -b <cx23885.diff I still make this mistake and I've been doing this for many, many years :-) Regards, Hans -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html