Prev: [PATCH] workqueue: mark init_workqueues() as early_initcall()
Next: Formal Reiser4 inclusion and todo list?
From: Yehuda Mor on 1 Aug 2010 07:40 Please, remove my address praxis(a)actcom.co.il from your lists! I am receiving unwanted mail from a lot of people around kernel, ubuntu' debian, etc - and I have no idea why! Thank you. -----Original Message----- From: linux-kernel-owner(a)vger.kernel.org [mailto:linux-kernel-owner(a)vger.kernel.org] On Behalf Of Sergei Shtylyov Sent: Sunday, August 01, 2010 1:07 PM To: Kulikov Vasiliy Cc: kernel-janitors(a)vger.kernel.org; David Brownell; Greg Kroah-Hartman; Tony Lindgren; Cory Maccarrone; linux-usb(a)vger.kernel.org; linux-kernel(a)vger.kernel.org Subject: Re: [PATCH 5/7] usb: omap_udc: check return value of proc_create() Hello. Kulikov Vasiliy wrote: > proc_create() may fail, if so return -ENOMEM. > Signed-off-by: Kulikov Vasiliy <segooon(a)gmail.com> [...] > diff --git a/drivers/usb/gadget/omap_udc.c b/drivers/usb/gadget/omap_udc.c > index f81e4f0..1083216 100644 > --- a/drivers/usb/gadget/omap_udc.c > +++ b/drivers/usb/gadget/omap_udc.c > @@ -2544,9 +2544,9 @@ static const struct file_operations proc_ops = { > .release = single_release, > }; > > -static void create_proc_file(void) > +static int create_proc_file(void) > { > - proc_create(proc_filename, 0, NULL, &proc_ops); > + return (proc_create(proc_filename, 0, NULL, &proc_ops) == NULL); Parens not needed around the *return* expression. WBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ __________ Information from ESET NOD32 Antivirus, version of virus signature database 5329 (20100731) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 5329 (20100731) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Valeo de Vries on 1 Aug 2010 08:50 No need to spam all those people with this... On 1 August 2010 12:29, Yehuda Mor <praxis(a)actcom.co.il> wrote: > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo(a)vger.kernel.org > More majordomo info at �http://vger.kernel.org/majordomo-info.html > Please read the FAQ at �http://www.tux.org/lkml/ ....as all you need to do is read the above, which is at the bottom of every e-mail you receive from LKML. Valeo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: trapDoor on 1 Aug 2010 11:20
On Sun, Aug 1, 2010 at 12:29 PM, Yehuda Mor <praxis(a)actcom.co.il> wrote: > > Please, remove my address praxis(a)actcom.co.il from your lists! I am > receiving unwanted mail from a lot of people around kernel, ubuntu' debian, > etc - and I have no idea why! > > Thank you. > Hello, Here is what you need to do: To unsubscribe from this list [linux-kernel(a)vger.kernel.org]: send the line "unsubscribe linux-kernel" in the body of a message to: majordomo(a)vger.kernel.org And similarly, to unsubscribe from e.g linux-usb(a)vger.kernel.org you should send e-mail to: majordomo(a)vger.kernel.org with "unsubscribe linux-usb" in the body. Needless to say, you should send the e-mail(s) from the mailbox you receive unwanted mails on. ---------------------------- More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ -- Regards trapDoor -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |