Commit 3ca8fba
committed
Revert "kobject: Remove redundant checks for whether ktype is NULL"
This reverts commit 1b28cb8.
It is reported to cause problems, so revert it for now until the root
cause can be found.
Reported-by: kernel test robot <oliver.sang@intel.com>
Fixes: 1b28cb8 ("kobject: Remove redundant checks for whether ktype is NULL")
Cc: Zhen Lei <thunder.leizhen@huawei.com>
Closes: https://lore.kernel.org/oe-lkp/202402071403.e302e33a-oliver.sang@intel.com
Link: https://lore.kernel.org/r/2024020849-consensus-length-6264@gregkh
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 6e7ad1a commit 3ca8fba
1 file changed
+14
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
| |||
589 | 591 | | |
590 | 592 | | |
591 | 593 | | |
592 | | - | |
| 594 | + | |
| 595 | + | |
593 | 596 | | |
594 | 597 | | |
595 | 598 | | |
| |||
666 | 669 | | |
667 | 670 | | |
668 | 671 | | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
669 | 676 | | |
670 | 677 | | |
671 | 678 | | |
| |||
676 | 683 | | |
677 | 684 | | |
678 | 685 | | |
679 | | - | |
| 686 | + | |
680 | 687 | | |
681 | 688 | | |
682 | 689 | | |
683 | | - | |
684 | | - | |
685 | | - | |
686 | 690 | | |
687 | 691 | | |
688 | 692 | | |
| |||
1056 | 1060 | | |
1057 | 1061 | | |
1058 | 1062 | | |
1059 | | - | |
| 1063 | + | |
1060 | 1064 | | |
1061 | 1065 | | |
1062 | 1066 | | |
| |||
0 commit comments