Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-Wpointer-bool-conversion in drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c #487

Closed
nathanchance opened this issue May 21, 2019 · 2 comments
Assignees
Labels
-Wpointer-bool-conversion [BUG] linux-next This is an issue only seen in linux-next [FIXED][LINUX] development cycle This bug was only present and fixed in a -next or -rc cycle

Comments

@nathanchance
Copy link
Member

drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:2663:47: warning: address of array 'param->u.wpa_ie.data' will always evaluate to 'true' [-Wpointer-bool-conversion]
            (param->u.wpa_ie.len && !param->u.wpa_ie.data))
                                    ~~~~~~~~~~~~~~~~~^~~~
1 warning generated.

Patch sent: https://lore.kernel.org/lkml/20190521174221.124459-1-natechancellor@gmail.com/

@nathanchance nathanchance added -Wpointer-bool-conversion [PATCH] Submitted A patch has been submitted for review [BUG] linux-next This is an issue only seen in linux-next labels May 21, 2019
@nathanchance nathanchance self-assigned this May 21, 2019
fengguang pushed a commit to 0day-ci/linux that referenced this issue May 22, 2019
Clang warns:

drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:2663:47: warning:
address of array 'param->u.wpa_ie.data' will always evaluate to 'true'
[-Wpointer-bool-conversion]
            (param->u.wpa_ie.len && !param->u.wpa_ie.data))
                                    ~~~~~~~~~~~~~~~~~^~~~

This was exposed by commit deabe03 ("Staging: rtl8192u: ieee80211:
Use !x in place of NULL comparisons") because we disable the warning
that would have pointed out the comparison against NULL is also false:

drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:2663:46: warning:
comparison of array 'param->u.wpa_ie.data' equal to a null pointer is
always false [-Wtautological-pointer-compare]
            (param->u.wpa_ie.len && param->u.wpa_ie.data == NULL))
                                    ~~~~~~~~~~~~~~~~^~~~    ~~~~

Remove it so clang no longer warns.

Link: ClangBuiltLinux#487
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
@nathanchance
Copy link
Member Author

@nathanchance nathanchance added [PATCH] Accepted A submitted patch has been accepted upstream and removed [PATCH] Submitted A patch has been submitted for review labels May 22, 2019
@nathanchance
Copy link
Member Author

@nathanchance nathanchance added [FIXED][LINUX] development cycle This bug was only present and fixed in a -next or -rc cycle and removed [PATCH] Accepted A submitted patch has been accepted upstream labels May 23, 2019
cdown pushed a commit to cdown/linux that referenced this issue May 25, 2019
GIT ad049096f9c2bb82d30ae671f42e9db07a618959

commit 70f1b0d34bdf03065fe869e93cc17cad1ea20c4a
Author: Eric W. Biederman <ebiederm@xmission.com>
Date:   Thu Feb 7 19:44:12 2019 -0600

    signal/usb: Replace kill_pid_info_as_cred with kill_pid_usb_asyncio
    
    The usb support for asyncio encoded one of it's values in the wrong
    field.  It should have used si_value but instead used si_addr which is
    not present in the _rt union member of struct siginfo.
    
    The practical result of this is that on a 64bit big endian kernel
    when delivering a signal to a 32bit process the si_addr field
    is set to NULL, instead of the expected pointer value.
    
    This issue can not be fixed in copy_siginfo_to_user32 as the usb
    usage of the the _sigfault (aka si_addr) member of the siginfo
    union when SI_ASYNCIO is set is incompatible with the POSIX and
    glibc usage of the _rt member of the siginfo union.
    
    Therefore replace kill_pid_info_as_cred with kill_pid_usb_asyncio a
    dedicated function for this one specific case.  There are no other
    users of kill_pid_info_as_cred so this specialization should have no
    impact on the amount of code in the kernel.  Have kill_pid_usb_asyncio
    take instead of a siginfo_t which is difficult and error prone, 3
    arguments, a signal number, an errno value, and an address enconded as
    a sigval_t.  The encoding of the address as a sigval_t allows the
    code that reads the userspace request for a signal to handle this
    compat issue along with all of the other compat issues.
    
    Add BUILD_BUG_ONs in kernel/signal.c to ensure that we can now place
    the pointer value at the in si_pid (instead of si_addr).  That is the
    code now verifies that si_pid and si_addr always occur at the same
    location.  Further the code veries that for native structures a value
    placed in si_pid and spilling into si_uid will appear in userspace in
    si_addr (on a byte by byte copy of siginfo or a field by field copy of
    siginfo).  The code also verifies that for a 64bit kernel and a 32bit
    userspace the 32bit pointer will fit in si_pid.
    
    I have used the usbsig.c program below written by Alan Stern and
    slightly tweaked by me to run on a big endian machine to verify the
    issue exists (on sparc64) and to confirm the patch below fixes the issue.
    
     /* usbsig.c -- test USB async signal delivery */
    
     #define _GNU_SOURCE
     #include <stdio.h>
     #include <fcntl.h>
     #include <signal.h>
     #include <string.h>
     #include <sys/ioctl.h>
     #include <unistd.h>
     #include <endian.h>
     #include <linux/usb/ch9.h>
     #include <linux/usbdevice_fs.h>
    
     static struct usbdevfs_urb urb;
     static struct usbdevfs_disconnectsignal ds;
     static volatile sig_atomic_t done = 0;
    
     void urb_handler(int sig, siginfo_t *info , void *ucontext)
     {
            printf("Got signal %d, signo %d errno %d code %d addr: %p urb: %p\n",
                   sig, info->si_signo, info->si_errno, info->si_code,
                   info->si_addr, &urb);
    
            printf("%s\n", (info->si_addr == &urb) ? "Good" : "Bad");
     }
    
     void ds_handler(int sig, siginfo_t *info , void *ucontext)
     {
            printf("Got signal %d, signo %d errno %d code %d addr: %p ds: %p\n",
                   sig, info->si_signo, info->si_errno, info->si_code,
                   info->si_addr, &ds);
    
            printf("%s\n", (info->si_addr == &ds) ? "Good" : "Bad");
            done = 1;
     }
    
     int main(int argc, char **argv)
     {
            char *devfilename;
            int fd;
            int rc;
            struct sigaction act;
            struct usb_ctrlrequest *req;
            void *ptr;
            char buf[80];
    
            if (argc != 2) {
                    fprintf(stderr, "Usage: usbsig device-file-name\n");
                    return 1;
            }
    
            devfilename = argv[1];
            fd = open(devfilename, O_RDWR);
            if (fd == -1) {
                    perror("Error opening device file");
                    return 1;
            }
    
            act.sa_sigaction = urb_handler;
            sigemptyset(&act.sa_mask);
            act.sa_flags = SA_SIGINFO;
    
            rc = sigaction(SIGUSR1, &act, NULL);
            if (rc == -1) {
                    perror("Error in sigaction");
                    return 1;
            }
    
            act.sa_sigaction = ds_handler;
            sigemptyset(&act.sa_mask);
            act.sa_flags = SA_SIGINFO;
    
            rc = sigaction(SIGUSR2, &act, NULL);
            if (rc == -1) {
                    perror("Error in sigaction");
                    return 1;
            }
    
            memset(&urb, 0, sizeof(urb));
            urb.type = USBDEVFS_URB_TYPE_CONTROL;
            urb.endpoint = USB_DIR_IN | 0;
            urb.buffer = buf;
            urb.buffer_length = sizeof(buf);
            urb.signr = SIGUSR1;
    
            req = (struct usb_ctrlrequest *) buf;
            req->bRequestType = USB_DIR_IN | USB_TYPE_STANDARD | USB_RECIP_DEVICE;
            req->bRequest = USB_REQ_GET_DESCRIPTOR;
            req->wValue = htole16(USB_DT_DEVICE << 8);
            req->wIndex = htole16(0);
            req->wLength = htole16(sizeof(buf) - sizeof(*req));
    
            rc = ioctl(fd, USBDEVFS_SUBMITURB, &urb);
            if (rc == -1) {
                    perror("Error in SUBMITURB ioctl");
                    return 1;
            }
    
            rc = ioctl(fd, USBDEVFS_REAPURB, &ptr);
            if (rc == -1) {
                    perror("Error in REAPURB ioctl");
                    return 1;
            }
    
            memset(&ds, 0, sizeof(ds));
            ds.signr = SIGUSR2;
            ds.context = &ds;
            rc = ioctl(fd, USBDEVFS_DISCSIGNAL, &ds);
            if (rc == -1) {
                    perror("Error in DISCSIGNAL ioctl");
                    return 1;
            }
    
            printf("Waiting for usb disconnect\n");
            while (!done) {
                    sleep(1);
            }
    
            close(fd);
            return 0;
     }
    
    Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Cc: linux-usb@vger.kernel.org
    Cc: Alan Stern <stern@rowland.harvard.edu>
    Cc: Oliver Neukum <oneukum@suse.com>
    Fixes: v2.3.39
    Cc: stable@vger.kernel.org
    Acked-by: Alan Stern <stern@rowland.harvard.edu>
    Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>

commit 3b1d715dc2edda1efa590fdf7cf9731501d4a44f
Author: Clément Péron <peron.clem@gmail.com>
Date:   Tue May 21 18:11:00 2019 +0200

    dt-bindings: gpu: mali-midgard: Add H6 mali gpu compatible
    
    This add the H6 mali compatible in the dt-bindings to later support
    specific implementation.
    
    Signed-off-by: Clément Péron <peron.clem@gmail.com>
    Reviewed-by: Rob Herring <robh@kernel.org>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://patchwork.freedesktop.org/patch/msgid/20190521161102.29620-5-peron.clem@gmail.com

commit 52940fd03211306e4dcf5ebd0460e809181538b1
Author: Colin Ian King <colin.king@canonical.com>
Date:   Wed May 22 11:17:45 2019 +0100

    leds: TI LMU: fix u8 variable comparisons with less than zero
    
    The u8 variables ramp_ups and ramp_downs are being compared to less
    than zero, this will always be false.  Fix this by making the ramp
    variables ints.
    
    Addresses-Coverity: ("Unsigned compared against 0")
    Fixes: 9a8e66ebeaa2 ("leds: TI LMU: Add common code for TI LMU devices")
    Reported-by: kbuild test robot <lkp@intel.com>
    Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
    Signed-off-by: Colin Ian King <colin.king@canonical.com>
    Reviewed-by: Dan Murphy <dmurphy@ti.com>
    Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>

