Displaying 20 results from an estimated 76 matches for "643,6".
Did you mean:
63,6
2006 Aug 31
2
a patch for ocfs2_link
This patch remove the redundant "i_nlink >= OCFS2_LINK_MAX" check
and add an unlinked directory check.
Singed-off-by: mfasheh
diff --git a/fs/ocfs2/namei.c b/fs/ocfs2/namei.c
index 0673862..719a8d2 100644
--- a/fs/ocfs2/namei.c
+++ b/fs/ocfs2/namei.c
@@ -643,11 +643,6 @@ static int ocfs2_link(struct dentry *old
goto bail;
}
- if (inode->i_nlink >= OCFS2_LINK_MAX) {
- err = -EMLINK;
- goto bail;
- }
-
handle = ocfs2_alloc_handle(osb);
if (handle == NULL) {...
2009 Nov 10
4
[LLVMdev] BasicAliasAnalysis: constant does not alias with noalias parameter
...t;
>>
>> / Hans
>> Index: lib/Analysis/BasicAliasAnalysis.cpp
>> ===================================================================
>> --- lib/Analysis/BasicAliasAnalysis.cpp (revision 86023)
>> +++ lib/Analysis/BasicAliasAnalysis.cpp (working copy)
>> @@ -643,6 +643,23 @@
>> if (!isa<PointerType>(V1->getType()) || !isa<PointerType>(V2->getType()))
>> return NoAlias; // Scalars cannot alias each other
>>
>> + // Constant ptr cannot alias with a noalias attribute
>> + if (isa<Constant>(V1) &am...
2009 Nov 05
0
[LLVMdev] BasicAliasAnalysis: constant does not alias with noalias parameter
...right way of doing it.
>
>
> / Hans
> Index: lib/Analysis/BasicAliasAnalysis.cpp
> ===================================================================
> --- lib/Analysis/BasicAliasAnalysis.cpp (revision 86023)
> +++ lib/Analysis/BasicAliasAnalysis.cpp (working copy)
> @@ -643,6 +643,23 @@
> if (!isa<PointerType>(V1->getType()) || !isa<PointerType>(V2->getType()))
> return NoAlias; // Scalars cannot alias each other
>
> + // Constant ptr cannot alias with a noalias attribute
> + if (isa<Constant>(V1) && isa<Poin...
2009 Nov 04
2
[LLVMdev] BasicAliasAnalysis: constant does not alias with noalias parameter
Here is another change I'd like to suggest to the BasicAliasAnalysis.
LLVM fails to remove the dead store in the following code:
%t = type { i32 }
define void @f(%t* noalias nocapture %stuff ) {
%p = getelementptr inbounds %t* %stuff, i32 0, i32 0
store i32 1, i32* %p; <-- This store is dead
%x = load i32* inttoptr (i32 12345 to i32*)
store i32 %x, i32* %p
ret
2009 Nov 12
0
[LLVMdev] BasicAliasAnalysis: constant does not alias with noalias parameter
...s
>>> Index: lib/Analysis/BasicAliasAnalysis.cpp
>>> ===================================================================
>>> --- lib/Analysis/BasicAliasAnalysis.cpp (revision 86023)
>>> +++ lib/Analysis/BasicAliasAnalysis.cpp (working copy)
>>> @@ -643,6 +643,23 @@
>>> if (!isa<PointerType>(V1->getType()) ||
>>> !isa<PointerType>(V2->getType()))
>>> return NoAlias; // Scalars cannot alias each other
>>>
>>> + // Constant ptr cannot alias with a noalias attribute
>>>...
2009 Nov 13
1
[LLVMdev] BasicAliasAnalysis: constant does not alias with noalias parameter
...ndex: lib/Analysis/BasicAliasAnalysis.cpp
>>>> ===================================================================
>>>> --- lib/Analysis/BasicAliasAnalysis.cpp (revision 86023)
>>>> +++ lib/Analysis/BasicAliasAnalysis.cpp (working copy)
>>>> @@ -643,6 +643,23 @@
>>>> if (!isa<PointerType>(V1->getType()) ||
>>>> !isa<PointerType>(V2->getType()))
>>>> return NoAlias; // Scalars cannot alias each other
>>>>
>>>> + // Constant ptr cannot alias with a noalias att...
2016 Feb 20
0
[PATCH v4 5/6] hwmon: don't require therm to be valid to get any data
...drm/nouveau/nouveau_hwmon.c | 39 +++++++++++++++++++--------------------
1 file changed, 19 insertions(+), 20 deletions(-)
diff --git a/drm/nouveau/nouveau_hwmon.c b/drm/nouveau/nouveau_hwmon.c
index c4f77f5..a630192 100644
--- a/drm/nouveau/nouveau_hwmon.c
+++ b/drm/nouveau/nouveau_hwmon.c
@@ -643,9 +643,6 @@ nouveau_hwmon_init(struct drm_device *dev)
return -ENOMEM;
hwmon->dev = dev;
- if (!therm || !therm->attr_get || !therm->attr_set)
- return -ENODEV;
-
hwmon_dev = hwmon_device_register(&dev->pdev->dev);
if (IS_ERR(hwmon_dev)) {
ret = PTR_ERR(hwmon_dev);...
2020 Feb 14
0
[PATCH v4 4/6] drm/virtio: batch resource creation
...gpu/drm/virtio/virtgpu_vq.c
@@ -515,7 +515,6 @@ void virtio_gpu_cmd_create_resource(struct virtio_gpu_device *vgdev,
cmd_p->height = cpu_to_le32(params->height);
virtio_gpu_queue_fenced_ctrl_buffer(vgdev, vbuf, fence);
- virtio_gpu_notify(vgdev);
bo->created = true;
}
@@ -644,7 +643,6 @@ virtio_gpu_cmd_resource_attach_backing(struct virtio_gpu_device *vgdev,
vbuf->data_size = sizeof(*ents) * nents;
virtio_gpu_queue_fenced_ctrl_buffer(vgdev, vbuf, fence);
- virtio_gpu_notify(vgdev);
}
static void virtio_gpu_cmd_get_display_info_cb(struct virtio_gpu_device *vgdev,
@...
2006 Dec 06
1
Big litle endian issues in 1.6 beta 5
Hi All,
Attached is a proposed patch, which should solve some issues with mixed
endians. Unfortunately I was not able to access the latest code on the
CVS to see what other fixes might be there.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pack_generic.diff
Type: text/x-patch
Size: 2816 bytes
Desc: not available
Url :
2006 Dec 06
1
Big litle endian issues in 1.6 beta 5
Hi All,
Attached is a proposed patch, which should solve some issues with mixed
endians. Unfortunately I was not able to access the latest code on the
CVS to see what other fixes might be there.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pack_generic.diff
Type: text/x-patch
Size: 2816 bytes
Desc: not available
Url :
2019 Aug 15
0
[PATCH libnbd v2 04/10] lib: Permit .callback = NULL, .free != NULL.
...pletion callback to be actually
called.
---
docs/libnbd.pod | 15 +++++++++++++++
lib/internal.h | 18 +++++++++---------
2 files changed, 24 insertions(+), 9 deletions(-)
diff --git a/docs/libnbd.pod b/docs/libnbd.pod
index f6fd4cd..d230cb4 100644
--- a/docs/libnbd.pod
+++ b/docs/libnbd.pod
@@ -643,6 +643,21 @@ S<C<chunk.callback = my_fn>> function is called.
The free function is only accessible in the C API as it is not needed
in garbage collected programming languages.
+=head2 Callbacks with C<.callback=NULL> and C<.free!=NULL>
+
+It is possible to register a cal...
2005 Nov 03
0
[PATCH] vmx-platform-vmread.patch
...- vm86 = 1;
if (vm86) { /* meaning is reversed */
if (instr->op_size == WORD)
@@ -636,7 +631,6 @@
struct vcpu *v = current;
vcpu_iodata_t *vio;
ioreq_t *p;
- int vm86;
struct cpu_user_regs *regs;
extern long evtchn_send(int lport);
@@ -649,8 +643,6 @@
}
p = &vio->vp_ioreq;
-
- vm86 = regs->eflags & X86_EFLAGS_VM;
if (test_bit(ARCH_VMX_IO_WAIT, &v->arch.arch_vmx.flags)) {
printf("VMX I/O has not yet completed\n");
@@ -725,7 +717,6 @@
void handle_mmio(unsigned long va, unsigned...
2002 Dec 20
1
smbclient and large file support
...int ndgs, char *p)
{
/* Converts long to octal string, pads with leading zeros */
@@ -621,7 +621,7 @@
static void do_atar(char *rname,char *lname,file_info *finfo1)
{
int fnum;
- uint32 nread=0;
+ SMB_BIG_UINT nread=0;
char ftype;
file_info2 finfo;
BOOL close_done = False;
@@ -643,6 +643,7 @@
finfo.mtime = finfo1 -> mtime;
finfo.atime = finfo1 -> atime;
finfo.ctime = finfo1 -> ctime;
+ finfo.name = finfo1 -> name;
}
else {
finfo.size = def_finfo.size;
@@ -652,13 +653,14 @@
finfo.mtime = def_finfo.mtime;
finfo.atime = def_f...
2020 Nov 14
0
[PATCH 8/8] drm/nouveau/kms/nv50-: Fix locking for audio callbacks
...tc);
- if (!nv_crtc || nv_encoder->or != port ||
- nv_crtc->index != dev_id)
- continue;
- *enabled = nv_encoder->audio;
+ *enabled = nv_encoder->audio.enabled;
if (*enabled) {
ret = drm_eld_size(nv_connector->base.eld);
memcpy(buf, nv_connector->base.eld,
@@ -643,6 +636,8 @@ nv50_audio_component_get_eld(struct device *kdev, int port, int dev_id,
break;
}
+ mutex_unlock(&drm->audio.lock);
+
return ret;
}
@@ -692,17 +687,22 @@ static const struct component_ops nv50_audio_component_bind_ops = {
static void
nv50_audio_component_init(struct...
2012 May 23
1
[PATCH (nouveau)] Add xwayland support
...10,6 +729,9 @@ NVPreInit(ScrnInfoPtr pScrn, int flags)
uint64_t v;
int ret;
int defaultDepth = 0;
+#ifdef XORG_WAYLAND
+ struct xwl_screen *xwl_screen = pScrn->driverPrivate;
+#endif
if (flags & PROBE_DETECT) {
EntityInfoPtr pEnt = xf86GetEntityInfo(pScrn->entityList[0]);
@@ -643,6 +765,10 @@ NVPreInit(ScrnInfoPtr pScrn, int flags)
if (!(pScrn->driverPrivate = xnfcalloc(1, sizeof(NVRec))))
return FALSE;
pNv = NVPTR(pScrn);
+
+#ifdef XORG_WAYLAND
+ pNv->xwl_screen = xwl_screen;
+#endif
/* Get the entity, and make sure it is PCI. */
pNv->pEnt = xf86GetE...
2007 Nov 02
0
5 commits - libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_xml.c libswfdec/swfdec_xml_node.c
...xml_parse_tag (SwfdecXml *xml, SwfdecXmlNode **node, const char *p)
child = swfdec_xml_node_new_no_properties (
SWFDEC_AS_OBJECT (*node)->context, SWFDEC_XML_NODE_ELEMENT, name);
g_free (name);
+ if (child == NULL)
+ return strchr (p, '\0');
}
if (close) {
@@ -643,6 +645,8 @@ swfdec_xml_parse_text (SwfdecXml *xml, SwfdecXmlNode *node,
child = swfdec_xml_node_new_no_properties (
SWFDEC_AS_OBJECT (node)->context, SWFDEC_XML_NODE_TEXT, unescaped);
g_free (unescaped);
+ if (child == NULL)
+ return strchr (p, '\0');
swfdec_xml_...
2005 Aug 26
0
Patch for UnixWare 7
....ac 2005-08-24 16:51:30.297680013 -0700
@@ -446,6 +446,8 @@
;;
# UnixWare 7.x, OpenUNIX 8
*-*-sysv5*)
+ check_for_libcrypt_later=1
+ AC_DEFINE(UNIXWARE_LONG_PASSWORDS, 1, [Support passwords > 8 chars])
AC_DEFINE(USE_PIPES)
AC_DEFINE(SETEUID_BREAKS_SETUID)
AC_DEFINE(BROKEN_SETREUID)
@@ -643,6 +645,7 @@
getopt.h \
glob.h \
ia.h \
+ iaf.h \
lastlog.h \
limits.h \
login.h \
@@ -1721,6 +1724,7 @@
AC_CHECK_LIB(crypt, crypt, LIBS="$LIBS -lcrypt")
fi
+AC_CHECK_LIB(iaf, ia_openinfo)
### Configure cryptographic random number support
--- openssh/defines.h.old 200...
2019 Sep 24
3
[PATCH V2 5/8] mdev: introduce device specific ops
...ivers/gpu/drm/i915/gvt/kvmgt.c
> @@ -42,6 +42,7 @@
> #include <linux/kvm_host.h>
> #include <linux/vfio.h>
> #include <linux/mdev.h>
> +#include <linux/vfio_mdev.h>
> #include <linux/debugfs.h>
>
> #include <linux/nospec.h>
> @@ -643,6 +644,8 @@ static void kvmgt_put_vfio_device(void *vgpu)
> vfio_device_put(((struct intel_vgpu *)vgpu)->vdev.vfio_device);
> }
>
> +static struct vfio_mdev_device_ops intel_vfio_vgpu_dev_ops;
> +
> static int intel_vgpu_create(struct kobject *kobj, struct mdev_device *md...
2019 Sep 24
3
[PATCH V2 5/8] mdev: introduce device specific ops
...ivers/gpu/drm/i915/gvt/kvmgt.c
> @@ -42,6 +42,7 @@
> #include <linux/kvm_host.h>
> #include <linux/vfio.h>
> #include <linux/mdev.h>
> +#include <linux/vfio_mdev.h>
> #include <linux/debugfs.h>
>
> #include <linux/nospec.h>
> @@ -643,6 +644,8 @@ static void kvmgt_put_vfio_device(void *vgpu)
> vfio_device_put(((struct intel_vgpu *)vgpu)->vdev.vfio_device);
> }
>
> +static struct vfio_mdev_device_ops intel_vfio_vgpu_dev_ops;
> +
> static int intel_vgpu_create(struct kobject *kobj, struct mdev_device *md...
2017 Feb 06
0
[PATCH 1/2] Define .errno_is_preserved constant instead of a .errno_is_reliable callback.
...and not
- * exposed in Python.
- */
-static int
-py_errno_is_reliable (void *handle)
-{
- return 0;
-}
-
#define py_config_help \
"script=<FILENAME> (required) The Python plugin to run.\n" \
"[other arguments may be used by the plugin that you load]"
@@ -653,8 +643,6 @@ static struct nbdkit_plugin plugin = {
.flush = py_flush,
.trim = py_trim,
.zero = py_zero,
-
- .errno_is_reliable = py_errno_is_reliable,
};
NBDKIT_REGISTER_PLUGIN(plugin)
diff --git a/plugins/ruby/nbdkit-ruby-plugin.pod b/plugins/ruby/nbdki...