diff for duplicates of <5B726124.5030308@huawei.com> diff --git a/a/1.txt b/N1/1.txt index 01ddccc..6ef20d1 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -31,7 +31,7 @@ On 2018/8/14 12:45, Joe Perches wrote: > pfm_check_task_state(pfm_context_t *ctx, int cmd, unsigned long flags) > @@ -4770,7 +4769,7 @@ sys_perfmonctl (int fd, int cmd, void __user *arg, int count) > */ -> if (unlikely(pmu_conf = NULL)) return -ENOSYS; +> if (unlikely(pmu_conf == NULL)) return -ENOSYS; > > - if (unlikely(cmd < 0 || cmd >= PFM_CMD_COUNT)) { > + if (unlikely(cmd < 0 || cmd >= ARRAY_SIZE(pfm_cmd_tab)) { diff --git a/a/content_digest b/N1/content_digest index aac70fb..2ff1dfd 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -3,21 +3,21 @@ "ref\081ae2b1b7ea395217dbf3494457a232bdfdc79c5.camel@perches.com\0" "From\0zhong jiang <zhongjiang@huawei.com>\0" "Subject\0Re: [PATCH 1/2] ia64: Use ARRAY_SIZE to replace its implementation\0" - "Date\0Tue, 14 Aug 2018 04:57:08 +0000\0" + "Date\0Tue, 14 Aug 2018 12:57:08 +0800\0" "To\0Joe Perches <golf@perches.com>\0" - "Cc\0tony.luck@intel.com" - fenghua.yu@intel.com - benh@kernel.crashing.org - paulus@samba.org - mpe@ellerman.id.au - oleg@redhat.com - rppt@linux.vnet.ibm.com - dhowells@redhat.com - akpm@linux-foundation.org - viro@zeniv.linux.org.uk - linux-ia64@vger.kernel.org - linux-kernel@vger.kernel.org - " linuxppc-dev@lists.ozlabs.org\0" + "Cc\0<tony.luck@intel.com>" + <fenghua.yu@intel.com> + <benh@kernel.crashing.org> + <paulus@samba.org> + <mpe@ellerman.id.au> + <oleg@redhat.com> + <rppt@linux.vnet.ibm.com> + <dhowells@redhat.com> + <akpm@linux-foundation.org> + <viro@zeniv.linux.org.uk> + <linux-ia64@vger.kernel.org> + <linux-kernel@vger.kernel.org> + " <linuxppc-dev@lists.ozlabs.org>\0" "\00:1\0" "b\0" "On 2018/8/14 12:45, Joe Perches wrote:\n" @@ -53,7 +53,7 @@ "> pfm_check_task_state(pfm_context_t *ctx, int cmd, unsigned long flags)\n" "> @@ -4770,7 +4769,7 @@ sys_perfmonctl (int fd, int cmd, void __user *arg, int count)\n" "> \t */\n" - "> \tif (unlikely(pmu_conf = NULL)) return -ENOSYS;\n" + "> \tif (unlikely(pmu_conf == NULL)) return -ENOSYS;\n" "> \n" "> -\tif (unlikely(cmd < 0 || cmd >= PFM_CMD_COUNT)) {\n" "> +\tif (unlikely(cmd < 0 || cmd >= ARRAY_SIZE(pfm_cmd_tab)) {\n" @@ -69,4 +69,4 @@ " Sincerely,\n" zhong jiang -dd70ef0ccc479153bb51f373a4cf0b41c94cefca4dd90f596da1db5c704cbf11 +63c74386c4bdebcda39e393d6f039fa020ab3feb81fe54853f96fd1180ea1830
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.