diff for duplicates of <201102151041.21560.anarsoul@gmail.com> diff --git a/a/1.txt b/N1/1.txt index 7267e7f..24f69c2 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -17,13 +17,13 @@ You mean if (!lcd_readl.....) return? Then OK. > > static struct pxafb_layer_ops ofb_ops[] = { > > @@ -720,12 +726,10 @@ static int overlayfb_open(struct fb_info *info, int -> > user) if (user = 0) +> > user) if (user == 0) > > return -ENODEV; > > > > - /* allow only one user at a time */ > > - if (atomic_inc_and_test(&ofb->usage)) > > - return -EBUSY; -> > + if (ofb->usage++ = 0) +> > + if (ofb->usage++ == 0) > > + /* unblank the base framebuffer */ > > + fb_blank(&ofb->fbi->fb, FB_BLANK_UNBLANK); > diff --git a/a/content_digest b/N1/content_digest index 89f7644..d994c8e 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,8 +1,8 @@ "ref\01296679619-32666-1-git-send-email-anarsoul@gmail.com\0" "ref\0AANLkTi=AfxN73pSNZ5RiTiTWfxR7PhcyJUyXzzeaYNWw@mail.gmail.com\0" - "From\0Vasily Khoruzhick <anarsoul@gmail.com>\0" - "Subject\0Re: [PATCH] ARM: PXA: Make PXA27x/PXA3xx overlay actually work\0" - "Date\0Tue, 15 Feb 2011 08:41:21 +0000\0" + "From\0anarsoul@gmail.com (Vasily Khoruzhick)\0" + "Subject\0[PATCH] ARM: PXA: Make PXA27x/PXA3xx overlay actually work\0" + "Date\0Tue, 15 Feb 2011 10:41:21 +0200\0" "To\0linux-arm-kernel@lists.infradead.org\0" "\00:1\0" "b\0" @@ -25,13 +25,13 @@ "\n" "> > static struct pxafb_layer_ops ofb_ops[] = {\n" "> > @@ -720,12 +726,10 @@ static int overlayfb_open(struct fb_info *info, int\n" - "> > user) if (user = 0)\n" + "> > user) if (user == 0)\n" "> > return -ENODEV;\n" "> > \n" "> > - /* allow only one user at a time */\n" "> > - if (atomic_inc_and_test(&ofb->usage))\n" "> > - return -EBUSY;\n" - "> > + if (ofb->usage++ = 0)\n" + "> > + if (ofb->usage++ == 0)\n" "> > + /* unblank the base framebuffer */\n" "> > + fb_blank(&ofb->fbi->fb, FB_BLANK_UNBLANK);\n" "> \n" @@ -72,4 +72,4 @@ "Regards\n" Vasily -45a46362682ca231b2a0a7ebccec73036453b7c7ffedd1771109bbdfd86bbdcd +a3c562673e0cee6877bcda4da441f8efa30a4a2abc09f0bbdba80b7e35dbe729
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.