search for: constify

Displaying 20 results from an estimated 254 matches for "constify".

2015 Mar 16
0
[PATCH 00/35 linux-next] constify of_device_id array
This small patchset adds const to of_device_id arrays in drivers branch. Fabian Frederick (35): ata: constify of_device_id array regulator: constify of_device_id array thermal: constify of_device_id array tty/hvc_opal: constify of_device_id array tty: constify of_device_id array power: constify of_device_id array char: constify of_device_id array dma: constify of_device_id array iio: consti...
2015 Mar 16
0
[PATCH 00/35 linux-next] constify of_device_id array
This small patchset adds const to of_device_id arrays in drivers branch. Fabian Frederick (35): ata: constify of_device_id array regulator: constify of_device_id array thermal: constify of_device_id array tty/hvc_opal: constify of_device_id array tty: constify of_device_id array power: constify of_device_id array char: constify of_device_id array dma: constify of_device_id array iio: consti...
2014 Jan 03
0
Wine release 1.7.10
...racting from a memory block. cabinet: Read CAB size from the file header instead of calling FDI seek callback with SEEK_END. cabinet: Remove a no longer valid comment about seeking and restoring CAB position. xmllite: Use wine_dbg_sprintf instead of a static buffer. xmllite: Constify pointers in arrays that hold const data. winebuild: Write actual (not aligned) sizes in the resource headers. Fran?ois Gouget (2): gdi32/tests: Fix a flood of failures on Windows XP SP1 and 2003 pre-SP1. ddraw/tests: Fix compilation on systems that don't support nameless unio...
2020 Jul 02
0
[PATCH 0/5] drivers/char: Constify static variables
On Wed, Jul 1, 2020 at 11:48 PM Rikard Falkeborn <rikard.falkeborn at gmail.com> wrote: > > Constify some static variables (mostly structs) that are not modified. > > Rikard Falkeborn (5): > hwrng: bcm2835 - Constify bcm2835_rng_devtype[] > hwrng: nomadik - Constify nmk_rng_ids[] > hwrng: virtio - Constify id_table[] > ipmi: watchdog: Constify ident > virtio_console:...
2020 Jul 09
0
[PATCH 0/5] drivers/char: Constify static variables
On Wed, Jul 01, 2020 at 10:09:45PM +0200, Rikard Falkeborn wrote: > Constify some static variables (mostly structs) that are not modified. > > Rikard Falkeborn (5): > hwrng: bcm2835 - Constify bcm2835_rng_devtype[] > hwrng: nomadik - Constify nmk_rng_ids[] > hwrng: virtio - Constify id_table[] > ipmi: watchdog: Constify ident > virtio_console...
2013 Dec 20
0
Wine release 1.7.9
...eadChar. krnl386.exe16: Make VGA_[Set/Get]Mode return TRUE on success. krnl386.exe16: Use BOOL type where appropriate. krnl386.exe16: Use BOOL type where appropriate. wined3d: Use BOOL type where appropriate. winemac.drv: Use BOOL type where appropriate. dbghelp: Constify some character strings. advapi32: Constify a character string. krnl386.exe16: Use BOOL type where appropriate. inetcomm: Constify some character strings. joy.cpl: Constify some character strings. mscoree: Constify a character string. mshtml: Constify a character...
2007 Apr 13
0
Wine release 0.9.35
...Create a separate fd object for each mailslot writer. Make them first-class file handles. server: Don't bother with default entry points for objects that don't even return an fd. winex11.drv: Hack to disable XInitThreads when an XIM is used. Andrew Talbot (35): comctl32: Constify some variables. comctl32: Constify some variables. comctl32: Constify some variables. comctl32: Constify some variables. comctl32: Constify some variables. comctl32: Constify some variables. comctl32: Constify some variables. comctl32: Constify some variabl...
2007 Apr 27
0
Wine release 0.9.36
...id file handle. make_makefiles: Avoid duplicate .gitignore entries. winecoreaudio: Avoid sizeof in trace. Alexey Markachev (1): ntdll: Fix mistake in Novosibirsk time zone. Andrew Riedi (1): winex11.drv: Add legacy 32-bit cursor support. Andrew Talbot (27): crypt32: Constify some variables. crypt32: Constify some variables. user32: Make function definitions and declarations agree. slwapi: Make function definitions and declarations agree. slwapi: Make function definitions and declarations agree. dbghelp: Constify some variables. uxthe...
2016 Nov 02
0
[PATCH v3 01/15] core: constify nv*_printk macros
Constify the local variables declared in these macros so we can pass const pointers to them. Signed-off-by: Alexandre Courbot <acourbot at nvidia.com> --- drm/nouveau/include/nvkm/core/client.h | 4 ++-- drm/nouveau/include/nvkm/core/device.h | 2 +- drm/nouveau/include/nvkm/core/subdev.h | 2 +- 3...
2016 Dec 13
0
[PATCH v2 1/15] core: constify nv*_printk macros
Constify the local variables declared in these macros so we can pass const pointers to them. Signed-off-by: Alexandre Courbot <acourbot at nvidia.com> --- drm/nouveau/include/nvkm/core/client.h | 4 ++-- drm/nouveau/include/nvkm/core/device.h | 2 +- drm/nouveau/include/nvkm/core/subdev.h | 2 +- 3...
2023 Apr 10
0
[PATCH] vdpa: solidrun: constify pointers to hwmon_channel_info
...dependent patch is available at > >>> > >>> git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-const > >> > >> Doesn't it cause build errors or warnings there? > >> > > > > Are you saying that "hwmon: constify pointers to hwmon_channel_info" applied on its own > > on top of v6.3-rc5 (as done in above branch) causes build errors or warnings ? > > I have not seen any such reports, and I don't immediately see why that would be > > the case. Please elaborate. > > My tree and...
2023 Apr 10
1
[PATCH] vdpa: solidrun: constify pointers to hwmon_channel_info
...gh the hwmon tree. >> This can only result in chaos. The dependent patch is available at >> >> git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-const > > Doesn't it cause build errors or warnings there? > Are you saying that "hwmon: constify pointers to hwmon_channel_info" applied on its own on top of v6.3-rc5 (as done in above branch) causes build errors or warnings ? I have not seen any such reports, and I don't immediately see why that would be the case. Please elaborate. Guenter >> or wait until after the next comm...
2009 Aug 11
1
[PATCH libguestfs] generator.ml: constify do_mkdtemp
...nce this presumes a metric ton of other changes), but mostly a heads-up where I'm going. >From 62cbebffe9859046019b500e4bcdb0e44e575755 Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyering at redhat.com> Date: Tue, 11 Aug 2009 17:17:08 +0200 Subject: [PATCH libguestfs] generator.ml: constify do_mkdtemp * daemon/dir.c (do_mkdtemp): Rewrite for a "const" parameter. * src/generator.ml (mkdtemp): Declare parameter to be of type Pathname. --- daemon/dir.c | 27 ++++++++------------------- src/generator.ml | 8 +++----- 2 files changed, 11 insertions(+), 24 deletions(-)...
2020 Feb 25
0
[PATCH 0/3] Add separate non-KMS state; constify struct drm_driver
...t" I think Laurent's much more minimal series also gets us there for all the drivers we care about. -Daniel > > Thomas Zimmermann (3): > drm: Add separate state structure for legacy, non-KMS drivers > drm: Move non-kms driver state into struct drm_legacy_state > drm: Constify struct drm_driver in DRM core > > drivers/gpu/drm/drm_bufs.c | 10 +++++----- > drivers/gpu/drm/drm_context.c | 9 +++++---- > drivers/gpu/drm/drm_drv.c | 12 ++++++++---- > drivers/gpu/drm/drm_file.c | 4 ++-- > drivers/gpu/drm/drm_le...
2011 Jul 05
2
[LLVMdev] [type-system-rewrite][PATCH] de-constify Type* in FunctionType::get()
...My motivation for this was that I was getting ambiguous overload errors from some calls to FunctionType::get() in the Clang source.) Chris, are you interested in having this committed on the branch? Thanks, Jay. -------------- next part -------------- A non-text attachment was scrubbed... Name: deconstify-type.diff Type: text/x-patch Size: 39693 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110705/d9bb2fa2/attachment.bin>
2011 Jul 05
0
[LLVMdev] [type-system-rewrite][PATCH] de-constify Type* in FunctionType::get()
...verything building > cleanly again. (My motivation for this was that I was getting > ambiguous overload errors from some calls to FunctionType::get() in > the Clang source.) > > Chris, are you interested in having this committed on the branch? > > Thanks, > Jay. > <deconstify-type.diff>
2017 Jul 15
0
[PATCH 3/5] drm: nouveau: constify pci_device_id.
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by <linux/pci.h> work with const pci_device_id. So mark the non-const structs as const. File size before: text data bss dec hex filename 12256 360 976 13592 3518 gpu/drm/nouveau/nouveau_drm.o File size After adding 'const': text data bss
2019 Sep 03
0
[PATCH v2 11/27] drm/dp_mst: Constify guid in drm_dp_get_mst_branch_by_guid()
And it's helper, we'll be using this in just a moment. Cc: Juston Li <juston.li at intel.com> Cc: Imre Deak <imre.deak at intel.com> Cc: Ville Syrjälä <ville.syrjala at linux.intel.com> Cc: Harry Wentland <hwentlan at amd.com> Cc: Daniel Vetter <daniel.vetter at ffwll.ch> Signed-off-by: Lyude Paul <lyude at redhat.com> ---
2020 Jan 07
0
[RFT 05/13] powerpc: Constify ioreadX() iomem argument (as in generic implementation)
The ioreadX() helpers have inconsistent interface. On some architectures void *__iomem address argument is a pointer to const, on some not. Implementations of ioreadX() do not modify the memory under the address so they can be converted to a "const" version for const-safety and consistency among architectures. Signed-off-by: Krzysztof Kozlowski <krzk at kernel.org> ---
2020 Jan 07
0
[RFT 07/13] drm/mgag200: Constify ioreadX() iomem argument (as in generic implementation)
The ioreadX() helpers have inconsistent interface. On some architectures void *__iomem address argument is a pointer to const, on some not. Implementations of ioreadX() do not modify the memory under the address so they can be converted to a "const" version for const-safety and consistency among architectures. Signed-off-by: Krzysztof Kozlowski <krzk at kernel.org> ---