{"push_id":1922459510,"size":12,"distinct_size":12,"ref":"refs/heads/mtd/next","head":"2acc717b7a196c355f3a126a9ac4e9df784113e7","before":"72935aaf8bed3cf6aa6b118f9e56d4a97b1ea253","commits":[{"sha":"90cc62f3431b558ea10b0248e3ba85f656bf61f5","author":{"name":"Gustavo A. R. Silva","email":"4b411d321e41f8f6965e5524af22579e66e9d999@embeddedor.com"},"message":"mtd: spear_smi: add NULL check on devm_kzalloc() return value\n\nCheck return value from call to devm_kzalloc()\nin order to prevent a NULL pointer dereference.\n\nThis issue was detected using Coccinelle and the following semantic patch:\n\n@@\nexpression x;\nidentifier fld;\n@@\n\n* x = devm_kzalloc(...);\n  ... when != x == NULL\n  x->fld\n\nSigned-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>\nSigned-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>","distinct":true,"url":"https://api.github.com/repos/bbrezillon/linux-0day/commits/90cc62f3431b558ea10b0248e3ba85f656bf61f5"},{"sha":"ab8d531910e287c44f2fd584f5853426c287131c","author":{"name":"Julia Lawall","email":"e167394402f08cf6792a4c3f4f81d703e1dd6932@lip6.fr"},"message":"mtd: physmap_of: Drop unnecessary static\n\nDrop static on a local variable, when the variable is initialized before\nany possible use.  Thus, the static has no benefit.\n\nThe semantic patch that fixes this problem is as follows:\n(http://coccinelle.lip6.fr/)\n\n// <smpl>\n@bad exists@\nposition p;\nidentifier x;\ntype T;\n@@\nstatic T x@p;\n...\nx = <+...x...+>\n\n@@\nidentifier x;\nexpression e;\ntype T;\nposition p != bad.p;\n@@\n-static\n T x@p;\n ... when != x\n     when strict\n?x = e;\n// </smpl>\n\nSigned-off-by: Julia Lawall <Julia.Lawall@lip6.fr>\nSigned-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>","distinct":true,"url":"https://api.github.com/repos/bbrezillon/linux-0day/commits/ab8d531910e287c44f2fd584f5853426c287131c"},{"sha":"1d70607750b7fdb4926e121e3bdf0530b5947d6e","author":{"name":"Rob Herring","email":"b1c4db6d7090d3e65a0bb8b2af31f7af91ca5a05@kernel.org"},"message":"mtd: Convert to using %pOF instead of full_name\n\nNow that we have a custom printf format specifier, convert users of\nfull_name to use %pOF instead. This is preparation to remove storing\nof the full path string for each node.\n\nSigned-off-by: Rob Herring <robh@kernel.org>\nCc: David Woodhouse <dwmw2@infradead.org>\nCc: Brian Norris <computersforpeace@gmail.com>\nCc: Boris Brezillon <boris.brezillon@free-electrons.com>\nCc: Marek Vasut <marek.vasut@gmail.com>\nCc: Richard Weinberger <richard@nod.at>\nCc: Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>\nCc: linux-mtd@lists.infradead.org\nSigned-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>","distinct":true,"url":"https://api.github.com/repos/bbrezillon/linux-0day/commits/1d70607750b7fdb4926e121e3bdf0530b5947d6e"},{"sha":"129f6c4820dd68be26b516ba6d6e471e63855d47","author":{"name":"Arnd Bergmann","email":"72a0f6d3b182607e6d5c44b93e1abb7b23ee18f3@arndb.de"},"message":"mtd: only use __xipram annotation when XIP_KERNEL is set\n\nWhen XIP_KERNEL is enabled, some functions are defined in the .data\nELF section because we require them to be in RAM whenever we communicate\nwith the flash chip. However this causes problems when FTRACE is\nenabled and gcc emits calls to __gnu_mcount_nc in the function\nprolog:\n\ndrivers/built-in.o: In function `cfi_chip_setup':\n:(.data+0x272fc): relocation truncated to fit: R_ARM_CALL against symbol `__gnu_mcount_nc' defined in .text section in arch/arm/kernel/built-in.o\ndrivers/built-in.o: In function `cfi_probe_chip':\n:(.data+0x27de8): relocation truncated to fit: R_ARM_CALL against symbol `__gnu_mcount_nc' defined in .text section in arch/arm/kernel/built-in.o\n/tmp/ccY172rP.s: Assembler messages:\n/tmp/ccY172rP.s:70: Warning: ignoring changed section attributes for .data\n/tmp/ccY172rP.s: Error: 1 warning, treating warnings as errors\nmake[5]: *** [drivers/mtd/chips/cfi_probe.o] Error 1\n/tmp/ccK4rjeO.s: Assembler messages:\n/tmp/ccK4rjeO.s:421: Warning: ignoring changed section attributes for .data\n/tmp/ccK4rjeO.s: Error: 1 warning, treating warnings as errors\nmake[5]: *** [drivers/mtd/chips/cfi_util.o] Error 1\n/tmp/ccUvhCYR.s: Assembler messages:\n/tmp/ccUvhCYR.s:1895: Warning: ignoring changed section attributes for .data\n/tmp/ccUvhCYR.s: Error: 1 warning, treating warnings as errors\n\nSpecifically, this does not work because the .data section is not\nmarked executable, which leads LD to not generate trampolines for\nlong calls.\n\nThis moves the __xipram functions into their own .xiptext section instead.\nThe section is still placed next to .data and located in RAM but is marked\nexecutable, which avoids the build errors.\n\nAlso, we only need to place the XIP functions into a separate section\nif both CONFIG_XIP_KERNEL and CONFIG_MTD_XIP are set: When only MTD_XIP\nis used, the whole kernel is still in RAM and we do not need to worry\nabout pulling out the rug under it. When only XIP_KERNEL but not MTD_XIP\nis set, the kernel is in some form of ROM, but we never write to it.\n\nNote that MTD_XIP has been broken on ARM since around 2011 or 2012. I\nhave sent another patch[2] to fix compilation, which I plan to merge\nthrough arm-soc unless there are objections. The obvious alternative\nto that would be to completely rip out the MTD_XIP support from the\nkernel, since obviously nobody has been using it in a long while.\n\nLink: [1] https://patchwork.kernel.org/patch/8109771/\nLink: [2] https://patchwork.kernel.org/patch/9855225/\nSigned-off-by: Arnd Bergmann <arnd@arndb.de>\nSigned-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>","distinct":true,"url":"https://api.github.com/repos/bbrezillon/linux-0day/commits/129f6c4820dd68be26b516ba6d6e471e63855d47"},{"sha":"680025932f226eef8e905a4e2a84512970b62622","author":{"name":"Arvind Yadav","email":"1650c5a66df99aba40094ad382bcfb9e3d7811e6@gmail.com"},"message":"mtd: ichxrom: constify pci_device_id.\n\npci_device_id are not supposed to change at runtime. All functions\nworking with pci_device_id provided by <linux/pci.h> work with\nconst pci_device_id. So mark the non-const structs as const.\n\nSigned-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>\nSigned-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>","distinct":true,"url":"https://api.github.com/repos/bbrezillon/linux-0day/commits/680025932f226eef8e905a4e2a84512970b62622"},{"sha":"30105a2c35061bd989d293a4637d9705221b282f","author":{"name":"Arvind Yadav","email":"1650c5a66df99aba40094ad382bcfb9e3d7811e6@gmail.com"},"message":"mtd: amd76xrom: constify pci_device_id.\n\npci_device_id are not supposed to change at runtime. All functions\nworking with pci_device_id provided by <linux/pci.h> work with\nconst pci_device_id. So mark the non-const structs as const.\n\nSigned-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>\nSigned-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>","distinct":true,"url":"https://api.github.com/repos/bbrezillon/linux-0day/commits/30105a2c35061bd989d293a4637d9705221b282f"},{"sha":"01cac4d2b5a0fdf5316ff611f73e8e23c308d50a","author":{"name":"Arvind Yadav","email":"1650c5a66df99aba40094ad382bcfb9e3d7811e6@gmail.com"},"message":"mtd: esb2rom: constify pci_device_id.\n\npci_device_id are not supposed to change at runtime. All functions\nworking with pci_device_id provided by <linux/pci.h> work with\nconst pci_device_id. So mark the non-const structs as const.\n\nSigned-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>\nSigned-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>","distinct":true,"url":"https://api.github.com/repos/bbrezillon/linux-0day/commits/01cac4d2b5a0fdf5316ff611f73e8e23c308d50a"},{"sha":"1372734425529cdb11940eb06cd1cc864e88da12","author":{"name":"Arvind Yadav","email":"1650c5a66df99aba40094ad382bcfb9e3d7811e6@gmail.com"},"message":"mtd: ck804xrom: constify pci_device_id.\n\npci_device_id are not supposed to change at runtime. All functions\nworking with pci_device_id provided by <linux/pci.h> work with\nconst pci_device_id. So mark the non-const structs as const.\n\nSigned-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>\nSigned-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>","distinct":true,"url":"https://api.github.com/repos/bbrezillon/linux-0day/commits/1372734425529cdb11940eb06cd1cc864e88da12"},{"sha":"4f558d636b0de9aa5d0acaf87a7f83c965ced6d7","author":{"name":"Arvind Yadav","email":"1650c5a66df99aba40094ad382bcfb9e3d7811e6@gmail.com"},"message":"mtd: intel_vr_nor: constify pci_device_id.\n\npci_device_id are not supposed to change at runtime. All functions\nworking with pci_device_id provided by <linux/pci.h> work with\nconst pci_device_id. So mark the non-const structs as const.\n\nSigned-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>\nSigned-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>","distinct":true,"url":"https://api.github.com/repos/bbrezillon/linux-0day/commits/4f558d636b0de9aa5d0acaf87a7f83c965ced6d7"},{"sha":"d64dc9c8470da1582bf0d853c8a4ae05ad31815b","author":{"name":"Arvind Yadav","email":"1650c5a66df99aba40094ad382bcfb9e3d7811e6@gmail.com"},"message":"mtd: pci: constify pci_device_id.\n\npci_device_id are not supposed to change at runtime. All functions\nworking with pci_device_id provided by <linux/pci.h> work with\nconst pci_device_id. So mark the non-const structs as const.\n\nSigned-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>\nSigned-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>","distinct":true,"url":"https://api.github.com/repos/bbrezillon/linux-0day/commits/d64dc9c8470da1582bf0d853c8a4ae05ad31815b"},{"sha":"871e7c01ca55fdc714691206f041e48f695f444c","author":{"name":"Christophe Jaillet","email":"37dad06b5adae86647eb31988fda7e3e669b78d5@wanadoo.fr"},"message":"mtd: physmap_of: Fix resources leak in 'of_flash_probe()'\n\nIf 'of_flash_probe_gemini()' or 'of_flash_probe_versatile()' fail, we must\nreslease some resources, as already done in all error handling paths in\nthis function.\n\nSigned-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>\nSigned-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>","distinct":true,"url":"https://api.github.com/repos/bbrezillon/linux-0day/commits/871e7c01ca55fdc714691206f041e48f695f444c"},{"sha":"2acc717b7a196c355f3a126a9ac4e9df784113e7","author":{"name":"Linus Walleij","email":"b0d9e537b6c72323d8ac72352e58c452d7c4fc88@linaro.org"},"message":"mtd: physmap_of: Retire Gemini pad control\n\nI wrote a proper pin control driver for the Gemini. Retire this\nSoC-specific pad control and rely on the pin controller to manage\nthis.\n\nSigned-off-by: Linus Walleij <linus.walleij@linaro.org>\nReviewed-by: Marek Vasut <marek.vasut@gmail.com>\nSigned-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>","distinct":true,"url":"https://api.github.com/repos/bbrezillon/linux-0day/commits/2acc717b7a196c355f3a126a9ac4e9df784113e7"}]}
{"actor":{"display_login":"bbrezillon"}}