commit 034e673710d36b9b9f6d6ac2febe2d1d25fadf55
Author: Gustavo A. R. Silva <gustavo@embeddedor.com>
Date:   Wed May 8 11:44:29 2019 -0500

    platform/x86: acer-wmi: Mark expected switch fall-throughs
    
    In preparation to enabling -Wimplicit-fallthrough, mark switch
    cases where we are expecting to fall through.
    
    This patch fixes the following warnings:
    
    drivers/platform/x86/acer-wmi.c: In function ‘set_u32’:
    drivers/platform/x86/acer-wmi.c:1378:33: warning: this statement may fall through [-Wimplicit-fallthrough=]
        if (cap == ACER_CAP_WIRELESS ||
                                     ^
    drivers/platform/x86/acer-wmi.c:1386:3: note: here
       case ACER_WMID:
       ^~~~
    drivers/platform/x86/acer-wmi.c:1393:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
        else if (wmi_has_guid(WMID_GUID2))
                ^
    drivers/platform/x86/acer-wmi.c:1395:3: note: here
       default:
       ^~~~~~~
    drivers/platform/x86/acer-wmi.c: In function ‘get_u32’:
    drivers/platform/x86/acer-wmi.c:1340:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
       if (cap == ACER_CAP_MAILLED) {
          ^
    drivers/platform/x86/acer-wmi.c:1344:2: note: here
      case ACER_WMID:
      ^~~~
    drivers/platform/x86/acer-wmi.c: In function ‘WMID_get_u32’:
    drivers/platform/x86/acer-wmi.c:1013:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
       if (quirks->mailled == 1) {
          ^
    drivers/platform/x86/acer-wmi.c:1018:2: note: here
      default:
      ^~~~~~~
    
    The reasoning behind these changes is the following:
    
    In commit commit 745a5d2126926808295742932d0e36d485efa485 case ACER_AMW0_V2 falls
    through to case ACER_WMID deliberately in function set_u32(), without reporting
    any error or warning. So, it is fair to assume that the fall-through is
    intentional in both functions get_u32() and set_u32(). Otherwise one would
    expect to see a message indicating that interface ACER_AMW0_V2 is unavailable
    in function set_u32().
    
    This is also complemented by...
    
    Commit 5c742b45dd5fbbb6cf74d3378341704f4b23c5e8 mentions that "This was fixed
    in acer_acpi some time ago, but I forgot to port the patch over to acer-wmi
    when it was merged." Notice that this driver (acer-wmi) is based on the
    no-longer existing acer_acpi driver. But after googling for a while I could
    find the fix the original author talks about:
    
    https://repo.or.cz/acer_acpi.git/commitdiff/74c08a38875ffa9989c3100947650ac8a388c189
    
    So, the fix is indeed similar and contains the same fall-throughs from case
    ACER_AMW0_V2 to case ACER_WMID in both functions get_u32() and set_u32().
    
    See: https://lore.kernel.org/lkml/b1869c7f-0927-9a30-a195-a188719c748c@embeddedor.com/
    
    Warning level 3 was used: -Wimplicit-fallthrough=3
    
    This patch is part of the ongoing efforts to enable
    -Wimplicit-fallthrough.
    
    Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>

commit 270afb37ae34fc1499d166f6edf4bc472f529d96
Author: Uma Shankar <uma.shankar@intel.com>
Date:   Thu May 16 19:40:16 2019 +0530

    video/hdmi: Add Unpack function for DRM infoframe
    
    Added unpack function for DRM infoframe for dynamic
    range and mastering infoframe readout.
    
    v2: Addressed Ville's review comments.
    
    Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Signed-off-by: Uma Shankar <uma.shankar@intel.com>
    Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/1558015817-12025-12-git-send-email-uma.shankar@intel.com

commit b5e3eed1eeb363c148e2935d9d3c12c30a280de6
Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
Date:   Thu May 16 19:40:12 2019 +0530

    drm: Add HLG EOTF
    
    ADD HLG EOTF to the list of EOTF transfer functions supported.
    Hybrid Log-Gamma (HLG) is a high dynamic range (HDR) standard.
    HLG defines a nonlinear transfer function in which the lower
    half of the signal values use a gamma curve and the upper half
    of the signal values use a logarithmic curve.
    
    v2: Rebase
    
    v3: Fixed a warning message
    
    v4: Addressed Shashank's review comments
    
    v5: Addressed Jonas Karlman's review comment and dropped the i915
    tag from header.
    
    Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Signed-off-by: Uma Shankar <uma.shankar@intel.com>
    Reviewed-by: Shashank Sharma <shashank.sharma@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/1558015817-12025-8-git-send-email-uma.shankar@intel.com

commit 2cdbfd66a82969770ce1a7032fb1e2155a08cee8
Author: Uma Shankar <uma.shankar@intel.com>
Date:   Thu May 16 19:40:09 2019 +0530

    drm: Enable HDR infoframe support
    
    Enable Dynamic Range and Mastering Infoframe for HDR
    content, which is defined in CEA 861.3 spec.
    
    The metadata will be computed based on blending
    policy in userspace compositors and passed as a connector
    property blob to driver. The same will be sent as infoframe
    to panel which support HDR.
    
    Added the const version of infoframe for DRM metadata
    for HDR.
    
    v2: Rebase and added Ville's POC changes.
    
    v3: No Change
    
    v4: Addressed Shashank's review comments and merged the
    patch making drm infoframe function arguments as constant.
    
    v5: Rebase
    
    v6: Fixed checkpatch warnings with --strict option. Addressed
    Shashank's review comments and added his RB.
    
    v7: Addressed Brian Starkey's review comments. Merged 2 patches
    into one.
    
    v8: Addressed Jonas Karlman review comments.
    
    v9: Addressed Jonas Karlman review comments.
    
    v10: Addressed Ville's review comments.
    
    v11: Added BUILD_BUG_ON and sizeof instead of magic numbers as
    per Ville's comments.
    
    Signed-off-by: Uma Shankar <uma.shankar@intel.com>
    Reviewed-by: Shashank Sharma <shashank.sharma@intel.com>
    Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/1558015817-12025-5-git-send-email-uma.shankar@intel.com

commit e85959d6cbe08521942a6118568a38ac671e8d7f
Author: Uma Shankar <uma.shankar@intel.com>
Date:   Thu May 16 19:40:08 2019 +0530

    drm: Parse HDR metadata info from EDID
    
    HDR metadata block is introduced in CEA-861.3 spec.
    Parsing the same to get the panel's HDR metadata.
    
    v2: Rebase and added Ville's POC changes to the patch.
    
    v3: No Change
    
    v4: Addressed Shashank's review comments
    
    v5: Addressed Shashank's comment and added his RB.
    
    v6: Addressed Jonas Karlman review comments.
    
    v7: Adressed Ville's review comments and fixed the issue
    with length handling.
    
    v8: Put the length check as per the convention followed in
    existing code, as suggested by Ville.
    
    Signed-off-by: Uma Shankar <uma.shankar@intel.com>
    Reviewed-by: Shashank Sharma <shashank.sharma@intel.com>
    Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/1558015817-12025-4-git-send-email-uma.shankar@intel.com

commit c0b0ebb1719984513333f88d0c2a2bb3fdb61474
Author: Jonas Karlman <jonas@kwiboo.se>
Date:   Thu May 16 19:40:07 2019 +0530

    drm: Add reference counting on HDR metadata blob
    
    This adds reference count for HDR metadata blob,
    handled as part of duplicate and destroy connector
    state functions.
    
    v2: Removed the hdr_metadata_changed initialization as
    the variable is dropped and not required.
    
    Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
    Signed-off-by: Uma Shankar <uma.shankar@intel.com>
    Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/1558015817-12025-3-git-send-email-uma.shankar@intel.com

commit fbb5d0353c62d10c3699ec844d2d015a762952d7
Author: Uma Shankar <uma.shankar@intel.com>
Date:   Thu May 16 19:40:06 2019 +0530

    drm: Add HDR source metadata property
    
    This patch adds a blob property to get HDR metadata
    information from userspace. This will be send as part
    of AVI Infoframe to panel.
    
    It also implements get() and set() functions for HDR output
    metadata property.The blob data is received from userspace and
    saved in connector state, the same is returned as blob in get
    property call to userspace.
    
    v2: Rebase and modified the metadata structure elements
    as per Ville's POC changes.
    
    v3: No Change
    
    v4: Addressed Shashank's review comments
    
    v5: Rebase.
    
    v6: Addressed Brian Starkey's review comments, defined
    new structure with header for dynamic metadata scalability.
    Merge get/set property functions for metadata in this patch.
    
    v7: Addressed Jonas Karlman review comments and defined separate
    structure for infoframe to better align with CTA 861.G spec. Added
    Shashank's RB.
    
    v8: Addressed Ville's review comments. Moved sink metadata structure
    out of uapi headers as suggested by Jonas Karlman.
    
    v9: Rebase and addressed Jonas Karlman review comments.
    
    v10: Addressed Ville's review comments, dropped the metdata_changed
    state variable as its not needed anymore.
    
    Signed-off-by: Uma Shankar <uma.shankar@intel.com>
    Reviewed-by: Shashank Sharma <shashank.sharma@intel.com>
    Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/1558015817-12025-2-git-send-email-uma.shankar@intel.com

commit eb96e57b913ff668b8b804178cdc509f9b3d4472
Author: Sean Young <sean@mess.org>
Date:   Mon May 20 15:43:49 2019 -0400

    media: dvb: warning about dvb frequency limits produces too much noise
    
    This can be a debug message. Favour dev_dbg() over dprintk() as this is
    already used much more than dprintk().
    
    dvb_frontend: dvb_frontend_get_frequency_limits: frequency interval: tuner: 45000000...860000000, frontend: 44250000...867250000
    
    Fixes: 00ecd6bc7128 ("media: dvb_frontend: add debug message for frequency intervals")
    
    Cc: <stable@vger.kernel.org> # 5.0
    Signed-off-by: Sean Young <sean@mess.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>

commit 9390467c2d3bd19778ec23b39dde5424151ec37d
Author: Neil Armstrong <narmstrong@baylibre.com>
Date:   Mon May 20 10:03:43 2019 -0400

    media: rc: meson-ir: update with SPDX Licence identifier
    
    Remove comment and replace with the appropriate SPDX identifier.
    
    Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
    Signed-off-by: Sean Young <sean@mess.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>

commit f16888a3e8a91af44329414c125e5a95660f567e
Author: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Date:   Sun May 19 07:18:31 2019 -0400

    media: af9035: Remove duplicate error reporting for dvbsky_usb_generic_rw
    
    All error cases inside the function already report errors via dev_err(),
    and dvb_usb_v2_generic_rw also reports all error cases, so there is
    no silent code path when an error has occurred.
    
    Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
    Signed-off-by: Sean Young <sean@mess.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>

commit fec2e415cb18f98c736539e0f971e93a0598c1b2
Author: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Date:   Sun May 19 07:18:30 2019 -0400

    media: dvbsky: Remove duplicate error reporting for dvbsky_usb_generic_rw
    
    Errors are already reported by the common code in dvb_usb_v2_generic_io
    (which dvbsky_usb_generic_rw is a wrapper of), so there is no reason
    report the error again.
    
    Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
    Signed-off-by: Sean Young <sean@mess.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>

commit dd5f551b58a8b557fd7fc93f238dc0dc29526e32
Author: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Date:   Sun May 19 07:18:29 2019 -0400

    media: dvb-usb-v2: Report error on all error paths
    
    actual_length != wlen is the only error path which does not generate an
    error message. Adding an error message here allows to report a more
    specific error and to remove the error reporting from the call sites.
    
    Also clean up the error paths - in case of an error, the remaining
    code is skipped, and ret is returned. Skip setting ret and return
    immediately (no cleanup necessary).
    
    Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
    Signed-off-by: Sean Young <sean@mess.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>

commit 6d0d1ff9ff21fbb06b867c13a1d41ce8ddcd8230
Author: Sean Young <sean@mess.org>
Date:   Sun May 19 15:28:22 2019 -0400

    media: au0828: fix null dereference in error path
    
    au0828_usb_disconnect() gets the au0828_dev struct via usb_get_intfdata,
    so it needs to set up for the error paths.
    
    Reported-by: syzbot+357d86bcb4cca1a2f572@syzkaller.appspotmail.com
    Signed-off-by: Sean Young <sean@mess.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>

commit 6cf97230cd5f36b7665099083272595c55d72be7
Author: Oliver Neukum <oneukum@suse.com>
Date:   Tue Apr 30 09:07:36 2019 -0400

    media: dvb: usb: fix use after free in dvb_usb_device_exit
    
    dvb_usb_device_exit() frees and uses the device name in that order.
    Fix by storing the name in a buffer before freeing it.
    
    Signed-off-by: Oliver Neukum <oneukum@suse.com>
    Reported-by: syzbot+26ec41e9f788b3eba396@syzkaller.appspotmail.com
    Signed-off-by: Sean Young <sean@mess.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>

commit 24e4cf770371df6ad49ed873f21618d9878f64c8
Author: Daniel Gomez <dagmcr@gmail.com>
Date:   Mon Apr 22 15:10:20 2019 -0400

    media: spi: IR LED: add missing of table registration
    
    MODULE_DEVICE_TABLE(of, <of_match_table> should be called to complete DT
    OF mathing mechanism and register it.
    
    Before this patch:
    modinfo drivers/media/rc/ir-spi.ko  | grep alias
    
    After this patch:
    modinfo drivers/media/rc/ir-spi.ko  | grep alias
    alias:          of:N*T*Cir-spi-ledC*
    alias:          of:N*T*Cir-spi-led
    
    Reported-by: Javier Martinez Canillas <javier@dowhile0.org>
    Signed-off-by: Daniel Gomez <dagmcr@gmail.com>
    Signed-off-by: Sean Young <sean@mess.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>

commit b681af0bc1cc520c35f2ef109aa6a2db46d0ecb5
Author: Clément Péron <peron.clem@gmail.com>
Date:   Tue May 21 18:10:57 2019 +0200

    drm: panfrost: add optional bus_clock
    
    Allwinner H6 has an ARM Mali-T720 MP2 which required a bus_clock.
    
    Add an optional bus_clock at the init of the panfrost driver.
    
    Signed-off-by: Clément Péron <peron.clem@gmail.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://patchwork.freedesktop.org/patch/msgid/20190521161102.29620-2-peron.clem@gmail.com

commit c3f4a6c39cf269a40d45f813c05fa830318ad875
Author: Jakub Kicinski <jakub.kicinski@netronome.com>
Date:   Tue May 21 19:02:02 2019 -0700

    net/tls: don't ignore netdev notifications if no TLS features
    
    On device surprise removal path (the notifier) we can't
    bail just because the features are disabled.  They may
    have been enabled during the lifetime of the device.
    This bug leads to leaking netdev references and
    use-after-frees if there are active connections while
    device features are cleared.
    
    Fixes: e8f69799810c ("net/tls: Add generic NIC offload infrastructure")
    Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
    Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 3686637e507b48525fcea6fb91e1988bdbc14530
Author: Jakub Kicinski <jakub.kicinski@netronome.com>
Date:   Tue May 21 19:02:01 2019 -0700

    net/tls: fix state removal with feature flags off
    
    TLS offload drivers shouldn't (and currently don't) block
    the TLS offload feature changes based on whether there are
    active offloaded connections or not.
    
    This seems to be a good idea, because we want the admin to
    be able to disable the TLS offload at any time, and there
    is no clean way of disabling it for active connections
    (TX side is quite problematic).  So if features are cleared
    existing connections will stay offloaded until they close,
    and new connections will not attempt offload to a given
    device.
    
    However, the offload state removal handling is currently
    broken if feature flags get cleared while there are
    active TLS offloads.
    
    RX side will completely bail from cleanup, even on normal
    remove path, leaving device state dangling, potentially
    causing issues when the 5-tuple is reused.  It will also
    fail to release the netdev reference.
    
    Remove the RX-side warning message, in next release cycle
    it should be printed when features are disabled, rather
    than when connection dies, but for that we need a more
    efficient method of finding connection of a given netdev
    (a'la BPF offload code).
    
    Fixes: 4799ac81e52a ("tls: Add rx inline crypto offload")
    Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
    Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 38030d7cb77963ba84cdbe034806e2b81245339f
Author: Jakub Kicinski <jakub.kicinski@netronome.com>
Date:   Tue May 21 19:02:00 2019 -0700

    net/tls: avoid NULL-deref on resync during device removal
    
    When netdev with active kTLS sockets in unregistered
    notifier callback walks the offloaded sockets and
    cleans up offload state.  RX data may still be processed,
    however, and if resync was requested prior to device
    removal we would hit a NULL pointer dereference on
    ctx->netdev use.
    
    Make sure resync is under the device offload lock
    and NULL-check the netdev pointer.
    
    This should be safe, because the pointer is set to
    NULL either in the netdev notifier (under said lock)
    or when socket is completely dead and no resync can
    happen.
    
    The other access to ctx->netdev in tls_validate_xmit_skb()
    does not dereference the pointer, it just checks it against
    other device pointer, so it should be pretty safe (perhaps
    we can add a READ_ONCE/WRITE_ONCE there, if paranoid).
    
    Fixes: 4799ac81e52a ("tls: Add rx inline crypto offload")
    Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
    Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit d4db6c089099d38166752c93d9d165fb7526f1e5
Author: Icenowy Zheng <icenowy@aosc.io>
Date:   Tue May 21 18:10:59 2019 +0200

    dt-bindings: gpu: add bus clock for Mali Midgard GPUs
    
    Some SoCs adds a bus clock gate to the Mali Midgard GPU.
    
    Add the binding for the bus clock.
    
    Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
    Signed-off-by: Clément Péron <peron.clem@gmail.com>
    Reviewed-by: Rob Herring <robh@kernel.org>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://patchwork.freedesktop.org/patch/msgid/20190521161102.29620-4-peron.clem@gmail.com

commit f42c104f2ec94a9255a835cd4cd1bd76279d4d06
Author: Jakub Kicinski <jakub.kicinski@netronome.com>
Date:   Tue May 21 18:57:14 2019 -0700

    Documentation: add TLS offload documentation
    
    Describe existing kernel TLS offload (added back in Linux 4.19) -
    the mechanism, the expected behavior and the notable corner cases.
    
    This documentation is mostly targeting hardware vendors who want
    to implement offload, to ensure consistency between implementations.
    
    v2:
     - add emphasis around TLS_SW/TLS_HW/TLS_HW_RECORD;
     - remove mentions of ongoing work (Boris);
     - split the flow of data in SW vs. HW cases in TX overview
       (Boris);
     - call out which fields are updated by the device and which
       are filled by the stack (Boris);
     - move error handling into it's own section (Boris);
     - add more words about fallback (Boris);
     - note that checksum validation is required (Alexei);
     - note that drivers shouldn't pay attention to the TLS
       device features.
    
    Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
    Acked-by: Dave Watson <davejwatson@fb.com>
    Acked-by: Alexei Starovoitov <ast@kernel.org>
    Acked-by: Boris Pismenny <borisp@mellanox.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit f3c0f3c6c2013e6caa7ab9c3c6a9fb12f6832c43
Author: Jakub Kicinski <jakub.kicinski@netronome.com>
Date:   Tue May 21 18:57:13 2019 -0700

    Documentation: tls: RSTify the ktls documentation
    
    Convert the TLS doc to RST.  Use C code blocks for the code
    samples, and mark hyperlinks.
    
    Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
    Acked-by: Dave Watson <davejwatson@fb.com>
    Acked-by: Alexei Starovoitov <ast@kernel.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit b0d8d4363e523e952254619ae24dd0dfd7ea1181
Author: Jakub Kicinski <jakub.kicinski@netronome.com>
Date:   Tue May 21 18:57:12 2019 -0700

    Documentation: net: move device drivers docs to a submenu
    
    Some of the device drivers have really long document titles
    making the networking table of contents hard to look through.
    Place vendor drivers under a submenu.
    
    Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
    Acked-by: Dave Watson <davejwatson@fb.com>
    Acked-by: Alexei Starovoitov <ast@kernel.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit d008b3d2be4b00267e7af5c21269e7af4f65c6e2
Author: Dan Carpenter <dan.carpenter@oracle.com>
Date:   Tue May 21 12:42:56 2019 +0300

    mISDN: Fix indenting in dsp_cmx.c
    
    We used a script to indent this code back in 2012, but I guess it got
    confused by the ifdefs and added some extra tabs.  This patch removes
    them.
    
    Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 40a1578d631a8ac1cf0ef797c435114107747859
Author: Claudiu Manoil <claudiu.manoil@nxp.com>
Date:   Tue May 21 19:52:55 2019 +0300

    ocelot: Dont allocate another multicast list, use __dev_mc_sync
    
    Doing kmalloc in atomic context is always an issue,
    more so for a list that can grow significantly.
    Turns out that the driver only uses the duplicated
    list of multicast mac addresses to keep track of
    what addresses to delete from h/w before committing
    the new list from kernel to h/w back again via set_rx_mode,
    every time this list gets updated by the kernel.
    Given that the h/w knows how to add and delete mac addresses
    based on the mac address value alone, __dev_mc_sync should be
    the much better choice of kernel API for these operations
    avoiding the considerable overhead of maintaining a duplicated
    list in the driver.
    
    Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
    Tested-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
    Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 7dc2bccab0ee37ac28096b8fcdc390a679a15841
Author: Maxim Mikityanskiy <maximmi@mellanox.com>
Date:   Tue May 21 06:40:04 2019 +0000

    Validate required parameters in inet6_validate_link_af
    
    inet6_set_link_af requires that at least one of IFLA_INET6_TOKEN or
    IFLA_INET6_ADDR_GET_MODE is passed. If none of them is passed, it
    returns -EINVAL, which may cause do_setlink() to fail in the middle of
    processing other commands and give the following warning message:
    
      A link change request failed with some changes committed already.
      Interface eth0 may have been left with an inconsistent configuration,
      please check.
    
    Check the presence of at least one of them in inet6_validate_link_af to
    detect invalid parameters at an early stage, before do_setlink does
    anything. Also validate the address generation mode at an early stage.
    
    Signed-off-by: Maxim Mikityanskiy <maximmi@mellanox.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit f3617b449d0bcf3b5d80a97f51498dcf7463cf7e
Author: Ezequiel Garcia <ezequiel@collabora.com>
Date:   Fri May 17 12:00:42 2019 -0300

    drm/panfrost: Select devfreq
    
    Currently, there is some logic for the driver to work without devfreq.
    However, the driver actually fails to probe if !CONFIG_PM_DEVFREQ.
    
    Fix this by selecting devfreq, and drop the additional checks
    for devfreq.
    
    Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://patchwork.freedesktop.org/patch/msgid/20190517150042.776-1-ezequiel@collabora.com

commit 8b5feedc20486e0919c4da043398fa1e9c8dbf8d
Author: Jaegeuk Kim <jaegeuk@kernel.org>
Date:   Thu May 2 20:08:40 2019 -0700

    f2fs: add missing sysfs entries in documentation
    
    This patch cleans up documentation to cover missing sysfs entries.
    
    Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>

commit 7651f2afbbd740bb97519e6b4827da295853a9ab
Author: Chao Yu <yuchao0@huawei.com>
Date:   Thu May 16 17:32:13 2019 +0800

    f2fs: fix to do sanity check on segment bitmap of LFS curseg
    
    As Jungyeon Reported in bugzilla:
    
    https://bugzilla.kernel.org/show_bug.cgi?id=203233
    
    - Reproduces
    gcc poc_13.c
    ./run.sh f2fs
    
    - Kernel messages
     F2FS-fs (sdb): Bitmap was wrongly set, blk:4608
     kernel BUG at fs/f2fs/segment.c:2133!
     RIP: 0010:update_sit_entry+0x35d/0x3e0
     Call Trace:
      f2fs_allocate_data_block+0x16c/0x5a0
      do_write_page+0x57/0x100
      f2fs_do_write_node_page+0x33/0xa0
      __write_node_page+0x270/0x4e0
      f2fs_sync_node_pages+0x5df/0x670
      f2fs_write_checkpoint+0x364/0x13a0
      f2fs_sync_fs+0xa3/0x130
      f2fs_do_sync_file+0x1a6/0x810
      do_fsync+0x33/0x60
      __x64_sys_fsync+0xb/0x10
      do_syscall_64+0x43/0x110
      entry_SYSCALL_64_after_hwframe+0x44/0xa9
    
    The testcase fails because that, in fuzzed image, current segment was
    allocated with LFS type, its .next_blkoff should point to an unused
    block address, but actually, its bitmap shows it's not. So during
    allocation, f2fs crash when setting bitmap.
    
    Introducing sanity_check_curseg() to check such inconsistence of
    current in-used segment.
    
    Signed-off-by: Chao Yu <yuchao0@huawei.com>
    Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>

commit 325800ec4742978d0f9ce917274929de780a302c
Author: Chao Yu <yuchao0@huawei.com>
Date:   Mon May 20 17:36:59 2019 +0800

    f2fs: fix to avoid deadloop if data_flush is on
    
    As Hagbard Celine reported:
    
    [  615.697824] INFO: task kworker/u16:5:344 blocked for more than 120 seconds.
    [  615.697825]       Not tainted 5.0.15-gentoo-f2fslog #4
    [  615.697826] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
    disables this message.
    [  615.697827] kworker/u16:5   D    0   344      2 0x80000000
    [  615.697831] Workqueue: writeback wb_workfn (flush-259:0)
    [  615.697832] Call Trace:
    [  615.697836]  ? __schedule+0x2c5/0x8b0
    [  615.697839]  schedule+0x32/0x80
    [  615.697841]  schedule_preempt_disabled+0x14/0x20
    [  615.697842]  __mutex_lock.isra.8+0x2ba/0x4d0
    [  615.697845]  ? log_store+0xf5/0x260
    [  615.697848]  f2fs_write_data_pages+0x133/0x320
    [  615.697851]  ? trace_hardirqs_on+0x2c/0xe0
    [  615.697854]  do_writepages+0x41/0xd0
    [  615.697857]  __filemap_fdatawrite_range+0x81/0xb0
    [  615.697859]  f2fs_sync_dirty_inodes+0x1dd/0x200
    [  615.697861]  f2fs_balance_fs_bg+0x2a7/0x2c0
    [  615.697863]  ? up_read+0x5/0x20
    [  615.697865]  ? f2fs_do_write_data_page+0x2cb/0x940
    [  615.697867]  f2fs_balance_fs+0xe5/0x2c0
    [  615.697869]  __write_data_page+0x1c8/0x6e0
    [  615.697873]  f2fs_write_cache_pages+0x1e0/0x450
    [  615.697878]  f2fs_write_data_pages+0x14b/0x320
    [  615.697880]  ? trace_hardirqs_on+0x2c/0xe0
    [  615.697883]  do_writepages+0x41/0xd0
    [  615.697885]  __filemap_fdatawrite_range+0x81/0xb0
    [  615.697887]  f2fs_sync_dirty_inodes+0x1dd/0x200
    [  615.697889]  f2fs_balance_fs_bg+0x2a7/0x2c0
    [  615.697891]  f2fs_write_node_pages+0x51/0x220
    [  615.697894]  do_writepages+0x41/0xd0
    [  615.697897]  __writeback_single_inode+0x3d/0x3d0
    [  615.697899]  writeback_sb_inodes+0x1e8/0x410
    [  615.697902]  __writeback_inodes_wb+0x5d/0xb0
    [  615.697904]  wb_writeback+0x28f/0x340
    [  615.697906]  ? cpumask_next+0x16/0x20
    [  615.697908]  wb_workfn+0x33e/0x420
    [  615.697911]  process_one_work+0x1a1/0x3d0
    [  615.697913]  worker_thread+0x30/0x380
    [  615.697915]  ? process_one_work+0x3d0/0x3d0
    [  615.697916]  kthread+0x116/0x130
    [  615.697918]  ? kthread_create_worker_on_cpu+0x70/0x70
    [  615.697921]  ret_from_fork+0x3a/0x50
    
    There is still deadloop in below condition:
    
    d A
    - do_writepages
     - f2fs_write_node_pages
      - f2fs_balance_fs_bg
       - f2fs_sync_dirty_inodes
        - f2fs_write_cache_pages
         - mutex_lock(&sbi->writepages)     -- lock once
         - __write_data_page
          - f2fs_balance_fs_bg
           - f2fs_sync_dirty_inodes
            - f2fs_write_data_pages
             - mutex_lock(&sbi->writepages) -- lock again
    
    Thread A                        Thread B
    - do_writepages
     - f2fs_write_node_pages
      - f2fs_balance_fs_bg
       - f2fs_sync_dirty_inodes
        - .cp_task = current
                                    - f2fs_sync_dirty_inodes
                                     - .cp_task = current
                                     - filemap_fdatawrite
                                     - .cp_task = NULL
        - filemap_fdatawrite
         - f2fs_write_cache_pages
          - enter f2fs_balance_fs_bg since .cp_task is NULL
        - .cp_task = NULL
    
    Change as below to avoid this:
    - add condition to avoid holding .writepages mutex lock in path
    of data flush
    - introduce mutex lock sbi.flush_lock to exclude concurrent data
    flush in background.
    
    Signed-off-by: Chao Yu <yuchao0@huawei.com>
    Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>

commit 6c3f2a4ee01a27d524e017d13459e02e31393b0b
Author: Park Ju Hyung <qkrwngud825@gmail.com>
Date:   Tue May 14 15:36:23 2019 +0900

    f2fs: always assume that the device is idle under gc_urgent
    
    This allows more aggressive discards and balancing job to be done
    under gc_urgent.
    
    Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
    Reviewed-by: Chao Yu <yuchao0@huawei.com>
    Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>

commit 710e908b54b17e955fabdb2d0606289367b58e7c
Author: Chao Yu <yuchao0@huawei.com>
Date:   Tue Feb 19 16:15:29 2019 +0800

    f2fs: add bio cache for IPU
    
    SQLite in Wal mode may trigger sequential IPU write in db-wal file, after
    commit d1b3e72d5490 ("f2fs: submit bio of in-place-update pages"), we
    lost the chance of merging page in inner managed bio cache, result in
    submitting more small-sized IO.
    
    So let's add temporary bio in writepages() to cache mergeable write IO as
    much as possible.
    
    Test case:
    1. xfs_io -f /mnt/f2fs/file -c "pwrite 0 65536" -c "fsync"
    2. xfs_io -f /mnt/f2fs/file -c "pwrite 0 65536" -c "fsync"
    
    Before:
    f2fs_submit_write_bio: dev = (251,0)/(251,0), rw = WRITE(S), DATA, sector = 65544, size = 4096
    f2fs_submit_write_bio: dev = (251,0)/(251,0), rw = WRITE(S), DATA, sector = 65552, size = 4096
    f2fs_submit_write_bio: dev = (251,0)/(251,0), rw = WRITE(S), DATA, sector = 65560, size = 4096
    f2fs_submit_write_bio: dev = (251,0)/(251,0), rw = WRITE(S), DATA, sector = 65568, size = 4096
    f2fs_submit_write_bio: dev = (251,0)/(251,0), rw = WRITE(S), DATA, sector = 65576, size = 4096
    f2fs_submit_write_bio: dev = (251,0)/(251,0), rw = WRITE(S), DATA, sector = 65584, size = 4096
    f2fs_submit_write_bio: dev = (251,0)/(251,0), rw = WRITE(S), DATA, sector = 65592, size = 4096
    f2fs_submit_write_bio: dev = (251,0)/(251,0), rw = WRITE(S), DATA, sector = 65600, size = 4096
    f2fs_submit_write_bio: dev = (251,0)/(251,0), rw = WRITE(S), DATA, sector = 65608, size = 4096
    f2fs_submit_write_bio: dev = (251,0)/(251,0), rw = WRITE(S), DATA, sector = 65616, size = 4096
    f2fs_submit_write_bio: dev = (251,0)/(251,0), rw = WRITE(S), DATA, sector = 65624, size = 4096
    f2fs_submit_write_bio: dev = (251,0)/(251,0), rw = WRITE(S), DATA, sector = 65632, size = 4096
    f2fs_submit_write_bio: dev = (251,0)/(251,0), rw = WRITE(S), DATA, sector = 65640, size = 4096
    f2fs_submit_write_bio: dev = (251,0)/(251,0), rw = WRITE(S), DATA, sector = 65648, size = 4096
    f2fs_submit_write_bio: dev = (251,0)/(251,0), rw = WRITE(S), DATA, sector = 65656, size = 4096
    f2fs_submit_write_bio: dev = (251,0)/(251,0), rw = WRITE(S), DATA, sector = 65664, size = 4096
    f2fs_submit_write_bio: dev = (251,0)/(251,0), rw = WRITE(S), NODE, sector = 57352, size = 4096
    
    After:
    f2fs_submit_write_bio: dev = (251,0)/(251,0), rw = WRITE(S), DATA, sector = 65544, size = 65536
    f2fs_submit_write_bio: dev = (251,0)/(251,0), rw = WRITE(S), NODE, sector = 57368, size = 4096
    
    Signed-off-by: Chao Yu <yuchao0@huawei.com>
    Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>

commit 582a51904a792ece42644ef2deab8ea07eb26da4
Author: Jaegeuk Kim <jaegeuk@kernel.org>
Date:   Mon May 20 15:54:49 2019 -0700

    f2fs: allow ssr block allocation during checkpoint=disable period
    
    This patch allows to use ssr during checkpoint is disabled.
    
    Reviewed-by: Chao Yu <yuchao0@huawei.com>
    Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>

commit 8bf2ca31ad5bf7a91662cc453a2d01693441b88c
Author: Chao Yu <yuchao0@huawei.com>
Date:   Mon May 20 10:09:22 2019 +0800

    f2fs: fix to check layout on last valid checkpoint park
    
    As Ju Hyung reported:
    
    "
    I was semi-forced today to use the new kernel and test f2fs.
    
    My Ubuntu initramfs got a bit wonky and I had to boot into live CD and
    fix some stuffs. The live CD was using 4.15 kernel, and just mounting
    the f2fs partition there corrupted f2fs and my 4.19(with 5.1-rc1-4.19
    f2fs-stable merged) refused to mount with "SIT is corrupted node"
    message.
    
    I used the latest f2fs-tools sent by Chao including "fsck.f2fs: fix to
    repair cp_loads blocks at correct position"
    
    It spit out 140M worth of output, but at least I didn't have to run it
    twice. Everything returned "Ok" in the 2nd run.
    The new log is at
    http://arter97.com/f2fs/final
    
    After fixing the image, I used my 4.19 kernel with 5.2-rc1-4.19
    f2fs-stable merged and it mounted.
    
    But, I got this:
    [    1.047791] F2FS-fs (nvme0n1p3): layout of large_nat_bitmap is
    deprecated, run fsck to repair, chksum_offset: 4092
    [    1.081307] F2FS-fs (nvme0n1p3): Found nat_bits in checkpoint
    [    1.161520] F2FS-fs (nvme0n1p3): recover fsync data on readonly fs
    [    1.162418] F2FS-fs (nvme0n1p3): Mounted with checkpoint version = 761c7e00
    
    But after doing a reboot, the message is gone:
    [    1.098423] F2FS-fs (nvme0n1p3): Found nat_bits in checkpoint
    [    1.177771] F2FS-fs (nvme0n1p3): recover fsync data on readonly fs
    [    1.178365] F2FS-fs (nvme0n1p3): Mounted with checkpoint version = 761c7eda
    
    I'm not exactly sure why the kernel detected that I'm still using the
    old layout on the first boot. Maybe fsck didn't fix it properly, or
    the check from the kernel is improper.
    "
    
    Although we have rebuild the old deprecated checkpoint with new layout
    during repair, we only repair last checkpoint park, the other old one is
    remained.
    
    Once the image was mounted, we will 1) sanity check layout and 2) decide
    which checkpoint park to use according to cp_ver. So that we will print
    reported message unnecessarily at step 1), to avoid it, we simply move
    layout check into f2fs_sanity_check_ckpt() after step 2).
    
    Reported-by: Park Ju Hyung <qkrwngud825@gmail.com>
    Signed-off-by: Chao Yu <yuchao0@huawei.com>
    Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>

