Displaying 20 results from an estimated 58 matches for "271,8".
Did you mean:
271,7
2014 Sep 09
2
mutex
...t device *dev,
int err;
struct hwrng *rng;
+ err = -ENODEV;
err = mutex_lock_interruptible(&rng_mutex);
if (err)
return -ERESTARTSYS;
- err = -ENODEV;
list_for_each_entry(rng, &rng_list, list) {
if (strcmp(rng->name, buf) == 0) {
if (rng == current_rng) {
@@ -270,8 +271,8 @@ static ssize_t hwrng_attr_current_show(struct device *dev,
return -ERESTARTSYS;
if (current_rng)
name = current_rng->name;
- ret = snprintf(buf, PAGE_SIZE, "%s\n", name);
mutex_unlock(&rng_mutex);
+ ret = snprintf(buf, PAGE_SIZE, "%s\n", name);
return r...
2014 Sep 09
2
mutex
...t device *dev,
int err;
struct hwrng *rng;
+ err = -ENODEV;
err = mutex_lock_interruptible(&rng_mutex);
if (err)
return -ERESTARTSYS;
- err = -ENODEV;
list_for_each_entry(rng, &rng_list, list) {
if (strcmp(rng->name, buf) == 0) {
if (rng == current_rng) {
@@ -270,8 +271,8 @@ static ssize_t hwrng_attr_current_show(struct device *dev,
return -ERESTARTSYS;
if (current_rng)
name = current_rng->name;
- ret = snprintf(buf, PAGE_SIZE, "%s\n", name);
mutex_unlock(&rng_mutex);
+ ret = snprintf(buf, PAGE_SIZE, "%s\n", name);
return r...
2009 Dec 05
1
[PATCH] drm/nouveau: fix array overflow
...gpu/drm/nouveau/nouveau_dp.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_dp.c b/drivers/gpu/drm/nouveau/nouveau_dp.c
index a334f17..c2d6eff 100644
--- a/drivers/gpu/drm/nouveau/nouveau_dp.c
+++ b/drivers/gpu/drm/nouveau/nouveau_dp.c
@@ -271,7 +271,8 @@ nouveau_dp_link_train(struct drm_encoder *encoder)
{
struct drm_device *dev = encoder->dev;
struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder);
- uint8_t config[4], status[2];
+ uint8_t config[4];
+ uint8_t status[3];
bool cr_done, cr_max_vs, eq_done;
int ret = 0,...
2014 Sep 10
2
RFC virtio-rng: fail to read sysfs of a busy device
...!
> if (err)
> return -ERESTARTSYS;
> - err = -ENODEV;
And all usage of err below now won't have -ENODEV but some other value.
> list_for_each_entry(rng, &rng_list, list) {
> if (strcmp(rng->name, buf) == 0) {
> if (rng == current_rng) {
> @@ -270,8 +271,8 @@ static ssize_t hwrng_attr_current_show(struct device *dev,
> return -ERESTARTSYS;
> if (current_rng)
> name = current_rng->name;
> - ret = snprintf(buf, PAGE_SIZE, "%s\n", name);
> mutex_unlock(&rng_mutex);
> + ret = snprintf(buf, PAGE_SIZE, "%...
2014 Sep 10
2
RFC virtio-rng: fail to read sysfs of a busy device
...!
> if (err)
> return -ERESTARTSYS;
> - err = -ENODEV;
And all usage of err below now won't have -ENODEV but some other value.
> list_for_each_entry(rng, &rng_list, list) {
> if (strcmp(rng->name, buf) == 0) {
> if (rng == current_rng) {
> @@ -270,8 +271,8 @@ static ssize_t hwrng_attr_current_show(struct device *dev,
> return -ERESTARTSYS;
> if (current_rng)
> name = current_rng->name;
> - ret = snprintf(buf, PAGE_SIZE, "%s\n", name);
> mutex_unlock(&rng_mutex);
> + ret = snprintf(buf, PAGE_SIZE, "%...
2019 Sep 03
0
[PATCH v2 06/27] drm/dp_mst: Combine redundant cases in drm_dp_encode_sideband_req()
...st_topology.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/drm_dp_mst_topology.c b/drivers/gpu/drm/drm_dp_mst_topology.c
index 6f7f449ca12b..1c862749cb63 100644
--- a/drivers/gpu/drm/drm_dp_mst_topology.c
+++ b/drivers/gpu/drm/drm_dp_mst_topology.c
@@ -271,6 +271,8 @@ static void drm_dp_encode_sideband_req(struct drm_dp_sideband_msg_req_body *req,
switch (req->req_type) {
case DP_ENUM_PATH_RESOURCES:
+ case DP_POWER_DOWN_PHY:
+ case DP_POWER_UP_PHY:
buf[idx] = (req->u.port_num.port_number & 0xf) << 4;
idx++;
break;
@@ -...
2014 Sep 09
0
RFC virtio-rng: fail to read sysfs of a busy device
...t device *dev,
int err;
struct hwrng *rng;
+ err = -ENODEV;
err = mutex_lock_interruptible(&rng_mutex);
if (err)
return -ERESTARTSYS;
- err = -ENODEV;
list_for_each_entry(rng, &rng_list, list) {
if (strcmp(rng->name, buf) == 0) {
if (rng == current_rng) {
@@ -270,8 +271,8 @@ static ssize_t hwrng_attr_current_show(struct device *dev,
return -ERESTARTSYS;
if (current_rng)
name = current_rng->name;
- ret = snprintf(buf, PAGE_SIZE, "%s\n", name);
mutex_unlock(&rng_mutex);
+ ret = snprintf(buf, PAGE_SIZE, "%s\n", name);
return r...
2024 Jan 23
1
[PATCH] nouveau: rip out fence irq allow/block sequences.
...lled on nvidia hw using non-stall interrupts.
non-stall interrupts are not latched from my reading.
When nouveau emits a fence, it requests a NON_STALL signalling,
but it only calls the interface to allow the non-stall irq to happen
after it has already emitted the fence. A recent change
eacabb546271 ("nouveau: push event block/allowing out of the fence context")
made this worse by pushing out the fence allow/block to a workqueue.
However I can't see how this could ever work great, since when
enable signalling is called, the semaphore has already been emitted
to the ring, and the...
2024 Jan 25
1
[PATCH] nouveau: rip out fence irq allow/block sequences.
...nterrupts.
>
> non-stall interrupts are not latched from my reading.
>
> When nouveau emits a fence, it requests a NON_STALL signalling,
> but it only calls the interface to allow the non-stall irq to happen
> after it has already emitted the fence. A recent change
> eacabb546271 ("nouveau: push event block/allowing out of the fence context")
> made this worse by pushing out the fence allow/block to a workqueue.
>
> However I can't see how this could ever work great, since when
> enable signalling is called, the semaphore has already been emitted...
2012 Feb 08
7
[PATCH] libxl: Set VNC password through QMP
...>vncpasswd);
+ }
}
ret = libxl__confirm_device_model_startup(gc, dm_info, dm_starting);
if (ret < 0) {
diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c
index 97d91b4..6f7d0d5 100644
--- a/tools/libxl/libxl_dm.c
+++ b/tools/libxl/libxl_dm.c
@@ -271,10 +271,8 @@ static char ** libxl__build_device_model_args_new(libxl__gc *gc,
if (info->vnc) {
int display = 0;
const char *listen = "127.0.0.1";
+ char *vncarg = NULL;
- if (info->vncpasswd && info->vncpasswd[0]) {
- asse...
2013 May 26
0
[LLVMdev] The system library is gone for a long time.
...ations might use System V IPC if
that was available or named pipes, or whatever gets the job done effectively
for a given operating system. In all cases, the interface and the
diff --git a/docs/index.rst b/docs/index.rst
index 6b182da..28107d7 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -271,8 +271,8 @@ For API clients and LLVM developers.
:doc:`BitCodeFormat`
This describes the file format and encoding used for LLVM "bc" files.
-:doc:`System Library <SystemLibrary>`
- This document describes the LLVM System Library (``lib/System``) and
+:doc:`Support Library &l...
2013 May 26
2
[LLVMdev] The system library is gone for a long time.
On 25 May 2013 15:30, Sean Silva <silvas at purdue.edu> wrote:
> This will break existing URLs. Until we have a way to set up redirects the
> file name should stay the same.
Would a SystemLibrary.rst saying it was replaced with the support library be ok?
> -- Sean Silva
Cheers,
Rafael
2014 Sep 10
0
RFC virtio-rng: fail to read sysfs of a busy device
...SYS;
> > - err = -ENODEV;
>
> And all usage of err below now won't have -ENODEV but some other value.
Oops!
> > list_for_each_entry(rng, &rng_list, list) {
> > if (strcmp(rng->name, buf) == 0) {
> > if (rng == current_rng) {
> > @@ -270,8 +271,8 @@ static ssize_t hwrng_attr_current_show(struct device *dev,
> > return -ERESTARTSYS;
> > if (current_rng)
> > name = current_rng->name;
> > - ret = snprintf(buf, PAGE_SIZE, "%s\n", name);
> > mutex_unlock(&rng_mutex);
> > + ret = sn...
2013 May 27
3
[LLVMdev] The system library is gone for a long time.
...hat was available or named pipes, or whatever gets the job done
> effectively
> for a given operating system. In all cases, the interface and the
> diff --git a/docs/index.rst b/docs/index.rst
> index 6b182da..28107d7 100644
> --- a/docs/index.rst
> +++ b/docs/index.rst
> @@ -271,8 +271,8 @@ For API clients and LLVM developers.
> :doc:`BitCodeFormat`
> This describes the file format and encoding used for LLVM "bc" files.
>
> -:doc:`System Library <SystemLibrary>`
> - This document describes the LLVM System Library (``lib/System``) and
&...
2006 Aug 02
0
[PATCH] xenstore-chmod
...b'':
+ perms[nperms].perms = XS_PERM_READ | XS_PERM_WRITE;
+ break;
+ default:
+ errx(1, "Invalid permission specification: ''%c''",
+ argv[optind][0]);
+ }
+ }
+
+ do_chmod(path, perms, nperms, upto, recurse, xsh, xth);
#endif
}
@@ -183,6 +271,8 @@ main(int argc, char **argv)
int ret = 0, socket = 0;
int prefix = 0;
int tidy = 0;
+ int upto = 0;
+ int recurse = 0;
while (1) {
int c, index = 0;
@@ -193,6 +283,9 @@ main(int argc, char **argv)
{"prefix", 0, 0, ''p''},
#elif defi...
2002 Mar 08
1
[PATCH][RFC] space saving incrementals
...for unchanged files\n");
rprintf(F," -P equivalent to --partial --progress\n");
rprintf(F," -z, --compress compress file data\n");
rprintf(F," --exclude=PATTERN exclude files matching PATTERN\n");
@@ -266,7 +271,8 @@
OPT_DELETE_AFTER, OPT_EXISTING, OPT_MAX_DELETE, OPT_BACKUP_DIR,
OPT_IGNORE_ERRORS, OPT_BWLIMIT, OPT_BLOCKING_IO,
OPT_NO_BLOCKING_IO, OPT_NO_WHOLE_FILE,
- OPT_MODIFY_WINDOW, OPT_READ_BATCH, OPT_WRITE_BATCH, OPT_IGNORE_EXISTING};
+ OPT_MODIFY_WINDOW, OPT_READ_BATC...
2015 Apr 23
0
[PATCH v5 7/8] vhost: cross-endian support for legacy devices
...}
+
+static void vhost_init_is_le(struct vhost_virtqueue *vq)
+{
+ if (vhost_has_feature(vq, VIRTIO_F_VERSION_1))
+ vq->is_le = true;
+}
+#endif /* CONFIG_VHOST_CROSS_ENDIAN_LEGACY */
+
static void vhost_poll_func(struct file *file, wait_queue_head_t *wqh,
poll_table *pt)
{
@@ -199,6 +271,8 @@ static void vhost_vq_reset(struct vhost_dev *dev,
vq->call = NULL;
vq->log_ctx = NULL;
vq->memory = NULL;
+ vq->is_le = virtio_legacy_is_little_endian();
+ vhost_vq_reset_user_be(vq);
}
static int vhost_worker(void *data)
@@ -806,6 +880,12 @@ long vhost_vring_ioctl(struct...
2013 May 25
4
[LLVMdev] The system library is gone for a long time.
...t
index 6b182da..65dc126 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -220,7 +220,7 @@ For API clients and LLVM developers.
DebuggingJITedCode
GoldPlugin
MarkedUpDisassembly
- SystemLibrary
+ SupportLibrary
SourceLevelDebugging
Vectorizers
WritingAnLLVMBackend
@@ -271,8 +271,8 @@ For API clients and LLVM developers.
:doc:`BitCodeFormat`
This describes the file format and encoding used for LLVM "bc" files.
-:doc:`System Library <SystemLibrary>`
- This document describes the LLVM System Library (``lib/System``) and
+:doc:`Support Library &l...
2013 May 26
1
[LLVMdev] The system library is gone for a long time.
...@ -220,7 +220,7 @@ For API clients and LLVM developers.
>> DebuggingJITedCode
>> GoldPlugin
>> MarkedUpDisassembly
>> - SystemLibrary
>> + SupportLibrary
>> SourceLevelDebugging
>> Vectorizers
>> WritingAnLLVMBackend
>> @@ -271,8 +271,8 @@ For API clients and LLVM developers.
>> :doc:`BitCodeFormat`
>> This describes the file format and encoding used for LLVM "bc" files.
>>
>> -:doc:`System Library <SystemLibrary>`
>> - This document describes the LLVM System Library (``l...
2020 Mar 06
1
[PATCH 05/22] drm/gma500: Use simple encoder
...- drm_encoder_cleanup(encoder);
> -}
> -
> -static const struct drm_encoder_funcs cdv_intel_crt_enc_funcs = {
> - .destroy = cdv_intel_crt_enc_destroy,
> -};
> -
> void cdv_intel_crt_init(struct drm_device *dev,
> struct psb_intel_mode_device *mode_dev)
> {
> @@ -271,8 +264,7 @@ void cdv_intel_crt_init(struct drm_device *dev,
> &cdv_intel_crt_connector_funcs, DRM_MODE_CONNECTOR_VGA);
>
> encoder = &gma_encoder->base;
> - drm_encoder_init(dev, encoder,
> - &cdv_intel_crt_enc_funcs, DRM_MODE_ENCODER_DAC, NULL);
> + drm_sim...