search for: add_to_list

Displaying 6 results from an estimated 6 matches for "add_to_list".

2007 Oct 17
3
DO NOT REPLY [Bug 5022] New: FreeBSD 4.11 - Compilation Fails - uidlist.c - gcc2 / gcc3
..../popt -c hlink.c -o hlink.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c token.c -o token.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c uidlist.c -o uidlist.o uidlist.c:47: syntax error before `id_t' uidlist.c:54: syntax error before `id_t' uidlist.c: In function `add_to_list': uidlist.c:60: `root' undeclared (first use in this function) uidlist.c:60: (Each undeclared identifier is reported only once uidlist.c:60: for each function it appears in.) uidlist.c:61: `name' undeclared (first use in this function) uidlist.c:62: structure has no member named `id'...
2004 Oct 05
6
group change causing failure
OK, I searched through the archives and didn't find anything so I must be doing something stupid. I just compiled 2.6.3 and am trying to get it to run on linux 2.6.8.1 kernel with a more or less fedora core2 environment. I was trying between two systems but I have narrowed it down to what I believe is a pretty simple case. Here is my setup/test: Last login: Mon Oct 4 19:30:49 2004
2007 Jan 12
9
Nil object in E1 capture the order
I''m following the depot application in the rails bible Agile Web Development with Rails. In interation E1 NoMethodError in Admin#checkout Showing app/views/admin/checkout.rhtml where line #12 raised: You have a nil object when you didn''t expect it! You might have expected an instance of Array. The error occured while evaluating nil.include? Extracted source (around line #12):
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...-bus.c +++ b/drivers/pci/setup-bus.c @@ -17,6 +17,8 @@ * tighter packing. Prefetchable range support. */ +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + #include <linux/init.h> #include <linux/kernel.h> #include <linux/module.h> @@ -66,7 +68,7 @@ static void add_to_list(struct resource_list_x *head, tmp = kmalloc(sizeof(*tmp), GFP_KERNEL); if (!tmp) { - pr_warning("add_to_list: kmalloc() failed!\n"); + pr_warn("%s: kmalloc() failed!\n", __func__); return; } @@ -1050,8 +1052,7 @@ pci_assign_unassigned_resources(void) add_list.ne...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...-bus.c +++ b/drivers/pci/setup-bus.c @@ -17,6 +17,8 @@ * tighter packing. Prefetchable range support. */ +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + #include <linux/init.h> #include <linux/kernel.h> #include <linux/module.h> @@ -66,7 +68,7 @@ static void add_to_list(struct resource_list_x *head, tmp = kmalloc(sizeof(*tmp), GFP_KERNEL); if (!tmp) { - pr_warning("add_to_list: kmalloc() failed!\n"); + pr_warn("%s: kmalloc() failed!\n", __func__); return; } @@ -1050,8 +1052,7 @@ pci_assign_unassigned_resources(void) add_list.ne...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...-bus.c +++ b/drivers/pci/setup-bus.c @@ -17,6 +17,8 @@ * tighter packing. Prefetchable range support. */ +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + #include <linux/init.h> #include <linux/kernel.h> #include <linux/module.h> @@ -66,7 +68,7 @@ static void add_to_list(struct resource_list_x *head, tmp = kmalloc(sizeof(*tmp), GFP_KERNEL); if (!tmp) { - pr_warning("add_to_list: kmalloc() failed!\n"); + pr_warn("%s: kmalloc() failed!\n", __func__); return; } @@ -1050,8 +1052,7 @@ pci_assign_unassigned_resources(void) add_list.ne...