commit 1569f5e82503ebabcbdde94978f3f4c11a6120ad
Author: Jaegeuk Kim <jaegeuk@kernel.org>
Date:   Mon May 20 16:17:56 2019 -0700

    f2fs: link f2fs quota ops for sysfile
    
    This patch reverts:
    commit fb40d618b039 ("f2fs: don't clear CP_QUOTA_NEED_FSCK_FLAG").
    
    We were missing error handlers used in f2fs quota ops.
    
    Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>

commit cae9910e73446cac68a54e3a7b02aaa12b689026
Author: Felipe Gasper <felipe@felipegasper.com>
Date:   Mon May 20 19:43:51 2019 -0500

    net: Add UNIX_DIAG_UID to Netlink UNIX socket diagnostics.
    
    This adds the ability for Netlink to report a socket's UID along with the
    other UNIX diagnostic information that is already available. This will
    allow diagnostic tools greater insight into which users control which
    socket.
    
    To test this, do the following as a non-root user:
    
        unshare -U -r bash
        nc -l -U user.socket.$$ &
    
    .. and verify from within that same session that Netlink UNIX socket
    diagnostics report the socket's UID as 0. Also verify that Netlink UNIX
    socket diagnostics report the socket's UID as the user's UID from an
    unprivileged process in a different session. Verify the same from
    a root process.
    
    Signed-off-by: Felipe Gasper <felipe@felipegasper.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit c1a145a3ed9a40f3b6145feb97789e8eb49c5566
