linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Mike Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>
Cc: Linux Next Mailing List <linux-next@vger.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Wen He <wen.he_1@nxp.com>
Subject: linux-next: build warnings after merge of the clk tree
Date: Mon, 3 Feb 2020 09:16:33 +1100	[thread overview]
Message-ID: <20200203091633.3265a3f1@canb.auug.org.au> (raw)

[-- Attachment #1: Type: text/plain, Size: 22223 bytes --]

Hi all,

After merging the clk tree, today's linux-next build (x86_64 allmodconfig)
produced these warnings:

In file included from include/linux/list.h:9,
                 from include/linux/kobject.h:19,
                 from include/linux/of.h:17,
                 from include/linux/clk-provider.h:9,
                 from drivers/clk/clk-plldig.c:8:
drivers/clk/clk-plldig.c: In function 'plldig_determine_rate':
include/linux/kernel.h:835:29: warning: comparison of distinct pointer types lacks a cast
  835 |   (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
      |                             ^~
include/linux/kernel.h:849:4: note: in expansion of macro '__typecheck'
  849 |   (__typecheck(x, y) && __no_side_effects(x, y))
      |    ^~~~~~~~~~~
include/linux/kernel.h:859:24: note: in expansion of macro '__safe_cmp'
  859 |  __builtin_choose_expr(__safe_cmp(x, y), \
      |                        ^~~~~~~~~~
include/linux/kernel.h:868:19: note: in expansion of macro '__careful_cmp'
  868 | #define min(x, y) __careful_cmp(x, y, <)
      |                   ^~~~~~~~~~~~~
include/linux/kernel.h:912:28: note: in expansion of macro 'min'
  912 | #define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi)
      |                            ^~~
include/linux/kernel.h:849:4: note: in expansion of macro '__typecheck'
  849 |   (__typecheck(x, y) && __no_side_effects(x, y))
      |    ^~~~~~~~~~~
include/linux/kernel.h:859:24: note: in expansion of macro '__safe_cmp'
  859 |  __builtin_choose_expr(__safe_cmp(x, y), \
      |                        ^~~~~~~~~~
include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp'
  875 | #define max(x, y) __careful_cmp(x, y, >)
      |                   ^~~~~~~~~~~~~
include/linux/kernel.h:912:45: note: in expansion of macro 'max'
  912 | #define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi)
      |                                             ^~~
drivers/clk/clk-plldig.c:145:14: note: in expansion of macro 'clamp'
  145 |  req->rate = clamp(req->rate, PHI1_MIN_FREQ, PHI1_MAX_FREQ);
      |              ^~~~~
include/linux/kernel.h:835:29: warning: comparison of distinct pointer types lacks a cast
  835 |   (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
      |                             ^~
include/linux/kernel.h:849:4: note: in expansion of macro '__typecheck'
  849 |   (__typecheck(x, y) && __no_side_effects(x, y))
      |    ^~~~~~~~~~~
include/linux/kernel.h:859:24: note: in expansion of macro '__safe_cmp'
  859 |  __builtin_choose_expr(__safe_cmp(x, y), \
      |                        ^~~~~~~~~~
include/linux/kernel.h:868:19: note: in expansion of macro '__careful_cmp'
  868 | #define min(x, y) __careful_cmp(x, y, <)
      |                   ^~~~~~~~~~~~~
include/linux/kernel.h:912:28: note: in expansion of macro 'min'
  912 | #define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi)
      |                            ^~~
drivers/clk/clk-plldig.c:145:14: note: in expansion of macro 'clamp'
  145 |  req->rate = clamp(req->rate, PHI1_MIN_FREQ, PHI1_MAX_FREQ);
      |              ^~~~~
include/linux/kernel.h:835:29: warning: comparison of distinct pointer types lacks a cast
  835 |   (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
      |                             ^~
include/linux/kernel.h:843:48: note: in definition of macro '__is_constexpr'
  843 |  (sizeof(int) == sizeof(*(8 ? ((void *)((long)(x) * 0l)) : (int *)8)))
      |                                                ^
include/linux/kernel.h:849:25: note: in expansion of macro '__no_side_effects'
  849 |   (__typecheck(x, y) && __no_side_effects(x, y))
      |                         ^~~~~~~~~~~~~~~~~
include/linux/kernel.h:859:24: note: in expansion of macro '__safe_cmp'
  859 |  __builtin_choose_expr(__safe_cmp(x, y), \
      |                        ^~~~~~~~~~
include/linux/kernel.h:868:19: note: in expansion of macro '__careful_cmp'
  868 | #define min(x, y) __careful_cmp(x, y, <)
      |                   ^~~~~~~~~~~~~
include/linux/kernel.h:912:28: note: in expansion of macro 'min'
  912 | #define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi)
      |                            ^~~
include/linux/kernel.h:849:4: note: in expansion of macro '__typecheck'
  849 |   (__typecheck(x, y) && __no_side_effects(x, y))
      |    ^~~~~~~~~~~
include/linux/kernel.h:859:24: note: in expansion of macro '__safe_cmp'
  859 |  __builtin_choose_expr(__safe_cmp(x, y), \
      |                        ^~~~~~~~~~
include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp'
  875 | #define max(x, y) __careful_cmp(x, y, >)
      |                   ^~~~~~~~~~~~~
include/linux/kernel.h:912:45: note: in expansion of macro 'max'
  912 | #define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi)
      |                                             ^~~
drivers/clk/clk-plldig.c:145:14: note: in expansion of macro 'clamp'
  145 |  req->rate = clamp(req->rate, PHI1_MIN_FREQ, PHI1_MAX_FREQ);
      |              ^~~~~
include/linux/kernel.h:835:29: warning: comparison of distinct pointer types lacks a cast
  835 |   (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
      |                             ^~
include/linux/kernel.h:851:27: note: in definition of macro '__cmp'
  851 | #define __cmp(x, y, op) ((x) op (y) ? (x) : (y))
      |                           ^
include/linux/kernel.h:868:19: note: in expansion of macro '__careful_cmp'
  868 | #define min(x, y) __careful_cmp(x, y, <)
      |                   ^~~~~~~~~~~~~
include/linux/kernel.h:912:28: note: in expansion of macro 'min'
  912 | #define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi)
      |                            ^~~
include/linux/kernel.h:849:4: note: in expansion of macro '__typecheck'
  849 |   (__typecheck(x, y) && __no_side_effects(x, y))
      |    ^~~~~~~~~~~
include/linux/kernel.h:859:24: note: in expansion of macro '__safe_cmp'
  859 |  __builtin_choose_expr(__safe_cmp(x, y), \
      |                        ^~~~~~~~~~
include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp'
  875 | #define max(x, y) __careful_cmp(x, y, >)
      |                   ^~~~~~~~~~~~~
include/linux/kernel.h:912:45: note: in expansion of macro 'max'
  912 | #define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi)
      |                                             ^~~
drivers/clk/clk-plldig.c:145:14: note: in expansion of macro 'clamp'
  145 |  req->rate = clamp(req->rate, PHI1_MIN_FREQ, PHI1_MAX_FREQ);
      |              ^~~~~
include/linux/kernel.h:835:29: warning: comparison of distinct pointer types lacks a cast
  835 |   (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
      |                             ^~
include/linux/kernel.h:851:40: note: in definition of macro '__cmp'
  851 | #define __cmp(x, y, op) ((x) op (y) ? (x) : (y))
      |                                        ^
include/linux/kernel.h:868:19: note: in expansion of macro '__careful_cmp'
  868 | #define min(x, y) __careful_cmp(x, y, <)
      |                   ^~~~~~~~~~~~~
include/linux/kernel.h:912:28: note: in expansion of macro 'min'
  912 | #define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi)
      |                            ^~~
include/linux/kernel.h:849:4: note: in expansion of macro '__typecheck'
  849 |   (__typecheck(x, y) && __no_side_effects(x, y))
      |    ^~~~~~~~~~~
include/linux/kernel.h:859:24: note: in expansion of macro '__safe_cmp'
  859 |  __builtin_choose_expr(__safe_cmp(x, y), \
      |                        ^~~~~~~~~~
include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp'
  875 | #define max(x, y) __careful_cmp(x, y, >)
      |                   ^~~~~~~~~~~~~
include/linux/kernel.h:912:45: note: in expansion of macro 'max'
  912 | #define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi)
      |                                             ^~~
drivers/clk/clk-plldig.c:145:14: note: in expansion of macro 'clamp'
  145 |  req->rate = clamp(req->rate, PHI1_MIN_FREQ, PHI1_MAX_FREQ);
      |              ^~~~~
include/linux/kernel.h:835:29: warning: comparison of distinct pointer types lacks a cast
  835 |   (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
      |                             ^~
include/linux/kernel.h:854:10: note: in definition of macro '__cmp_once'
  854 |   typeof(x) unique_x = (x);  \
      |          ^
include/linux/kernel.h:868:19: note: in expansion of macro '__careful_cmp'
  868 | #define min(x, y) __careful_cmp(x, y, <)
      |                   ^~~~~~~~~~~~~
include/linux/kernel.h:912:28: note: in expansion of macro 'min'
  912 | #define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi)
      |                            ^~~
include/linux/kernel.h:849:4: note: in expansion of macro '__typecheck'
  849 |   (__typecheck(x, y) && __no_side_effects(x, y))
      |    ^~~~~~~~~~~
include/linux/kernel.h:859:24: note: in expansion of macro '__safe_cmp'
  859 |  __builtin_choose_expr(__safe_cmp(x, y), \
      |                        ^~~~~~~~~~
include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp'
  875 | #define max(x, y) __careful_cmp(x, y, >)
      |                   ^~~~~~~~~~~~~
include/linux/kernel.h:912:45: note: in expansion of macro 'max'
  912 | #define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi)
      |                                             ^~~
drivers/clk/clk-plldig.c:145:14: note: in expansion of macro 'clamp'
  145 |  req->rate = clamp(req->rate, PHI1_MIN_FREQ, PHI1_MAX_FREQ);
      |              ^~~~~
include/linux/kernel.h:835:29: warning: comparison of distinct pointer types lacks a cast
  835 |   (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
      |                             ^~
include/linux/kernel.h:854:25: note: in definition of macro '__cmp_once'
  854 |   typeof(x) unique_x = (x);  \
      |                         ^
include/linux/kernel.h:868:19: note: in expansion of macro '__careful_cmp'
  868 | #define min(x, y) __careful_cmp(x, y, <)
      |                   ^~~~~~~~~~~~~
include/linux/kernel.h:912:28: note: in expansion of macro 'min'
  912 | #define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi)
      |                            ^~~
include/linux/kernel.h:849:4: note: in expansion of macro '__typecheck'
  849 |   (__typecheck(x, y) && __no_side_effects(x, y))
      |    ^~~~~~~~~~~
include/linux/kernel.h:859:24: note: in expansion of macro '__safe_cmp'
  859 |  __builtin_choose_expr(__safe_cmp(x, y), \
      |                        ^~~~~~~~~~
include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp'
  875 | #define max(x, y) __careful_cmp(x, y, >)
      |                   ^~~~~~~~~~~~~
include/linux/kernel.h:912:45: note: in expansion of macro 'max'
  912 | #define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi)
      |                                             ^~~
drivers/clk/clk-plldig.c:145:14: note: in expansion of macro 'clamp'
  145 |  req->rate = clamp(req->rate, PHI1_MIN_FREQ, PHI1_MAX_FREQ);
      |              ^~~~~
drivers/clk/clk-plldig.c: In function 'plldig_set_rate':
include/linux/kernel.h:835:29: warning: comparison of distinct pointer types lacks a cast
  835 |   (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
      |                             ^~
include/linux/kernel.h:849:4: note: in expansion of macro '__typecheck'
  849 |   (__typecheck(x, y) && __no_side_effects(x, y))
      |    ^~~~~~~~~~~
include/linux/kernel.h:859:24: note: in expansion of macro '__safe_cmp'
  859 |  __builtin_choose_expr(__safe_cmp(x, y), \
      |                        ^~~~~~~~~~
include/linux/kernel.h:868:19: note: in expansion of macro '__careful_cmp'
  868 | #define min(x, y) __careful_cmp(x, y, <)
      |                   ^~~~~~~~~~~~~
include/linux/kernel.h:912:28: note: in expansion of macro 'min'
  912 | #define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi)
      |                            ^~~
include/linux/kernel.h:849:4: note: in expansion of macro '__typecheck'
  849 |   (__typecheck(x, y) && __no_side_effects(x, y))
      |    ^~~~~~~~~~~
include/linux/kernel.h:859:24: note: in expansion of macro '__safe_cmp'
  859 |  __builtin_choose_expr(__safe_cmp(x, y), \
      |                        ^~~~~~~~~~
include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp'
  875 | #define max(x, y) __careful_cmp(x, y, >)
      |                   ^~~~~~~~~~~~~
include/linux/kernel.h:912:45: note: in expansion of macro 'max'
  912 | #define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi)
      |                                             ^~~
drivers/clk/clk-plldig.c:159:9: note: in expansion of macro 'clamp'
  159 |  rate = clamp(rate, PHI1_MIN_FREQ, PHI1_MAX_FREQ);
      |         ^~~~~
include/linux/kernel.h:835:29: warning: comparison of distinct pointer types lacks a cast
  835 |   (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
      |                             ^~
include/linux/kernel.h:849:4: note: in expansion of macro '__typecheck'
  849 |   (__typecheck(x, y) && __no_side_effects(x, y))
      |    ^~~~~~~~~~~
include/linux/kernel.h:859:24: note: in expansion of macro '__safe_cmp'
  859 |  __builtin_choose_expr(__safe_cmp(x, y), \
      |                        ^~~~~~~~~~
include/linux/kernel.h:868:19: note: in expansion of macro '__careful_cmp'
  868 | #define min(x, y) __careful_cmp(x, y, <)
      |                   ^~~~~~~~~~~~~
include/linux/kernel.h:912:28: note: in expansion of macro 'min'
  912 | #define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi)
      |                            ^~~
drivers/clk/clk-plldig.c:159:9: note: in expansion of macro 'clamp'
  159 |  rate = clamp(rate, PHI1_MIN_FREQ, PHI1_MAX_FREQ);
      |         ^~~~~
include/linux/kernel.h:835:29: warning: comparison of distinct pointer types lacks a cast
  835 |   (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
      |                             ^~
include/linux/kernel.h:843:48: note: in definition of macro '__is_constexpr'
  843 |  (sizeof(int) == sizeof(*(8 ? ((void *)((long)(x) * 0l)) : (int *)8)))
      |                                                ^
include/linux/kernel.h:849:25: note: in expansion of macro '__no_side_effects'
  849 |   (__typecheck(x, y) && __no_side_effects(x, y))
      |                         ^~~~~~~~~~~~~~~~~
include/linux/kernel.h:859:24: note: in expansion of macro '__safe_cmp'
  859 |  __builtin_choose_expr(__safe_cmp(x, y), \
      |                        ^~~~~~~~~~
include/linux/kernel.h:868:19: note: in expansion of macro '__careful_cmp'
  868 | #define min(x, y) __careful_cmp(x, y, <)
      |                   ^~~~~~~~~~~~~
include/linux/kernel.h:912:28: note: in expansion of macro 'min'
  912 | #define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi)
      |                            ^~~
include/linux/kernel.h:849:4: note: in expansion of macro '__typecheck'
  849 |   (__typecheck(x, y) && __no_side_effects(x, y))
      |    ^~~~~~~~~~~
include/linux/kernel.h:859:24: note: in expansion of macro '__safe_cmp'
  859 |  __builtin_choose_expr(__safe_cmp(x, y), \
      |                        ^~~~~~~~~~
include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp'
  875 | #define max(x, y) __careful_cmp(x, y, >)
      |                   ^~~~~~~~~~~~~
include/linux/kernel.h:912:45: note: in expansion of macro 'max'
  912 | #define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi)
      |                                             ^~~
drivers/clk/clk-plldig.c:159:9: note: in expansion of macro 'clamp'
  159 |  rate = clamp(rate, PHI1_MIN_FREQ, PHI1_MAX_FREQ);
      |         ^~~~~
include/linux/kernel.h:835:29: warning: comparison of distinct pointer types lacks a cast
  835 |   (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
      |                             ^~
include/linux/kernel.h:851:27: note: in definition of macro '__cmp'
  851 | #define __cmp(x, y, op) ((x) op (y) ? (x) : (y))
      |                           ^
include/linux/kernel.h:868:19: note: in expansion of macro '__careful_cmp'
  868 | #define min(x, y) __careful_cmp(x, y, <)
      |                   ^~~~~~~~~~~~~
include/linux/kernel.h:912:28: note: in expansion of macro 'min'
  912 | #define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi)
      |                            ^~~
include/linux/kernel.h:849:4: note: in expansion of macro '__typecheck'
  849 |   (__typecheck(x, y) && __no_side_effects(x, y))
      |    ^~~~~~~~~~~
include/linux/kernel.h:859:24: note: in expansion of macro '__safe_cmp'
  859 |  __builtin_choose_expr(__safe_cmp(x, y), \
      |                        ^~~~~~~~~~
include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp'
  875 | #define max(x, y) __careful_cmp(x, y, >)
      |                   ^~~~~~~~~~~~~
include/linux/kernel.h:912:45: note: in expansion of macro 'max'
  912 | #define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi)
      |                                             ^~~
drivers/clk/clk-plldig.c:159:9: note: in expansion of macro 'clamp'
  159 |  rate = clamp(rate, PHI1_MIN_FREQ, PHI1_MAX_FREQ);
      |         ^~~~~
include/linux/kernel.h:835:29: warning: comparison of distinct pointer types lacks a cast
  835 |   (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
      |                             ^~
include/linux/kernel.h:851:40: note: in definition of macro '__cmp'
  851 | #define __cmp(x, y, op) ((x) op (y) ? (x) : (y))
      |                                        ^
include/linux/kernel.h:868:19: note: in expansion of macro '__careful_cmp'
  868 | #define min(x, y) __careful_cmp(x, y, <)
      |                   ^~~~~~~~~~~~~
include/linux/kernel.h:912:28: note: in expansion of macro 'min'
  912 | #define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi)
      |                            ^~~
include/linux/kernel.h:849:4: note: in expansion of macro '__typecheck'
  849 |   (__typecheck(x, y) && __no_side_effects(x, y))
      |    ^~~~~~~~~~~
include/linux/kernel.h:859:24: note: in expansion of macro '__safe_cmp'
  859 |  __builtin_choose_expr(__safe_cmp(x, y), \
      |                        ^~~~~~~~~~
include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp'
  875 | #define max(x, y) __careful_cmp(x, y, >)
      |                   ^~~~~~~~~~~~~
include/linux/kernel.h:912:45: note: in expansion of macro 'max'
  912 | #define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi)
      |                                             ^~~
drivers/clk/clk-plldig.c:159:9: note: in expansion of macro 'clamp'
  159 |  rate = clamp(rate, PHI1_MIN_FREQ, PHI1_MAX_FREQ);
      |         ^~~~~
include/linux/kernel.h:835:29: warning: comparison of distinct pointer types lacks a cast
  835 |   (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
      |                             ^~
include/linux/kernel.h:854:10: note: in definition of macro '__cmp_once'
  854 |   typeof(x) unique_x = (x);  \
      |          ^
include/linux/kernel.h:868:19: note: in expansion of macro '__careful_cmp'
  868 | #define min(x, y) __careful_cmp(x, y, <)
      |                   ^~~~~~~~~~~~~
include/linux/kernel.h:912:28: note: in expansion of macro 'min'
  912 | #define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi)
      |                            ^~~
include/linux/kernel.h:849:4: note: in expansion of macro '__typecheck'
  849 |   (__typecheck(x, y) && __no_side_effects(x, y))
      |    ^~~~~~~~~~~
include/linux/kernel.h:859:24: note: in expansion of macro '__safe_cmp'
  859 |  __builtin_choose_expr(__safe_cmp(x, y), \
      |                        ^~~~~~~~~~
include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp'
  875 | #define max(x, y) __careful_cmp(x, y, >)
      |                   ^~~~~~~~~~~~~
include/linux/kernel.h:912:45: note: in expansion of macro 'max'
  912 | #define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi)
      |                                             ^~~
drivers/clk/clk-plldig.c:159:9: note: in expansion of macro 'clamp'
  159 |  rate = clamp(rate, PHI1_MIN_FREQ, PHI1_MAX_FREQ);
      |         ^~~~~
include/linux/kernel.h:835:29: warning: comparison of distinct pointer types lacks a cast
  835 |   (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
      |                             ^~
include/linux/kernel.h:854:25: note: in definition of macro '__cmp_once'
  854 |   typeof(x) unique_x = (x);  \
      |                         ^
include/linux/kernel.h:868:19: note: in expansion of macro '__careful_cmp'
  868 | #define min(x, y) __careful_cmp(x, y, <)
      |                   ^~~~~~~~~~~~~
include/linux/kernel.h:912:28: note: in expansion of macro 'min'
  912 | #define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi)
      |                            ^~~
include/linux/kernel.h:849:4: note: in expansion of macro '__typecheck'
  849 |   (__typecheck(x, y) && __no_side_effects(x, y))
      |    ^~~~~~~~~~~
include/linux/kernel.h:859:24: note: in expansion of macro '__safe_cmp'
  859 |  __builtin_choose_expr(__safe_cmp(x, y), \
      |                        ^~~~~~~~~~
include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp'
  875 | #define max(x, y) __careful_cmp(x, y, >)
      |                   ^~~~~~~~~~~~~
include/linux/kernel.h:912:45: note: in expansion of macro 'max'
  912 | #define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi)
      |                                             ^~~
drivers/clk/clk-plldig.c:159:9: note: in expansion of macro 'clamp'
  159 |  rate = clamp(rate, PHI1_MIN_FREQ, PHI1_MAX_FREQ);
      |         ^~~~~

Introduced by commit

  d37010a3c162 ("clk: ls1028a: Add clock driver for Display output interface")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

             reply	other threads:[~2020-02-02 22:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-02 22:16 Stephen Rothwell [this message]
2020-02-03  5:25 ` linux-next: build warnings after merge of the clk tree Stephen Boyd
  -- strict thread matches above, loose matches on Subject: below --
2017-06-20 23:34 Stephen Rothwell
2017-06-21 15:15 ` Anup Patel
2017-06-21 16:13   ` Stephen Boyd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200203091633.3265a3f1@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=sboyd@kernel.org \
    --cc=wen.he_1@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).