My Linux and Open Source Software Penguin Logo Linux and Open Source News and Reviews
The Hungry Penguin
Linux & Me Blog    My Linux Blog (Archived)    What is Linux?    What is Open Source?

Sidebar

Open Source and the London Olympics



Dedicated Servers

lkml.org

lkml.org - the realtime linux kernel mailinglist archive

[PATCH] net: l2tp: mark expected switch fall-through
"Gustavo A. R. Silva" writes: (Summary) In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through.
where we are expecting to fall through.
Notice that in this particular case I replaced the "NOBREAK" comment with a "fall through" comment, which is what GCC is expecting to find. 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/l2tp/l2tp_netlink.c b/net/l2tp/l2tp_netlink.c index 7135f46..f517942 100644 --- a/net/l2tp/l2tp_netlink.c +++ b/net/l2tp/l2tp_netlink.c @@ -406,7 +406,7 @@ static int l2tp_nl_tunnel_send(struct sk_buff *skb, u32 portid, u32 seq, int fla if (nla_put_u16(skb, L2TP_ATTR_UDP_SPORT, ntohs(inet->inet_sport)) ||
[PATCH v2 0/3] Add support for Hisilicon Hi3521A SoC
"Marty E. Plummer" writes: (Summary) Plummer (3):
clk: hisilicon: add CRG driver Hi3521A SoC
arm: hisi: enable Hi3521A SoC
arm: dts: add Hi3521A dts
arm: dts: add Hi3521A dts
arch/arm/boot/dts/Makefile | 2 + arch/arm/boot/dts/hi3521a-rs-dm290e.dts | 23 +++ 8 files changed, 584 insertions(+) create mode 100644 arch/arm/boot/dts/hi3521a-rs-dm290e.dts create mode 100644 arch/arm/boot/dts/hi3521a.dtsi create mode 100644 drivers/clk/hisilicon/crg-hi3521a.c create mode 100644 include/dt-bindings/clock/hi3521a-clock.h -- 2.14.2
[patch] mm, slab: only set __GFP_RECLAIMABLE once
David Rientjes writes: (Summary) Set __GFP_RECLAIMABLE as part of its ->allocflags rather than check the cachep flag on every page allocation.
flag on every page allocation.
Signed-off-by: David Rientjes <rientjes@google.com> 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/slab.c b/mm/slab.c --- a/mm/slab.c +++ b/mm/slab.c @@ -1409,8 +1409,6 @@ static struct page *kmem_getpages(struct kmem_cache *cachep, gfp_t flags, int nr_pages; SLAB_RECLAIM_ACCOUNT) - flags |= __GFP_RECLAIMABLE;
[PATCH v2] Support resetting WARN*_ONCE
Andi Kleen writes: (Summary) !__warned)) { \ @@ -141,7 +141,7 @@ void __warn(const char *file, int line, void *caller, unsigned taint, #endif #define WARN_ONCE(condition, format...) ({ \ - static bool __section(.data.unlikely) __warned; !__warned)) { \ @@ -152,7 +152,7 @@ void __warn(const char *file, int line, void *caller, unsigned taint, }) #define WARN_TAINT_ONCE(condition, taint, format...) ({ \ - static bool __section(.data.unlikely) __warned;
[PATCH] Support resetting WARN*_ONCE
Andi Kleen writes: (Summary) !__warned)) { \ @@ -141,7 +141,7 @@ void __warn(const char *file, int line, void *caller, unsigned taint, #endif #define WARN_ONCE(condition, format...) ({ \ - static bool __section(.data.unlikely) __warned; !__warned)) { \ @@ -152,7 +152,7 @@ void __warn(const char *file, int line, void *caller, unsigned taint, }) #define WARN_TAINT_ONCE(condition, taint, format...) ({ \ - static bool __section(.data.unlikely) __warned; \ *(__tracepoints) \ /* implement dynamic printk debug */ \ diff --git a/kernel/panic.c b/kernel/panic.c index bdd18afa19a4..b2d872fa16de 100644 --- a/kernel/panic.c +++ b/kernel/panic.c @@ -27,6 +27,7 @@ #include <linux/console.h>
[GIT PULL] tracing/samples: Fix creation and deletion of simple_th ...
Steven Rostedt writes: (Summary) Linus,
Linus,
Testing a new trace event format, I triggered a bug by doing: Testing a new trace event format, I triggered a bug by doing: # modprobe trace-events-sample
# echo 1 > The issue is that I added another trace event sample that reused a reg function of another trace event to create a thread to call the tracepoints. } void foo_bar_unreg(void) { - pr_info("Killing thread for foo_bar_fn\n");
[PATCH] iommu: Limit the IOVA page range to the specified addresses
Gary R Hook writes: (Summary) From: amd <amd@sosxen2.amd.com>
From: amd <amd@sosxen2.amd.com>
The extent of pages specified when applying a reserved region should include up to the last page of the range, but not the page following the range.
the range.
Signed-off-by: Gary R Hook <gary.hook@amd.com> 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c index 27eb0d6fcdc2..bb3ef33e3784 100644 --- a/drivers/iommu/amd_iommu.c +++ b/drivers/iommu/amd_iommu.c @@ -3271,7 +3271,7 @@ static void amd_iommu_apply_resv_region(struct device *dev, unsigned long start, end;
[PATCH v5 00/18] Enable upper layers using FPGA region w/o device tree
Alan Tull writes: (Summary) v5 changes are small:
* add back in fpga_mgr_put in of_fpga_region_remove * make __fpga_bridge_get static
* move #ifndef before #includes in headers
* Spelling fixes and other nits
* Spelling fixes and other nits
Alan Tull (18):
fpga: bridge: support getting bridge from device
fpga: mgr: API change to replace fpga load functions with single function
fpga: mgr: separate getting/locking FPGA manager
fpga: region: use dev_err instead of pr_err
fpga: region: remove unneeded of_node_get and put
fpga: region: get mgr early on
fpga: region: check for child regions before allocing image info fpga: region: fix slow warning with more than one overlay fpga: region: use image info as parameter for programming region fpga: region: separate out code that parses the overlay fpga: region: add fpga-region.h header
fpga: region: rename some functions prior to moving fpga: region: add register/unregister functions
fpga: region
scripts/checkpatch: Concatenated strings should use spaces between ...
Heinrich Schuchardt writes: (Summary) This patch creates a warning (CHECK)
"Concatenated strings should use spaces between elements" "Concatenated strings should use spaces between elements" There are no concatenated strings here.
There are no concatenated strings here.
(checkpatch is also used in the U-Boot project where wide strings occur in the EFI implementation.)
occur in the EFI implementation.)
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test.c diff --git a/test.c b/test.c new file mode 100644 index 0000000000..dfd33cd765 --- /dev/null +++ b/test.c @@ -0,0 +1,6 @@ +#include <foo.h>

Linux News | Linux Articles | Linux Distributions | Linux Apps | Linux Kernel | Free Linux Download | Linux & Me Blog
Free Press Release Service | Bible Study Tool | New Covenant Workshop | Gary Sims
Press Releases and SEO

The original content of these pages (not the syndicated items) is licensed under a Creative Commons License.
News and media about the Linux operating system, open source software, Unix, Apache, LAMP, PHP, RSS, GNU and much more.