Author: Fabio Estevam <festevam@gmail.com>
Date:   Wed May 22 10:35:29 2019 -0300

    xhci: Use %zu for printing size_t type
    
    Commit 597c56e372da ("xhci: update bounce buffer with correct sg num")
    caused the following build warnings:
    
    drivers/usb/host/xhci-ring.c:676:19: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t {aka unsigned int}' [-Wformat=]
    
    Use %zu for printing size_t type in order to fix the warnings.
    
    Fixes: 597c56e372da ("xhci: update bounce buffer with correct sg num")
    Reported-by: kbuild test robot <lkp@intel.com>
    Signed-off-by: Fabio Estevam <festevam@gmail.com>
    Cc: stable <stable@vger.kernel.org>
    Acked-by: Mathias Nyman <mathias.nyman@linux.intel.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

commit 0a944e8a6c66ca04c7afbaa17e22bf208a8b37f0
Author: Theodore Ts'o <tytso@mit.edu>
Date:   Wed May 22 10:27:01 2019 -0400

    ext4: don't perform block validity checks on the journal inode
    
    Since the journal inode is already checked when we added it to the
    block validity's system zone, if we check it again, we'll just trigger
    a failure.
    
    This was causing failures like this:
    
    [   53.897001] EXT4-fs error (device sda): ext4_find_extent:909: inode
    #8: comm jbd2/sda-8: pblk 121667583 bad header/extent: invalid extent entries - magic f30a, entries 8, max 340(340), depth 0(0)
    [   53.931430] jbd2_journal_bmap: journal block not found at offset 49 on sda-8
    [   53.938480] Aborting journal on device sda-8.
    
    ... but only if the system was under enough memory pressure that
    logical->physical mapping for the journal inode gets pushed out of the
    extent cache.  (This is why it wasn't noticed earlier.)
    
    Fixes: 345c0dbf3a30 ("ext4: protect journal inode's blocks using block_validity")
    Reported-by: Dan Rue <dan.rue@linaro.org>
    Signed-off-by: Theodore Ts'o <tytso@mit.edu>
    Tested-by: Naresh Kamboju <naresh.kamboju@linaro.org>

commit 9c536ccdd5b691057aad89b7bb9b4562938dda9c
Author: Thierry Reding <treding@nvidia.com>
Date:   Wed May 22 09:50:59 2019 +0200

    arm64: tegra: Make DT model property consistent
    
    Jetson Nano, Jetson TX1 and Jetson TX2 all are named "Developer Kit" and
    Jetson AGX Xavier is the odd one out. It's officially also called the
    "Developer Kit", not "Development Kit", so make it consistent with the
    rest.
    
    Acked-by: Jon Hunter <jonathanh@nvidia.com>
    Signed-off-by: Thierry Reding <treding@nvidia.com>

commit f85d82e5cd438b28e0481be185443ec54e087d94
Author: Thierry Reding <treding@nvidia.com>
Date:   Wed May 22 09:49:58 2019 +0200

    arm64: tegra: Clarify that P2888 is the Jetson AGX Xavier
    
    P2888 is the internal part number for the Jetson AGX Xavier module.
    Clarify that using the DT model property.
    
    Acked-by: Jon Hunter <jonathanh@nvidia.com>
    Signed-off-by: Thierry Reding <treding@nvidia.com>

commit 71e7ea434ecadeac71aee50d042b9f78bdd8b630
Author: Thierry Reding <treding@nvidia.com>
Date:   Wed May 22 09:48:53 2019 +0200

    arm64: tegra: Clarify that P3310 is the Jetson TX2
    
    P3310 is the internal part number for the Jetson TX2 module. Clarify
    that using the DT model property.
    
    Acked-by: Jon Hunter <jonathanh@nvidia.com>
    Signed-off-by: Thierry Reding <treding@nvidia.com>

commit a0c0cdc93465c8d6565b2e0bf50c1f3749247989
Author: Thierry Reding <treding@nvidia.com>
Date:   Thu Jun 7 11:34:18 2018 +0200

    arm64: tegra: Clarify that P2771 is the Jetson TX2 Developer Kit
    
    P2771 is the internal part number for the Jetson TX2 Developer Kit.
    Clarify that using the DT model property.
    
    Acked-by: Jon Hunter <jonathanh@nvidia.com>
    Signed-off-by: Thierry Reding <treding@nvidia.com>

commit 31910f4476ce8b231164e7c0c17a87a8654bb5f2
Author: Robin Murphy <robin.murphy@arm.com>
Date:   Tue May 21 17:44:27 2019 +0100

    dt-bindings: arm: Clean up CPU binding examples
    
    Following commit 31af04cd60d3 ("arm64: dts: Remove inconsistent use of
    'arm,armv8' compatible string"), clean up these binding examples in case
    anyone is tempted to copy them.
    
    CC: Linus Walleij <linus.walleij@linaro.org>
    Signed-off-by: Robin Murphy <robin.murphy@arm.com>
    Signed-off-by: Rob Herring <robh@kernel.org>

commit dfab99544c55378c1692c585e5e4df88dc7944c3
Author: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Date:   Mon May 20 11:47:37 2019 -0300

    dt: fix refs that were renamed to json with the same file name
    
    These files were converted to json-schema, but the references weren't
    renamed.
    
    Fixes: 66ed144f147a ("dt-bindings: interrupt-controller: Convert ARM GIC to json-schema")
    (and other similar commits)
    
    Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
    Signed-off-by: Rob Herring <robh@kernel.org>

commit 05aeca7cb0a2f53a307c329ba758f1e88972a360
Author: Rob Herring <robh@kernel.org>
Date:   Thu May 9 08:53:44 2019 -0500

    dt-bindings: Pass binding directory to validation tools
    
    In order to have $ref's to schema files within the kernel, we need to
    pass the base path of bindings to the schema validation tools.
    
    Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
    Cc: Michal Marek <michal.lkml@markovi.net>
    Cc: devicetree@vger.kernel.org
    Cc: linux-kbuild@vger.kernel.org
    Signed-off-by: Rob Herring <robh@kernel.org>

commit f08ff9c525b1d87668409d018cc236b1e4e41bb5
Author: Paul Walmsley <paul.walmsley@sifive.com>
Date:   Mon May 13 14:51:53 2019 -0700

    dt-bindings: sifive: describe sifive-blocks versioning
    
    For IP blocks that are generated from the public, open-source
    sifive-blocks repository, describe the version numbering policy
    that its maintainers intend to use, upon request from Rob
    Herring <robh@kernel.org>.
    
    Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
    Signed-off-by: Paul Walmsley <paul@pwsan.com>
    Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
    Cc: Rob Herring <robh+dt@kernel.org>
    Cc: Palmer Dabbelt <palmer@sifive.com>
    Cc: Megan Wachs <megan@sifive.com>
    Cc: Wesley Terpstra <wesley@sifive.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: devicetree@vger.kernel.org
    Cc: linux-riscv@lists.infradead.org
    Cc: linux-kernel@vger.kernel.org
    Signed-off-by: Rob Herring <robh@kernel.org>

commit c614d7e66c6a65e406cd21bbb2560e0eff0175ba
Author: Christian König <christian.koenig@amd.com>
Date:   Tue Jul 3 16:55:26 2018 +0200

    drm: remove prime sg_table caching
    
    That is now done by the DMA-buf helpers instead.
    
    Signed-off-by: Christian König <christian.koenig@amd.com>
    Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
    Link: https://patchwork.kernel.org/patch/10943055/

commit f13e143e7444bffc53f5c2904aeed76646da69d6
Author: Christian König <christian.koenig@amd.com>
Date:   Tue Jul 3 16:42:26 2018 +0200

    dma-buf: start caching of sg_table objects v2
    
    To allow a smooth transition from pinning buffer objects to dynamic
    invalidation we first start to cache the sg_table for an attachment.
    
    v2: keep closer to the DRM implementation
    
    Signed-off-by: Christian König <christian.koenig@amd.com>
    Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
    Link: https://patchwork.kernel.org/patch/10943053/

commit c5d3e39caa456b1e061644b739131f2b54c84c08
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Wed May 22 10:00:54 2019 +0100

    drm/i915: Engine discovery query
    
    Engine discovery query allows userspace to enumerate engines, probe their
    configuration features, all without needing to maintain the internal PCI
    ID based database.
    
    A new query for the generic i915 query ioctl is added named
    DRM_I915_QUERY_ENGINE_INFO, together with accompanying structure
    drm_i915_query_engine_info. The address of latter should be passed to the
    kernel in the query.data_ptr field, and should be large enough for the
    kernel to fill out all known engines as struct drm_i915_engine_info
    elements trailing the query.
    
    As with other queries, setting the item query length to zero allows
    userspace to query minimum required buffer size.
    
    Enumerated engines have common type mask which can be used to query all
    hardware engines, versus engines userspace can submit to using the execbuf
    uAPI.
    
    Engines also have capabilities which are per engine class namespace of
    bits describing features not present on all engine instances.
    
    v2:
     * Fixed HEVC assignment.
     * Reorder some fields, rename type to flags, increase width. (Lionel)
     * No need to allocate temporary storage if we do it engine by engine.
       (Lionel)
    
    v3:
     * Describe engine flags and mark mbz fields. (Lionel)
     * HEVC only applies to VCS.
    
    v4:
     * Squash SFC flag into main patch.
     * Tidy some comments.
    
    v5:
     * Add uabi_ prefix to engine capabilities. (Chris Wilson)
     * Report exact size of engine info array. (Chris Wilson)
     * Drop the engine flags. (Joonas Lahtinen)
     * Added some more reserved fields.
     * Move flags after class/instance.
    
    v6:
     * Do not check engine info array was zeroed by userspace but zero the
       unused fields for them instead.
    
    v7:
     * Simplify length calculation loop. (Lionel Landwerlin)
    
    v8:
     * Remove MBZ comments where not applicable.
     * Rename ABI flags to match engine class define naming.
     * Rename SFC ABI flag to reflect it applies to VCS and VECS.
     * SFC is wired to even _logical_ engine instances.
     * SFC applies to VCS and VECS.
     * HEVC is present on all instances on Gen11. (Tony)
     * Simplify length calculation even more. (Chris Wilson)
     * Move info_ptr assigment closer to loop for clarity. (Chris Wilson)
     * Use vdbox_sfc_access from runtime info.
     * Rebase for RUNTIME_INFO.
     * Refactor for lower indentation.
     * Rename uAPI class/instance to engine_class/instance to avoid C++
       keyword.
    
    v9:
     * Rebase for s/num_rings/num_engines/ in RUNTIME_INFO.
    
    v10:
     * Use new copy_query_item.
    
    v11:
     * Consolidate with struct i915_engine_class_instnace.
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
    Cc: Chris Wilson <chris@chris-wilson.co.uk>
    Cc: Jon Bloomfield <jon.bloomfield@intel.com>
    Cc: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
    Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
    Cc: Tony Ye <tony.ye@intel.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> # v7
    Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
    Link: https://patchwork.freedesktop.org/patch/msgid/20190522090054.6007-1-tvrtko.ursulin@linux.intel.com

commit 43ad38191816a6b77cc4bd8222353320a71a1d2d
Author: Geordan Neukum <gneukum1@gmail.com>
Date:   Wed May 22 12:14:02 2019 +0000

    staging: kpc2000: kpc_i2c: add static qual to local symbols in kpc_i2c.c
    
    kpc_i2c.c declares:
      - two functions
        - pi2c_probe()
        - pi2c_remove()
      - one struct
        - i2c_plat_driver_i
    which are local to the file, yet missing the static qualifier. Add the
    static qualifier to these symbols.
    
    Signed-off-by: Geordan Neukum <gneukum1@gmail.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

commit 7bd49a49b0a7f3bf845869afb126e40788eab832
Author: Geordan Neukum <gneukum1@gmail.com>
Date:   Wed May 22 12:14:01 2019 +0000

    staging: kpc2000: kpc_i2c: Remove unnecessary function tracing prints
    
    Many of the functions in kpc_i2c log debug-level messages to the
    kernel log message buffer upon invocation. This is unnecessary, as
    debugging tools like kgdb, kdb, etc. or the tracing tool ftrace
    should be able to provide this same information. Therefore, remove
    these print statements.
    
    Signed-off-by: Geordan Neukum <gneukum1@gmail.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

commit 32806b33fee8200b18702a93d693017c6445b2c9
Author: Geordan Neukum <gneukum1@gmail.com>
Date:   Wed May 22 12:14:00 2019 +0000

    staging: kpc2000: kpc_i2c: use <linux/io.h> instead of <asm/io.h>
    
    Rather than include asm/io.h, include linux/io.h. Issue reported
    by the script checkpatch.pl.
    
    Signed-off-by: Geordan Neukum <gneukum1@gmail.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

commit 953bb9e5d060d0848cc83143236a1ce00498aaac
Author: Geordan Neukum <gneukum1@gmail.com>
Date:   Wed May 22 12:13:59 2019 +0000

    staging: kpc2000: kpc_i2c: newline fixups to meet linux style guide
    
    The linux coding style document states:
    
      1) That braces should not be used where a single single statement
         will do. Therefore all instances of single block statements
         wrapped in braces that do not meet the qualifications of any
         of the exceptions to the rule should be fixed up.
    
      2) That the declaration of variables local to a given function
         should be immediately followed by a blank newline. Therefore,
         the single instance of this in kpc2000_i2c.c should be fixed
         up.
    
    Signed-off-by: Geordan Neukum <gneukum1@gmail.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

