search for: 117,6

Displaying 20 results from an estimated 234 matches for "117,6".

Did you mean: 117,7
2012 Apr 30
5
[PATCH] nouveau/vieux: only advertise supported texture formats
...| 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/mesa/drivers/dri/nouveau/nouveau_context.c b/src/mesa/drivers/dri/nouveau/nouveau_context.c index 4845767..46c0d70 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_context.c +++ b/src/mesa/drivers/dri/nouveau/nouveau_context.c @@ -117,6 +117,15 @@ nouveau_context_init(struct gl_context *ctx, struct nouveau_screen *screen, nouveau_span_functions_init(ctx); _mesa_allow_light_in_model(ctx, GL_FALSE); + /* only advertise supported texture formats */ + memset(&ctx->TextureFormatSupported, 0, + sizeof(ctx->Textu...
2016 Jul 18
2
[PATCH] mllib: Getopt: fix integer parsing
...b/mllib/getopt-c.c index 1f129a7..2d3f9b6 100644 --- a/mllib/getopt-c.c +++ b/mllib/getopt-c.c @@ -30,6 +30,8 @@ #include <error.h> #include <assert.h> +#include "xstrtol.h" + #include <caml/alloc.h> #include <caml/fail.h> #include <caml/memory.h> @@ -117,6 +119,26 @@ do_call1 (value funv, value paramv) CAMLreturn0; } +static int +strtoint (const char *arg) +{ + long int num; + + if (xstrtol (arg, NULL, 0, &num, NULL) != LONGINT_OK) { + fprintf (stderr, _("%s: '%s' is not a numeric value.\n"), + guestfs_i...
2017 Nov 21
1
[nbdkit PATCH] file: Diagnose a missing file earlier
...ses a file= argument more than once. Signed-off-by: Eric Blake <eblake@redhat.com> --- plugins/file/file.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/file/file.c b/plugins/file/file.c index ef5da3d..4a91251 100644 --- a/plugins/file/file.c +++ b/plugins/file/file.c @@ -117,6 +117,7 @@ file_config (const char *key, const char *value) { if (strcmp (key, "file") == 0) { /* See FILENAMES AND PATHS in nbdkit-plugin(3). */ + free (filename); filename = nbdkit_absolute_path (value); if (!filename) return -1; @@ -147,6 +148,10 @@ file_c...
2012 Oct 07
1
[PATCH] drm/nouveau: comment out unused _nouveau_parent_ctor
...44 --- a/drivers/gpu/drm/nouveau/core/core/parent.c +++ b/drivers/gpu/drm/nouveau/core/core/parent.c @@ -101,6 +101,7 @@ nouveau_parent_create_(struct nouveau_object *parent, return 0; } +#if 0 int _nouveau_parent_ctor(struct nouveau_object *parent, struct nouveau_object *engine, @@ -117,6 +118,7 @@ _nouveau_parent_ctor(struct nouveau_object *parent, return 0; } +#endif void nouveau_parent_destroy(struct nouveau_parent *parent) diff --git a/drivers/gpu/drm/nouveau/core/include/core/parent.h b/drivers/gpu/drm/nouveau/core/include/core/parent.h index d3aa251..58bf6b5 100644...
2014 Oct 06
1
[PATCH 05/16] virtio: defer config changed notifications
...| 55 +++++++++++++++++++++++++++++++++++++++++-------- > 2 files changed, 52 insertions(+), 9 deletions(-) > > diff --git a/drivers/virtio/virtio.c b/drivers/virtio/virtio.c > index 657f817..578e02d 100644 > --- a/drivers/virtio/virtio.c > +++ b/drivers/virtio/virtio.c > @@ -117,6 +117,40 @@ void virtio_check_driver_offered_feature(const struct virtio_device *vdev, > } > EXPORT_SYMBOL_GPL(virtio_check_driver_offered_feature); > > +static void __virtio_config_changed(struct virtio_device *dev) > +{ > + struct virtio_driver *drv = drv_to_virtio(dev->d...
2014 Oct 06
1
[PATCH 05/16] virtio: defer config changed notifications
...| 55 +++++++++++++++++++++++++++++++++++++++++-------- > 2 files changed, 52 insertions(+), 9 deletions(-) > > diff --git a/drivers/virtio/virtio.c b/drivers/virtio/virtio.c > index 657f817..578e02d 100644 > --- a/drivers/virtio/virtio.c > +++ b/drivers/virtio/virtio.c > @@ -117,6 +117,40 @@ void virtio_check_driver_offered_feature(const struct virtio_device *vdev, > } > EXPORT_SYMBOL_GPL(virtio_check_driver_offered_feature); > > +static void __virtio_config_changed(struct virtio_device *dev) > +{ > + struct virtio_driver *drv = drv_to_virtio(dev->d...
2015 Feb 17
2
[LLVMdev] [PATCH 1/2 v3] configure: add visibility macro detection to configure
...> # Work around aliasing bugs - developers should comment this out > CXXFLAGS="$CXXFLAGS -fno-strict-aliasing" > > diff --git a/src/util/macros.h b/src/util/macros.h > index eec8b93..7682511 100644 > --- a/src/util/macros.h > +++ b/src/util/macros.h > @@ -117,6 +117,12 @@ do { \ > #define PRINTFLIKE(f, a) > #endif > > +#ifdef HAVE_FUNC_ATTRIBUTE_VISIBILITY > +#define HIDDEN __attribute__((visibility("hidden"))) > +#else > +#define HIDDEN > +#endif > + > #ifdef HAVE_FUNC_ATTRIBUTE_MALLOC &g...
2002 Feb 24
2
Write-only option
...if that's the wrong list to post such stuff. --Cut here---------------------------------------------------------------- diff -urN rsync-2.5.2.orig/loadparm.c rsync-2.5.2/loadparm.c --- rsync-2.5.2.orig/loadparm.c Sun Dec 2 09:16:15 2001 +++ rsync-2.5.2/loadparm.c Sat Feb 23 13:48:12 2002 @@ -117,6 +117,7 @@ char *comment; char *lock_file; BOOL read_only; + BOOL write_only; BOOL list; BOOL use_chroot; BOOL transfer_logging; @@ -149,6 +150,7 @@ NULL, /* comment */ DEFAULT_LOCK_FILE, /* lock file */ True, /* read only */ + False, /* write only */ True, /* lis...
2003 Oct 12
4
[PATCH]: Call pam_chauthtok from keyboard-interactive.
...am.c --- auth-pam.c 9 Oct 2003 04:20:15 -0000 1.76 +++ auth-pam.c 12 Oct 2003 14:01:45 -0000 @@ -52,6 +52,8 @@ RCSID("$Id: auth-pam.c,v 1.76 2003/10/09 #include "auth-options.h" extern ServerOptions options; +extern Buffer loginmsg; +extern int compat20; #define __unused @@ -117,6 +119,7 @@ static int sshpam_authenticated = 0; static int sshpam_new_authtok_reqd = 0; static int sshpam_session_open = 0; static int sshpam_cred_established = 0; +static int sshpam_account_status = -1; struct pam_ctxt { sp_pthread_t pam_thread; @@ -231,6 +234,15 @@ sshpam_thread(void *c...
2013 Mar 22
1
[kde-workspace] kwin/libkdecorations: KDecorationBridge becomes private again
...dding new functionality there. class KDecorationBridge : public KDecorationDefines { public: @@ -91,7 +85,7 @@ public: virtual void grabXServer(bool grab) = 0; }; -class KWIN_EXPORT KDecorationBridgeUnstable +class KDecorationBridgeUnstable : public KDecorationBridge { public: @@ -117,6 +111,4 @@ public: virtual WindowOperation buttonToWindowOperation(Qt::MouseButtons button) = 0; }; -/** @} */ - #endif
2023 Jun 22
1
[PATCH v2] drm/nouveau/gr: enable memory loads on helper invocation on all channels
...nsertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.h b/drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.h index 00dbeda7e346..de161e7a04aa 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.h +++ b/drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.h @@ -117,6 +117,7 @@ void gk104_grctx_generate_r418800(struct gf100_gr *); extern const struct gf100_grctx_func gk110_grctx; void gk110_grctx_generate_r419eb0(struct gf100_gr *); +void gk110_grctx_generate_r419f78(struct gf100_gr *); extern const struct gf100_grctx_func gk110b_grctx; extern const st...
2015 Feb 26
2
[LLVMdev] [Mesa-dev] [PATCH 1/2 v3] configure: add visibility macro detection to configure
...t; # Work around aliasing bugs - developers should comment this out > CXXFLAGS="$CXXFLAGS -fno-strict-aliasing" > > diff --git a/src/util/macros.h b/src/util/macros.h > index eec8b93..7682511 100644 > --- a/src/util/macros.h > +++ b/src/util/macros.h > @@ -117,6 +117,12 @@ do { \ > #define PRINTFLIKE(f, a) > #endif > > +#ifdef HAVE_FUNC_ATTRIBUTE_VISIBILITY > +#define HIDDEN __attribute__((visibility("hidden"))) > +#else > +#define HIDDEN > +#endif > + We already define HIDDEN in the asm code...
2014 Jul 10
2
[LLVMdev] [PATCH][REQUEST] Could someone submit this CSR Kalimba definitions patch please?
...alimba"; } llvm_unreachable("Invalid ArchType!"); @@ -101,6 +102,7 @@ case amdil: return "amdil"; case spir: return "spir"; case spir64: return "spir"; + case kalimba: return "kalimba"; } } @@ -117,6 +119,7 @@ case IBM: return "ibm"; case ImaginationTechnologies: return "img"; case NVIDIA: return "nvidia"; + case CSR: return "csr"; } llvm_unreachable("Invalid VendorType!"); @@ -208,6 +211,7 @@ .Case("amdil&quot...
2015 Feb 17
7
[LLVMdev] [PATCH 0/2 v3] add visibility hidden to tls entry points
Patch 1 adds a check for the compilers visibility macro to configure.ac. Patch 2 avoids redefined symbol errors in clang of the tls entry points. Based on a suggestion from Rafael Ávila de Espíndola <rafael.espindola at gmail.com> in http://llvm.org/bugs/show_bug.cgi?id=19778. Tested with gcc 4.9 and clang 3.6(rc) Marc Dietrich (2): configure: add visibility macro detection to configure
2023 Oct 10
5
[PATCH libnbd 0/4] Miscellaneous Rust cleanups
Add an overview libnbd-rust(3) man page pointing to the real documentation. This is like OCaml & Golang. When reviewing the real rustdocs I noticed they basically converted the man pages into plain text, resulting in lots of problems such as internal links not working, no `code` annotations, etc. So I wrote a simple POD to rustdoc translator. It is by no means perfect, but it fixes many of
2019 Dec 10
0
[PATCH AUTOSEL 4.19 154/177] crypto: virtio - deal with unsupported input sizes
...+-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/virtio/virtio_crypto_algs.c b/drivers/crypto/virtio/virtio_crypto_algs.c index 2c573d1aaa64f..523b712770ac5 100644 --- a/drivers/crypto/virtio/virtio_crypto_algs.c +++ b/drivers/crypto/virtio/virtio_crypto_algs.c @@ -117,8 +117,6 @@ virtio_crypto_alg_validate_key(int key_len, uint32_t *alg) *alg = VIRTIO_CRYPTO_CIPHER_AES_CBC; break; default: - pr_err("virtio_crypto: Unsupported key length: %d\n", - key_len); return -EINVAL; } return 0; @@ -498,6 +496,11 @@ static int virtio_crypto_ablkc...
2019 Dec 29
0
[PATCH 4.19 167/219] crypto: virtio - deal with unsupported input sizes
...+++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/virtio/virtio_crypto_algs.c b/drivers/crypto/virtio/virtio_crypto_algs.c index 2c573d1aaa64..523b712770ac 100644 --- a/drivers/crypto/virtio/virtio_crypto_algs.c +++ b/drivers/crypto/virtio/virtio_crypto_algs.c @@ -117,8 +117,6 @@ virtio_crypto_alg_validate_key(int key_len, uint32_t *alg) *alg = VIRTIO_CRYPTO_CIPHER_AES_CBC; break; default: - pr_err("virtio_crypto: Unsupported key length: %d\n", - key_len); return -EINVAL; } return 0; @@ -498,6 +496,11 @@ static int virtio_crypto_ablkc...
2005 May 20
0
[PATCH] let klcc pass input from STDIN to gcc
...print STDERR join(' ', @_), "\n" if ( $verbose ); - return system(@_); + my $cmd = shift; + my $childpid = open3("<&STDIN", ">&STDOUT", ">&STDERR", $cmd, @_); + waitpid ($childpid, 0); + return $?; } # @@ -117,6 +122,11 @@ # Not an option. Must be a filename then. push(@files, $a); $flang{$a} = $lang || filename2lang($a); + } elsif ( $a eq '-' ) { + # gcc gets its input from stdin + push(@files, $a); + # prevent setting -x + $flang{$a} = 'stdin' } elsif ( $a =~ /^-print-kli...
2020 Jan 10
0
[PATCH v2 8/8] python: add a pycodestyle test
...ff --git a/python/Makefile.am b/python/Makefile.am index f0a4b55bd..7286ac906 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -38,6 +38,7 @@ EXTRA_DIST = \ setup.py.in \ run-bindtests \ run-python-tests \ + test-pycodestyle.sh \ t/__init__.py \ t/README \ t/test[0-9]*.py @@ -117,6 +118,10 @@ if ENABLE_APPLIANCE TESTS += run-python-tests endif ENABLE_APPLIANCE +if HAVE_PYCODESTYLE +TESTS += test-pycodestyle.sh +endif + endif HAVE_PYTHON # Extra clean. diff --git a/python/test-pycodestyle.sh b/python/test-pycodestyle.sh new file mode 100755 index 000000000..63b453170...
2020 Jan 10
0
[PATCH 7/7] python: add a pycodestyle test
...ff --git a/python/Makefile.am b/python/Makefile.am index f0a4b55bd..7286ac906 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -38,6 +38,7 @@ EXTRA_DIST = \ setup.py.in \ run-bindtests \ run-python-tests \ + test-pycodestyle.sh \ t/__init__.py \ t/README \ t/test[0-9]*.py @@ -117,6 +118,10 @@ if ENABLE_APPLIANCE TESTS += run-python-tests endif ENABLE_APPLIANCE +if HAVE_PYCODESTYLE +TESTS += test-pycodestyle.sh +endif + endif HAVE_PYTHON # Extra clean. diff --git a/python/test-pycodestyle.sh b/python/test-pycodestyle.sh new file mode 100755 index 000000000..2a5bf3fac...