Quantcast
Browsing all 23908 articles
Browse latest View live

Re: f_op->read seems to be always NULL since Linux 4.1

Am 28.06.2015 um 08:36 schrieb Andreas Hartmann: > On Sat, Jun 27, 2015 at 8:10 PM, Richard Weinberger wrote: >> On Sat, Jun 27, 2015 at 7:32 PM, Andreas Hartmann >>...

View Article


Re: [!GIT PULL] kdbus for 4.2

On Fri, Jun 26, 2015 at 9:36 PM, Tom Gundersen <teg@jklm.no> wrote: > On Fri, Jun 26, 2015 at 9:33 PM, Andy Lutomirski <luto@amacapital.net> wrote: >> What's a good distro on...

View Article


Re: [PHP] When to instantiate a new class

On Sun, Jun 28, 2015 at 4:05 AM, Larry Garfield <larry@garfieldtech.com> wrote: > What you describe is a service locator. Which is basically the same thing > as a dependency injection...

View Article

Re: f_op->read seems to be always NULL since Linux 4.1

On Sun, Jun 28, 2015 at 08:36:18AM +0200, Andreas Hartmann wrote: > On Sat, Jun 27, 2015 at 8:10 PM, Richard Weinberger wrote: > >On Sat, Jun 27, 2015 at 7:32 PM, Andreas Hartmann >...

View Article

[PATCH] drm/amdgpu: Delete an unnecessary check before the function call "kfree"

From: Markus Elfring <elfring@users.sourceforge.net> Date: Sun, 28 Jun 2015 10:27:35 +0200 The kfree() function tests whether its argument is NULL and then returns immediately. Thus the test...

View Article


Re: [PATCH 3.10 14/46] d_walk() might skip too much

On 6/27/15, Greg Kroah-Hartman <gregkh@linuxfoundation.org> wrote: > That's insane, and not how my tools work :( I asked you to do that apply-patch-two-more-times thing because I assumed that...

View Article

[PATCH] nvdimm: Fix return value of nvdimm_bus_init() if class_create() fails

Return proper error if class_create() fails. Signed-off-by: Axel Lin <axel.lin@ingics.com> --- drivers/nvdimm/bus.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git...

View Article

[PATCH] ALSA: hda: Delete an unnecessary check before the function call...

From: Markus Elfring <elfring@users.sourceforge.net> Date: Sun, 28 Jun 2015 11:15:28 +0200 The snd_info_free_entry() function tests whether its argument is NULL and then returns immediately....

View Article


atomic64 on 32-bit vs 64-bit (was: Re: Add virtio gpu driver.)

On Fri, Jun 26, 2015 at 10:52 PM, Linux Kernel Mailing List <linux-kernel@vger.kernel.org> wrote: > Gitweb: http://git.kernel.org/linus/;a=commit;h=dc5698e80cf724770283e10414054662bdf6ccfa...

View Article


Re: [PATCH] SCSI-OSD: Delete an unnecessary check before the function call...

On 06/24/2015 05:16 PM, SF Markus Elfring wrote: > From: Markus Elfring <elfring@users.sourceforge.net> > Date: Wed, 24 Jun 2015 16:06:21 +0200 > > The put_disk() function tests...

View Article

[PATCH] clk: stm32: Fix out-by-one error path in the index lookup

If stm32f4_rcc_lookup() is called with primary == 0 and secondary == 192 then it will read beyond the end of the table array due to an out-by-one error in the range check. In addition to the fixing...

View Article

Re: [PHP-DEV] NAN/INF->int conversion in 5.6

On 28.06.2015 02:46, Stanislav Malyshev wrote: > My question is: should we backport code from PHP 7 that checks for > infinity/nan and put it into 5.6? Or it's not worth it and it's ok for >...

View Article

Haproxy small patches

Hello all, Short story : Haproxy does not compile on NetBSD because conflicting popcount. Long story : I was trying to compile Haproxy as unikernel image via rump kernel tools on Linux for Xen. The...

View Article


[PATCH] PM-wakeup: Delete unnecessary checks before two function calls

From: Markus Elfring <elfring@users.sourceforge.net> Date: Sun, 28 Jun 2015 12:14:43 +0200 The functions dev_pm_disarm_wake_irq() and wakeup_source_unregister() test whether their argument is...

View Article

Re: [PATCH] drbd: Deletion of an unnecessary check before the function call...

> From: Markus Elfring <elfring@users.sourceforge.net> > Date: Wed, 19 Nov 2014 13:33:32 +0100 > > The lc_destroy() function tests whether its argument is NULL and then > returns...

View Article


Re: Haproxy small patches

Hi David, Maybe should be simpler to declare an haproxy "popcount" function with a generic name: static inline unsigned int haproxy_popcount(unsigned long a) And modify the content of the function...

View Article

Re: [PATCH] block-rsxx: Deletion of an unnecessary check before the function...

> From: Markus Elfring <elfring@users.sourceforge.net> > Date: Mon, 1 Dec 2014 19:19:25 +0100 > > The vfree() function performs also input parameter validation. > Thus the test...

View Article


Re: [PATCH] block-skd: Deletion of an unnecessary check before the function...

> From: Markus Elfring <elfring@users.sourceforge.net> > Date: Mon, 1 Dec 2014 18:15:46 +0100 > > The kfree() function tests whether its argument is NULL and then > returns...

View Article

[PATCH] SCSI: dtc: Fixed a brace issue on return 0

From: rudhresh <rudhresh.jk@gmail.com> Return is not a function so parenthesis is not required Signed-off-by: Rudhresh <rudhresh.jk@gmail.com> --- drivers/scsi/dtc.c | 4 ++-- 1 file...

View Article

Re: [PATCH] HID-picoLCD: Deletion of unnecessary checks before three function...

> From: Markus Elfring <elfring@users.sourceforge.net> > Date: Wed, 19 Nov 2014 18:30:22 +0100 > > The functions backlight_device_unregister(), lcd_device_unregister() and >...

View Article
Browsing all 23908 articles
Browse latest View live