commit 8576a5f543273f4bf3af8e3a5b25c918e4dca02a
Author: Geordan Neukum <gneukum1@gmail.com>
Date:   Wed May 22 12:13:58 2019 +0000

    staging: kpc2000: kpc_i2c: remove unused module param disable_features
    
    The module parameter 'disable_features' is currently unused. Therefore,
    it should be removed.
    
    Signed-off-by: Geordan Neukum <gneukum1@gmail.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

commit e6e0a03574917ed7bd5545cfbee87d60021500d9
Author: Nathan Chancellor <natechancellor@gmail.com>
Date:   Tue May 21 10:42:21 2019 -0700

    staging: rtl8192u: Remove an unnecessary NULL check
    
    Clang warns:
    
    drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:2663:47: warning:
    address of array 'param->u.wpa_ie.data' will always evaluate to 'true'
    [-Wpointer-bool-conversion]
                (param->u.wpa_ie.len && !param->u.wpa_ie.data))
                                        ~~~~~~~~~~~~~~~~~^~~~
    
    This was exposed by commit deabe03523a7 ("Staging: rtl8192u: ieee80211:
    Use !x in place of NULL comparisons") because we disable the warning
    that would have pointed out the comparison against NULL is also false:
    
    drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:2663:46: warning:
    comparison of array 'param->u.wpa_ie.data' equal to a null pointer is
    always false [-Wtautological-pointer-compare]
                (param->u.wpa_ie.len && param->u.wpa_ie.data == NULL))
                                        ~~~~~~~~~~~~~~~~^~~~    ~~~~
    
    Remove it so clang no longer warns.
    
    Link: https://github.com/ClangBuiltLinux/linux/issues/487
    Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

