Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8476866imu; Tue, 4 Dec 2018 08:59:31 -0800 (PST) X-Google-Smtp-Source: AFSGD/XzxEa6R8ZLYsKdc3MLALzktCy6aRZkA9bVBCSHWj1lHgwNTASh6ygV20O439Ba0YWiTVE3 X-Received: by 2002:a62:f54f:: with SMTP id n76mr20807383pfh.59.1543942771736; Tue, 04 Dec 2018 08:59:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543942771; cv=none; d=google.com; s=arc-20160816; b=oUA2tJTKJauaZjKQJXmk2B7R4obFfZCpObo0RVywvC1vCxTrnB3ICcXZtnP3G+yZkz u10fto0/ohII0+HHjdYvP+3XHNHImOESIsHamzL01xCHEx/W7I5kbarcb8bQJudfh1Yb fxYI6VhKVFVZPcMYDYyuuRY56LJUd6jp6SzWEjjoHZLsWTeFnGoDKIqgYGk0l4b6cM0I K1ahBeXBqgZ/Zzc2yFjkpQzwq+vdbdQ5AVQ1IA9c9dPa+NbICUpliiS8CsdDwxkvxi7R i5NueH9K2ePTLqEmauRBQexDcqu+2kaonsstLkH0Sk8VoX/5fq03P32Iyl/OzZLcVv0v vLdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=IajMFN6Ort/d7StaYxafHcMyREqwcvnTcj/7voIaHxo=; b=DTaX9KGOtu1qNGiMYD1M9tauzg2ftCvZLXIMrrm3aFEOAXmi9Lz+taVZspDO+3vPKO FuEtDPc/m9ofjBHxa5cw0i6KMXbL6Hf09iizJnLILOXwdUJMqty2jRlh2TIEbiJG/N1F LAfwa9jZ5fCFy1nSbNClBVinq8QyvbczXZqQ/Oo5kibmDT3O6Y/CPQcSzMJoamakXyvS jk/zG9uZkkdzXOjtDBwczdU15RC87Awhn7HONdwxrdxDDairKsHtvbrYbQtVfhZxF6xc 09eZbsPfFD7Lls0KAjFADOKKzhgr6QdiYgxsArkGKEGvZ/nrj9QzlBa2P0k5hlD3FH/J nEKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=b8jq4ugW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m1si18828903pfi.286.2018.12.04.08.59.16; Tue, 04 Dec 2018 08:59:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=b8jq4ugW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727355AbeLDQ6k (ORCPT + 99 others); Tue, 4 Dec 2018 11:58:40 -0500 Received: from mail-it1-f193.google.com ([209.85.166.193]:54260 "EHLO mail-it1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727293AbeLDQ6h (ORCPT ); Tue, 4 Dec 2018 11:58:37 -0500 Received: by mail-it1-f193.google.com with SMTP id g85so16491091ita.3; Tue, 04 Dec 2018 08:58:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IajMFN6Ort/d7StaYxafHcMyREqwcvnTcj/7voIaHxo=; b=b8jq4ugWLY6Qw+kN3/ba6ylV1g71EUBOne+PCrgMzyjHectMZuGI0leSNf5uMlvCb7 HLuPyTF2sasTaMK6qko2IqF0k5HJtV9MJo9AA2sau+DveHZYHew8/K6lDcwouUqdF9Fp bL/9Cmpsw97NjzdyGTC3zC0LkeHH8L0oYjw2zxsLextsYmseqUOE5hT/4yNFg3OkPozn weIPUUvVPeuJmH2UZSsnov61zof6p7pFKs0kHga0GOd9rC/BPAOdu2pXvSKyzdQsDhJ+ 8xtU9/gNPis/l3GgTukyoPtAzmqiAFV6ilshCalUyyYZqkCLW+joxwh9+GK16Rns187+ gajg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IajMFN6Ort/d7StaYxafHcMyREqwcvnTcj/7voIaHxo=; b=mgx8CBbooLcPL/nmYJ5OgkDOODKacEyH7xjQQT+osOM0uwQGGz8GhNfVWoU2+VHT5s 3GbyzxcVN1Dti/2KUdWU6OMI/TKDYM9h0PY2vY1iH6SlA2TGSMQJOci8p2r36cb2xtYK w3JkMnzyq+YzpihYXo96ZTaLovkAzkQr7N8ADZSZyn0BLyyRgO6J0v4G7kN2PXQZwWgK GahVqj4dmllQUwflfXaGxxfKNAmnuAO7cs0bzACzbhT32thvZZXqo86WbgS3qU9xeQ3a xtnXoPo5MHBS0o1jEep8FTp34UXnIl1lRURGpqTKqJr/WdBvzPDZBNgUpzsuzEKk4IZG 77dg== X-Gm-Message-State: AA+aEWZwHK/3d48zNizyxaMgBbhyj0I0KVgEURbN50eueUUEAW+yJ9PY 9hmEveDyeXpfyUCZm2EbVxb3c7s/UtUa0kDQKbn81WcV0o0= X-Received: by 2002:a05:660c:250:: with SMTP id t16mr11725914itk.78.1543942716774; Tue, 04 Dec 2018 08:58:36 -0800 (PST) MIME-Version: 1.0 References: <20181201155229.8532-1-tiny.windzz@gmail.com> In-Reply-To: From: Frank Lee Date: Wed, 5 Dec 2018 00:58:14 +0800 Message-ID: Subject: Re: [PATCH] platform/x86: convert to DEFINE_SHOW_ATTRIBUTE To: Andy Shevchenko Cc: rajneesh.bhardwaj@intel.com, vishwanath.somayaji@intel.com, dvhart@infradead.org, andy@infradead.org, David Box , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 5, 2018 at 12:18 AM Andy Shevchenko wrote: > > On Tue, Dec 4, 2018 at 5:30 PM Frank Lee wrote: > > On Tue, Dec 4, 2018 at 8:40 PM Andy Shevchenko > > wrote: > > > On Tue, Dec 4, 2018 at 5:59 AM Frank Lee wrote: > > > > On Tue, Dec 4, 2018 at 3:09 AM Andy Shevchenko > > > > wrote: > > > > > On Sat, Dec 1, 2018 at 5:52 PM Yangtao Li wrote: > > > > > > Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. > > > > I like your patch, but... > > > > > > > > By some reason it's not applicable. > > > > > Please, rebase on top of our for-next branch, thanks! > > > > > > > For what reason? > > > > > > ...because I can't apply it, it fails with conflicts. > > > > > > > I thought that for-next branch has not changed much. > > > > > > That's correct, it's updated only by approved patch series which is > > > not many _this_ cycle. > > I am confused about what you said. > > Because I pulled your .git down, there is no conflicts when apply it....... > > linux(for-next) > $ git pw patch apply 10707735 -s > error: patch failed: drivers/platform/x86/intel_pmc_core.c:602 > error: drivers/platform/x86/intel_pmc_core.c: patch does not apply > hint: Use 'git am --show-current-patch' to see the failed patch > Applying: platform/x86: convert to DEFINE_SHOW_ATTRIBUTE > Patch failed at 0001 platform/x86: convert to DEFINE_SHOW_ATTRIBUTE > When you have resolved this problem, run "git am --continue". > If you prefer to skip this patch, run "git am --skip" instead. > To restore the original branch and stop patching, run "git am --abort". $ git br -r origin/HEAD -> origin/master origin/fixes origin/for-next origin/master origin/review-andy $ git remote set-branches --add origin for-next $ git br -vv * for-next 651022382c7f [origin/for-next] Linux 4.20-rc1 $ git apply ../../0001-platform-x86-convert-to-DEFINE_SHOW_ATTRIBUTE.patch $ git st On branch for-next Your branch is up to date with 'origin/for-next'. Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git checkout -- ..." to discard changes in working directory) modified: drivers/platform/x86/intel_pmc_core.c modified: drivers/platform/x86/intel_telemetry_debugfs.c no changes added to commit (use "git add" and/or "git commit -a") Andy,I don't know why. Is there a problem with my operation? Thanks, Yangtao > > -- > With Best Regards, > Andy Shevchenko