Top search
Forums top search
[PATCH] mlx4: Add missing include of linux/slab.h
Include linux/slab.h to fix below build error: CC drivers/net/ethernet/mellanox/mlx4/resource_tracker.o drivers/net/ethernet/mellanox/mlx4/resource_tracker.c: In function 'mlx4_init_resource_tracker': ...
Message posted on the December 26th, 2011 - 4:40 AM ET
[PATCH] mlx4: Fix compile error when driver is comiled-in
Hi, Testing my iommu-configs against linux-next found a compile error for allyesconfig. It only happens when the mlx4 driver is compiled into the kernel and not as a module because these two static functions are also used in another file. The ...
Message posted on the December 15th, 2011 - 12:00 PM ET
[PATCH] mlx4: set carrier off after register netdev
ifconfig mlx4_en port reported RUNNING even though the link was down. mlx4_en_init_netdev didn't initialize the dev operstate properly so the operstate stayed as default IF_OPER_UNKNOWN, then ifconfig treated the UNKNOWN as RUNNING state for ...
Message posted on the October 5th, 2012 - 2:30 PM ET
[PATCH] mlx4: fix kfree on error path in new_steering_entry()
On error path kfree() should get pointer to memory allocated by kmalloc() not the address of variable holding it (which is on stack). Signed-off-by: Mariusz Kozlowski <mk@lab.zgora.pl> drivers/net/mlx4/mcg.c | 4 ++-- 1 files changed, 2 ...
Message posted on the April 3rd, 2011 - 5:30 PM ET
[PATCH] mlx4: Fix kcalloc parameters swapped
The first parameter should be "number of elements" and the second parameter should be "element size". Signed-off-by: Axel Lin <axel.lin@gmail.com> drivers/net/ethernet/mellanox/mlx4/eq.c | 5 +++-- 1 files changed, 3 ...
Message posted on the February 12th, 2012 - 8:20 PM ET
[PATCH net-next] drivers/net/mlx4: Use %pV, pr_, printk_once
Remove near duplication of format string constants by using the newly introduced vsprintf extention %pV to reduce text by 20k or so. $ size drivers/net/mlx4/built-in.o* text data bss dec hex filename 161367 1866 48784 212017 ...
Message posted on the July 10th, 2010 - 1:30 PM ET
[PATCH (for some future time)] drivers/net: Convert unbounded kzalloc calls to kcalloc
These changes may be slightly safer in some instances. There are other kzalloc calls with a multiply, but those calls are typically "small fixed #" * sizeof(some pointer)" and those are not converted. Signed-off-by: Joe Perches ...
Message posted on the August 11th, 2010 - 1:10 PM ET
[PATCH 1/2] mlx4: allow device removal by fixing dma unmap size
After opening the network interface, Mellanox ConnectX device cannot be removed by hotplug because it has not properly unmapped all DMA memory. It happens that mlx4_en_activate_rx_rings overrides the variable that keeps the size of the memory ...
Message posted on the February 6th, 2012 - 1:50 PM ET
[PATCH v2 6/7] PCI: Make sure VF's driver get attached after PF's
Found kernel try to load mlx4 drivers for VFs before PF's is loaded when the drivers are built-in, and kernel command line include probe_vfsc, num_vfsc. [ 169.581682] calling mlx4_init+0x0/0x119 @ 1 [ 169.595681] mlx4_core: Mellanox ConnectX ...
Message posted on the May 14th, 2013 - 11:00 PM ET
[PATCH] drivers: net: Remove remaining alloc/OOM messages
alloc failures already get standardized OOM messages and a dump_stack. For the affected mallocs around these OOM messages: Converted kmallocs with multiplies to kmalloc_array. Converted a kmalloc/memcpy to kmemdup. Removed now unused stack ...
Message posted on the February 7th, 2013 - 4:50 PM ET
[PATCH] Replace incomming with incoming in all comments and strings
Signed-off-by: Jorrit Schippers <jorrit@ncode.nl> Documentation/networking/ip-sysctl.txt | 2 +- .../cavium-octeon/executive/cvmx-helper-util.c | 4 ++-- arch/mips/include/asm/octeon/cvmx-helper-util.h | 4 ++-- ...
Message posted on the December 27th, 2012 - 11:40 AM ET
[PATCH] [trivial] treewide: Fix typo in printk
Correct spelling typo in printk within various part of drivers. Signed-off-by: Masanari Iida <standby24x7@gmail.com> drivers/acpi/acpica/utobject.c | 2 +- drivers/cpufreq/s3c2416-cpufreq.c | 2 +- ...
Message posted on the May 30th, 2013 - 10:50 AM ET
[PATCH] IB/lmx4: silence GCC warning
Building qp.o (part of the "Mellanox ConnectX HCA support" driver) triggers this GCC warning: drivers/infiniband/hw/mlx4/qp.c: In function ‘mlx4_ib_post_send’: drivers/infiniband/hw/mlx4/qp.c:1828:30: warning: ...
Message posted on the September 28th, 2012 - 8:50 AM ET
[PATCH] IB: mlx4: Fix mem leaks in ib_link_query_port()
If, in ib_link_query_port(), the call to mlx4_MAD_IFC() fails we will currently do 'return err;' which will leak 'in_mad' and 'out_mad' that we previously allocated. I believe we should instead do 'goto out;' where we'll properly free the memory we ...
Message posted on the April 11th, 2012 - 5:50 PM ET
June 18th, 2013 - 7:04 PM ET
Join now
Login