commit 3df7e8a77e8cac1daea3ad0842ed3fd2105f98f0
Author: Jeremy Sowden <jeremy@azazel.net>
Date:   Tue May 21 11:35:24 2019 +0100

    staging: kpc2000: removed superfluous NULL checks from device attribute call-backs.
    
    All the attribute show call-backs check whether pcard is NULL.  However,
    pci_set_drvdata(pdev, pcard) is called before the sysfs files are
    created during probe, and pci_set_drvdata(pdev, NULL) is not called
    until after they are destroyed during remove; therefore, pcard will not
    be NULL, and we can drop the checks.
    
    Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

commit e416dad158f289ef2af48bf21fca53acc3935353
Author: Jeremy Sowden <jeremy@azazel.net>
Date:   Tue May 21 11:35:23 2019 +0100

    staging: kpc2000: simplified kp2000_device retrieval in device attribute call-backs.
    
    All the call-backs used the same formula to retrieve the pcard from dev:
    
      struct pci_dev *pdev = to_pci_dev(dev);
      struct kp2000_device *pcard;
    
      if (!pdev)
        return NULL;
    
      pcard = pci_get_drvdata(pdev);
    
    Since to_pci_dev is a wrapper for container_of, it will not return NULL,
    and since pci_get_drvdata just calls dev_get_drvdata on the dev member
    of pdev, this is equivalent to:
    
      struct kp2000_device *pcard = dev_get_drvdata(&(container_of(dev, struct pci_dev, dev)->dev));
    
    and we can simplify it to:
    
      struct kp2000_device *pcard = dev_get_drvdata(dev);
    
    Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

