summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ifpps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ifpps.c b/ifpps.c
index 5e4b5b0..3dbb337 100644
--- a/ifpps.c
+++ b/ifpps.c
@@ -164,7 +164,7 @@ static void stats_alloc(struct ifstat *stats, int cpus)
}
#define STATS_ZERO1(member) \
- do { memset(stats->member, 0, sizeof(*(stats->member))); } while (0)
+ do { memset(stats->member, 0, cpus * sizeof(*(stats->member))); } while (0)
static void stats_zero(struct ifstat *stats, int cpus)
{
ref='/cgit.cgi/linux/net-next.git/diff/Documentation?h=nds-private-remove&id=6aecd8715802d23dc6a0859b50c62d2b0a99de3a&id2=d69bb92e402ff948bdcd39f19c9067874fb86873'>diff)
ALSA: hda - Fix headset mic detection problem for two Dell laptops
They uses the codec ALC255, and have the different pin cfg definition from the ones in the existing pin quirk table. Now adding them into the table to fix the problem. Cc: stable@vger.kernel.org Signed-off-by: Hui Wang <hui.wang@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'Documentation')