commit f731540813474de5d371d650ef00443aa7811b92
Author: Jeremy Sowden <jeremy@azazel.net>
Date:   Tue May 21 11:35:22 2019 +0100

    staging: kpc2000: use IDA to assign card numbers.
    
    Previously the next card number was assigned from a static int local
    variable.  Replaced it with an IDA.  Avoids the assignment of ever-
    increasing card-numbers by allowing them to be reused.
    
    Updated TODO.
    
    Corrected format-specifier for unsigned pcard->card_num.
    
    Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

commit 80bcd6cc3966229f030c9903976245543208f446
Author: Jeremy Sowden <jeremy@azazel.net>
Date:   Tue May 21 11:35:21 2019 +0100

    staging: kpc2000: added separate show functions for readable kp device attributes, defined them as read-only, and declared them static.
    
    Defined separate simple show functions for each attribute instead of
    having a one big one containing a chain of conditionals.
    
    Replaced calls to scnprintf with sprintf since all the outputs are
    single integers.
    
    All the readable device attributes are read-only, so used DEVICE_ATTR_RO
    to define them.
    
    The definitions are only used to populate the kp_attr_list attribute
    array, so declared them as static.
    
    Fixes the following sparse warnings:
    
      drivers/staging/kpc2000/kpc2000/core.c:152:1: warning: symbol 'dev_attr_ssid' was not declared. Should it be static?
      drivers/staging/kpc2000/kpc2000/core.c:153:1: warning: symbol 'dev_attr_ddna' was not declared. Should it be static?
      drivers/staging/kpc2000/kpc2000/core.c:154:1: warning: symbol 'dev_attr_card_id' was not declared. Should it be static?
      drivers/staging/kpc2000/kpc2000/core.c:155:1: warning: symbol 'dev_attr_hw_rev' was not declared. Should it be static?
      drivers/staging/kpc2000/kpc2000/core.c:156:1: warning: symbol 'dev_attr_build' was not declared. Should it be static?
      drivers/staging/kpc2000/kpc2000/core.c:157:1: warning: symbol 'dev_attr_build_date' was not declared. Should it be static?
      drivers/staging/kpc2000/kpc2000/core.c:158:1: warning: symbol 'd…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-Wpointer-bool-conversion [BUG] linux-next This is an issue only seen in linux-next [FIXED][LINUX] development cycle This bug was only present and fixed in a -next or -rc cycle
Projects
None yet
Development

No branches or pull requests

1 participant